feat: There is no way the, 56561 查看流程数据:标准征求意见 文本状态显示错误

This commit is contained in:
396572590@qq.com
2022-07-26 16:14:15 +08:00
parent b14934a7b6
commit 51be1036bc
@@ -374,6 +374,7 @@
</div>
</el-upload>
</el-dialog>
<loading :loading="ccc">加载数据</loading>
</div>
</template>
@@ -400,6 +401,7 @@ export default {
},
activeNames: '1',
bpnId: '',
ccc:false,
fileUrl: 'api/att/attFile/uploadNew',
fileMadel: false,
OCRoptions: [],
@@ -520,6 +522,7 @@ export default {
},
methods: {
getTaskId() {
this.ccc = true
queryTaskFirst({
bpnId: this.$route.query.bpnId
}).then(res => {
@@ -527,6 +530,7 @@ export default {
this.form = JSON.parse(JSON.stringify(mes.form))
this.roleForm = mes.roleForm
this.commentText = mes.commentText
this.getFileTypeHGAsync(this.form.standId)
})
},
filesUpload (file) { // 下载
@@ -762,6 +766,23 @@ export default {
this.$message.warning("请选择一条数据进行带入");
}
},
async getFileTypeHGAsync(standId){
let res = await this.getFileTypeHG(standId)
if(res && res.data){
this.textTypeList = res.data
this.ccc = false
}
},
getFileTypeHG(standId) {
return new Promise((resolve, reject) => {
this.$http.get('SarStandItems/sar-stand-items/getFileTypeHG', {standId: standId}, {
_this: this
}, res => {
const history = res;
resolve(history)
})
})
},
/*** **********************************************/
/** 流程节点负责人的选择 *****************************/
checkedRole2(data) {