|
@@ -135,8 +135,9 @@ export default {
|
|
|
components: { uGantt },
|
|
|
data () {
|
|
|
return {
|
|
|
+ // realityBgIncomplete:实际进行中的进度条颜色,realityBgCompleted:实际已完成的进度条颜色
|
|
|
uStyle: {
|
|
|
- ganttHeight: 40,planHeight: 26,planBg:'#44c2e5',realityHeight: 1,realityBg:'#e5de44',top: 2,
|
|
|
+ ganttHeight: 40,planHeight: 26,planBg:'#44c2e5',realityHeight: 1,realityBgIncomplete:'#FFC886',realityBgCompleted:'#B1D5AC',top: 2,
|
|
|
},
|
|
|
// width:每列宽度--现在逻辑全部默认显示左边table,右边滚动
|
|
|
// fixed:现在没有,如果需要一部分固定,一部分滚动,则需要重新设置一下组件
|
|
@@ -407,7 +408,9 @@ export default {
|
|
|
sampleModelSpecification: res.sampleModelSpecification,
|
|
|
|
|
|
|
|
|
- task_text: res.deviceName+','+res.pm
|
|
|
+ task_text: res.deviceName+','+res.pm,
|
|
|
+
|
|
|
+ jhpqStatus: res.jhpqStatus
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -468,8 +471,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 双击事件
|
|
|
- rowDblclick(current){
|
|
|
- console.log(current)
|
|
|
+ rowDblclick(current, a){
|
|
|
+ console.log(current, a)
|
|
|
if (current.status == 0 || current.status == null) {
|
|
|
this.status = 0
|
|
|
} else {
|