Commit 173e37d6 authored by zhanglongtao's avatar zhanglongtao

修改页面提交显示

parent 411856b4
......@@ -80,13 +80,13 @@
<Ellipsis :text="row.mesCode" :lines="1" tooltip transfer />
</Col>
<Col :span="4">
<div class="statuBg" :style="tdStyle(row.status)"></div>
<div class="statuBg" :style="tdStyle(row.subWorkHourStatus)"></div>
<div class="boxTitle">
<div class="text">
<state
code="taskList.status"
code="workHour.status"
ref="state"
:value="row.status"
:value="row.subWorkHourStatus"
type="text"
:color="false"
></state>
......@@ -225,11 +225,11 @@ export default {
align: "left",
},
{
key: "status",
title: this.l("status"),
key: "subWorkHourStatus",
title: "subWorkHourStatus",
align: "center",
high: true,
code: "taskList.status",
code: "workHour.status",
width: 120,
},
{
......@@ -360,7 +360,7 @@ export default {
},
tdStyle(val) {
//动态根据状态值加载状态值对应的颜色
let temDic = this.$store.getters.dictionaryByKey("taskList.status");
let temDic = this.$store.getters.dictionaryByKey("workHour.status");
let temColor = "#666";
temDic.forEach((data) => {
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