Commit 173e37d6 authored by zhanglongtao's avatar zhanglongtao

修改页面提交显示

parent 411856b4
...@@ -80,13 +80,13 @@ ...@@ -80,13 +80,13 @@
<Ellipsis :text="row.mesCode" :lines="1" tooltip transfer /> <Ellipsis :text="row.mesCode" :lines="1" tooltip transfer />
</Col> </Col>
<Col :span="4"> <Col :span="4">
<div class="statuBg" :style="tdStyle(row.status)"></div> <div class="statuBg" :style="tdStyle(row.subWorkHourStatus)"></div>
<div class="boxTitle"> <div class="boxTitle">
<div class="text"> <div class="text">
<state <state
code="taskList.status" code="workHour.status"
ref="state" ref="state"
:value="row.status" :value="row.subWorkHourStatus"
type="text" type="text"
:color="false" :color="false"
></state> ></state>
...@@ -225,11 +225,11 @@ export default { ...@@ -225,11 +225,11 @@ export default {
align: "left", align: "left",
}, },
{ {
key: "status", key: "subWorkHourStatus",
title: this.l("status"), title: "subWorkHourStatus",
align: "center", align: "center",
high: true, high: true,
code: "taskList.status", code: "workHour.status",
width: 120, width: 120,
}, },
{ {
...@@ -360,7 +360,7 @@ export default { ...@@ -360,7 +360,7 @@ export default {
}, },
tdStyle(val) { tdStyle(val) {
//动态根据状态值加载状态值对应的颜色 //动态根据状态值加载状态值对应的颜色
let temDic = this.$store.getters.dictionaryByKey("taskList.status"); let temDic = this.$store.getters.dictionaryByKey("workHour.status");
let temColor = "#666"; let temColor = "#666";
temDic.forEach((data) => { temDic.forEach((data) => {
if (Number(data.code) == val) { if (Number(data.code) == val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment