Commit 860d9cf6 by liushikai

待经办调整

parent e7b5c233
......@@ -107,10 +107,9 @@ export default {
this.model[s.value] = 't';
})
}
this.executeDefault("sptstm").then(res => {
const res = await this.executeDefault("sptstm")
//TODO 处理数据逻辑
this.stmData.data = res.data.sptstm.rows;
})
},
async sptfndHandleReset() {
......
......@@ -411,7 +411,7 @@ export default {
},
};
},
mounted() {
async mounted() {
this.sourceData = [
{ label: "Incoming", value: "chkinc" },
......@@ -424,6 +424,8 @@ export default {
{ label: "归档", value: "chkcan" },
{ label: "云平台", value: "chkypt" },
];
await this.handleSearch()
this.$store.commit("setTaskList", {key: "sptsel", val: this.stmData.data.length})
},
methods: {
sourceChangeEvent(val) {
......
......@@ -56,7 +56,6 @@ export default {
mounted:async function(){
console.log("进入sptsel交易");
const that = this;
this.$store.commit("setTaskList", {key: "sptsel", val: 20})
that.init(that.model).then(res => {
//TODO 处理数据逻辑
that.model = Utils.copyValueFromVO(that.model, res.data)
......
......@@ -5,7 +5,7 @@
<!-- <c-table :columnsConfig="tableColumns" :list="tableData"></c-table> -->
<span slot="label">
待经办列表
<el-badge :value="$store.state.Status.taskList.sptsel" :max="99"/>
<el-badge v-if="$store.state.Status.taskList.sptsel" :value="$store.state.Status.taskList.sptsel" :max="99"/>
</span>
<t-sptsel />
</el-tab-pane>
......
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