Commit 044a003c by liushikai

任务列表添加标记

parent 860d9cf6
......@@ -133,10 +133,12 @@ export default {
},
async sptfndHandleSearch() {
this.model.chkpen = "t";
this.executeDefault("sptstm").then(res => {
//TODO 处理数据逻辑
this.stmData.data = res.data.sptstm.rows;
})
// this.executeDefault("sptstm").then(res => {
// //TODO 处理数据逻辑
// this.stmData.data = res.data.sptstm.rows;
// })
const res = await this.executeDefault("sptstm")
this.stmData.data = res.data.sptstm.rows;
}
}
\ No newline at end of file
......@@ -338,6 +338,9 @@ export default {
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
})
// }
// const res = await this.executeDefault("searow")
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
},
async handleReset() {
......
......@@ -398,7 +398,10 @@ export default {
},
};
},
mounted() {},
async mounted() {
await this.sptfndHandleSearch()
this.$store.commit("setTaskList", {key: "sptbrk", val: this.stmData.data.length})
},
computed: {
chkinc: {
get() {
......
......@@ -560,7 +560,7 @@ export default {
...Event,
},
created: function () {},
mounted() {
async mounted() {
this.relflgCodes = [
{ label: "Correct", value: "C" },
......@@ -571,6 +571,8 @@ export default {
{ label: "Rejected", value: "N" },
{ label: "Waiting", value: "W" },
];
await this.handleSearch()
this.$store.commit("setTaskList", {key: "trnrel", val: this.stmData.data.length})
},
computed: {},
......
......@@ -5,11 +5,15 @@
<!-- <c-table :columnsConfig="tableColumns" :list="tableData"></c-table> -->
<span slot="label">
待经办列表
<el-badge v-if="$store.state.Status.taskList.sptsel" :value="$store.state.Status.taskList.sptsel" :max="99"/>
<el-badge v-if="$store.state.Status.taskList.sptsel>0" :value="$store.state.Status.taskList.sptsel" :max="99"/>
</span>
<t-sptsel />
</el-tab-pane>
<el-tab-pane label="待复核列表" name="trnrel">
<span slot="label">
待复核列表
<el-badge v-if="$store.state.Status.taskList.trnrel>0" :value="$store.state.Status.taskList.trnrel" :max="99"/>
</span>
<t-trnrel />
</el-tab-pane>
<el-tab-pane label="已完成列表" name="trnfnd">
......@@ -19,6 +23,10 @@
<t-bopsel />
</el-tab-pane>
<el-tab-pane label="草稿箱" name="sptbrk">
<span slot="label">
草稿箱
<el-badge v-if="$store.state.Status.taskList.sptbrk>0" :value="$store.state.Status.taskList.sptbrk" :max="99"/>
</span>
<t-sptbrk />
</el-tab-pane>
<el-tab-pane label="到期提示" name="diasel">
......
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