Commit 091f4eb2 by panziyi

gitopn修改

parent 4e374133
......@@ -16,6 +16,7 @@
:model="model.gidgrp.blk.gidtxt"
maxlength="65"
show-word-limit
@change="setTxt1"
placeholder="请输入保函文本可变因素"
></i-stream-input>
</el-form-item>
......@@ -30,6 +31,7 @@
rows="15"
maxlength="65"
show-word-limit
@change="setTxt2"
placeholder="请输入保函文本可变因素"
></i-stream-input>
</el-form-item>
......@@ -41,6 +43,7 @@
v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
class="checkbox-left"
@change="modflgChange"
>修改保函文本</c-checkbox
>
</c-col>
......@@ -139,7 +142,38 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: {async setTxt1(){
// this.executeDefault("gitp.gidgrp.blk.gidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
async setTxt2(){
// this.executeDefault("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
...Event ,
async modflgChange() {
const rtnmsg = await this.executeRule("gitp.gidtxtmodflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},},
created: function () {},
};
</script>
......
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