Commit 1263ee26 by 潘际乾

release点击

parent c3644195
......@@ -131,16 +131,21 @@ export default {
})
},
onRelrow() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
const that = this
that.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/relrow", Utils.flatObject(this.model))
that.model.trncorco.selinr = {
"rows": that.multipleSelection.map(idx => that.model.trncorco.trnstm.rows[idx])
}
const data = Utils.flatObject(this.model)
let rtnmsg = await Api.post("/trnrel/executeRule/relrow", data)
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
console.log(res)
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
that.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
......@@ -214,6 +219,7 @@ export default {
}
})
},
onRecpanDet() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
......
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