master
e 3 years ago
parent 6b9999eac7
commit 708a6e5252
  1. 2
      src/utils/api.js
  2. 30
      src/views/Transaction.vue

@ -13,7 +13,7 @@ if(isKd){
}else if(url.includes('10.196.131.73')){
host = 'http://10.196.131.73'; // 河海版
}else if (url.includes('124.71.12.62')) {
host = 'http://124.71.12.62'; // 巢湖版
host = 'http://124.71.12.62:9000'; // 巢湖版
} else if (url.includes('39.108.250.202')) {
host = 'http://39.108.250.202:9000'; // 中台测试服
} else if (url.includes('www.huorantech.cn')) {

@ -84,7 +84,7 @@
>
<el-table-column prop="indexNo" type="index" label="序号" width="80">
</el-table-column>
<el-table-column label="流程判分正确答案">
<el-table-column label="流程类考核点">
<template slot-scope="scope" v-if="scope.row.isSubject">
<p class="p">操作一致性规则用户完成的功能操作与下方设置的操作点一致</p>
<div class="tree-con">
@ -124,7 +124,7 @@
</el-button>
</template>
</el-table-column>
<el-table-column label="交易结果正确答案">
<el-table-column label="正确答案">
<template slot-scope="scope" v-if="scope.row.isSubject">
<p class="p" style="margin-top: 1px">交易结果一致性规则用户交易结果需要与下面设置的交易结果指标要求一致</p>
<div class="block">
@ -567,18 +567,20 @@ export default {
});
},
getSubjectData(subjectId, index) { //
this.$get(`${this.api.getSubjectInfo}?subject_id=${subjectId}`).then(res => {
if (res.status === 200) {
let item = {
...this.tableData[index],
...res.subject,
lcItems: res.items
};
this.$set(this.tableData, index, item);
}
}).catch(err => {
// console.log(err);
});
if(subjectId){
this.$get(`${this.api.getSubjectInfo}?subject_id=${subjectId}`).then(res => {
if (res.status === 200) {
let item = {
...this.tableData[index],
...res.subject,
lcItems: res.items
};
this.$set(this.tableData, index, item);
}
}).catch(err => {
// console.log(err);
});
}
},
handleCheckChange(data, checked, indeterminate, row, index) { //

Loading…
Cancel
Save