Python判分点保存按钮显示时删除按钮隐藏

银行判分点数据修改
master
e 3 years ago
parent 72f45e61e4
commit 1e44b63b0e
  1. 3
      src/utils/api.js
  2. 2
      src/views/Program.vue
  3. 8
      src/views/Transaction.vue

@ -20,7 +20,8 @@ if(isKd){
host = 'http://www.huorantech.cn:9000'; // 中台线上
} else {
console.log("本地-中台测试服");
host = 'http://39.108.250.202:9000';
host = 'http://39.108.250.202:9000'; //线上
// host = 'http://192.168.31.137:9000'; //赓
}
// host = 'http://192.168.31.137:9000' // 坤

@ -114,7 +114,7 @@
<el-button v-show="scope.row.isDisabled" size="mini" type="text" @click="handleEdit(scope.row)">编辑</el-button>
<el-button v-show="!scope.row.isDisabled" size="mini" type="text" @click="handleSave(scope.row)">保存</el-button>
<el-button v-show="!scope.row.isDisabled" size="mini" type="text" @click="handleCancel(scope.row, scope.$index)">取消</el-button>
<el-button size="mini" type="text" @click="handleDelete(scope.$index)">删除</el-button>
<el-button v-show="scope.row.isDisabled" size="mini" type="text" @click="handleDelete(scope.$index)">删除</el-button>
</template>
</el-table-column>
</el-table>

@ -146,7 +146,7 @@
style="width: 100%"
>
<el-option
v-for="(item, index) in scope.row.items"
v-for="(item, index) in scope.row.lcItems"
:key="index"
:label="item.options"
:value="item.itemId"
@ -172,7 +172,7 @@
style="width: 100%"
>
<el-option
v-for="(item, index) in scope.row.items"
v-for="(item, index) in scope.row.lcItems"
:key="index"
:label="item.options"
:value="item.subjectId"
@ -420,7 +420,7 @@ export default {
}
// id,
if (item.isSubject && item.type && item.type != 4 && item.emptyOne) {
await this.getSubjectData(item.emptyOne, index);
// await this.getSubjectData(item.emptyOne, index);
}
});
} else {
@ -571,7 +571,7 @@ export default {
let item = {
...this.tableData[index],
...res.subject,
items: res.items
lcItems: res.items
};
this.$set(this.tableData, index, item);
}

Loading…
Cancel
Save