Commit 860d9cf6 by liushikai

待经办调整

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