Commit d2607a36 by liushikai

修改

parent 1d42d94d
...@@ -110,6 +110,13 @@ export default { ...@@ -110,6 +110,13 @@ export default {
const res = await this.executeDefault("sptstm") const res = await this.executeDefault("sptstm")
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.stmData.data = res.data.sptstm.rows; this.stmData.data = res.data.sptstm.rows;
if(res.data.sptstm.rows.length == 0){
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
}, },
async sptfndHandleReset() { async sptfndHandleReset() {
...@@ -139,6 +146,13 @@ export default { ...@@ -139,6 +146,13 @@ export default {
// }) // })
const res = await this.executeDefault("sptstm") const res = await this.executeDefault("sptstm")
this.stmData.data = res.data.sptstm.rows; this.stmData.data = res.data.sptstm.rows;
if(res.data.sptstm.rows.length == 0){
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
} }
} }
\ No newline at end of file
...@@ -332,15 +332,22 @@ export default { ...@@ -332,15 +332,22 @@ export default {
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows; // that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// }) // })
// } else { // } else {
that.executeRule("searow").then(res => { // that.executeRule("searow").then(res => {
//TODO 处理数据逻辑 // //TODO 处理数据逻辑
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
})
// }
// const res = await this.executeDefault("searow")
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows; // that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm; // 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;
if(res.data.trncorco_trnstm.rows.length == 0){
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
}, },
async handleReset() { async handleReset() {
......
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
fixed="right" fixed="right"
prop="display" prop="display"
label="操作" label="操作"
width="250px" width="260px"
> >
<template> <template>
<c-button style="margin-left: 0" size="small" type="primary"> <c-button style="margin-left: 0" size="small" type="primary">
...@@ -457,10 +457,10 @@ export default { ...@@ -457,10 +457,10 @@ export default {
}, },
stmData: { stmData: {
columns: [ columns: [
'1 1 "提示日期" 0', '1 1 "提示日期" 100px',
'2 2 "提示原因" 0', '2 2 "提示原因" 0',
'3 3 "业务编号" 0', '3 3 "业务编号" 0',
'4 4 "提示信息" 0', '4 4 "提示信息" 250px',
'5 5 "待操作交易代码" 0', '5 5 "待操作交易代码" 0',
'6 6 "经办柜员" 0', '6 6 "经办柜员" 0',
'7 7 "所属工作组" 0', '7 7 "所属工作组" 0',
......
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