Commit d47db670 by SunJie

去掉弹出回填

parent e81589b0
...@@ -5,29 +5,10 @@ export default { ...@@ -5,29 +5,10 @@ export default {
let rtnmsg = await Api.post("ditopn/executeRule/ditp.butgetref", Utils.getRequestDataFn.call(this)) let rtnmsg = await Api.post("ditopn/executeRule/ditp.butgetref", Utils.getRequestDataFn.call(this))
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
const ownref = rtnmsg.data.didgrp_rec_ownref this.model.didgrp.rec.ownref=rtnmsg.data.didgrp_rec_ownref
this.$message({
const h = this.$createElement; type: 'success',
this.$msgbox({ message: '获取成功!'
title: '获取结果',
message: h('p', null, [
h('div', { style: 'margin-left: 25%'}, `参考号:${ownref}`),
h('div', { style: 'margin-left: 25%' }, '是否将结果填入表单?')
]),
showCancelButton: true,
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(action => {
this.model.didgrp.rec.ownref = ownref
this.$message({
type: 'success',
message: '填入成功!'
});
}).catch(action => {
this.$message({
type: 'info',
message: "已取消"
})
}); });
} }
else { else {
......
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