import Api from '../../../../service/Api'; import commonFunctions from '../../../../mixin/commonFunctions.js'; export default { mixins: [commonFunctions], methods: { initDoctre (requestParams) { this.model.trnmod.buildParams = requestParams; this.processDoctre() }, async processDoctre() { const loading = this.loading('正在请求数据'); let rtnmsg = await Api.post(`/business/${this.trnName}/assertDoctre`, this.model); if (rtnmsg.respCode === SUCCESS) { this.$set(this.model, 'shwinc', rtnmsg.data.shwinc || []); this.$set(this.model, 'shwout', rtnmsg.data.shwout || []); } loading.close(); }, }, };