|
@@ -26,7 +26,7 @@
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="getHjlist">搜索</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- <uGantt :configColumns="configColumns" :taskLists="taskLists" ref="uGantt" @dbclick="rowDblclick">
|
|
|
+ <uGantt :configColumns="configColumns" :taskLists="taskLists" ref="uGantt" @dbclick="rowDblclick" :uStyle="uStyle" hasReality>
|
|
|
<!-- 其他需要自定义的弹窗数据 -->
|
|
|
<!-- 双击事件弹窗 -->
|
|
|
<el-dialog :title="title" :visible.sync="dialogVisible" width="35%">
|
|
@@ -102,6 +102,9 @@ export default {
|
|
|
components: { uGantt },
|
|
|
data () {
|
|
|
return {
|
|
|
+ uStyle: {
|
|
|
+ ganttHeight: 40,planHeight: 26,planBg:'#44c2e5',realityHeight: 1,realityBg:'#e5de44',
|
|
|
+ },
|
|
|
// width:每列宽度--现在逻辑全部默认显示左边table,右边滚动
|
|
|
// fixed:现在没有,如果需要一部分固定,一部分滚动,则需要重新设置一下组件
|
|
|
// resize:暂时没用
|
|
@@ -257,6 +260,7 @@ export default {
|
|
|
this.getManagerList()
|
|
|
},
|
|
|
mounted () {
|
|
|
+ this.$refs.uGantt.uStyle.realityBg = '#ccc'
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取委托单位下拉列表
|
|
@@ -319,6 +323,8 @@ export default {
|
|
|
// text:res.reportNo,
|
|
|
start_date: res.jihuaStartDate,
|
|
|
end_date: res.jihuaEndDate,
|
|
|
+ reality_startDate: res.shijiStartDate,
|
|
|
+ reality_endDate: res.shijiEndDate,
|
|
|
weituoNo: res.weituoNo,
|
|
|
lastTime: res.lastTime,
|
|
|
sampleName: res.sampleName,
|