Browse Source

优化

shibei_master
zhaoyongnian 3 years ago
parent
commit
bf82b11c1f
  1. 8
      src/views/modules/workSys/pointAditive/rule.vue

8
src/views/modules/workSys/pointAditive/rule.vue

@ -11,10 +11,10 @@
<el-table :data="tableData" <el-table :data="tableData"
row-key="id" row-key="id"
v-loading="tableLoading" v-loading="tableLoading"
border
:height="tableHeight" :height="tableHeight"
style="width: 100%" style="width: 100%"
class="resi-table"> class="resi-table"
border>
<el-table-column v-for="item in tableHeader" <el-table-column v-for="item in tableHeader"
:key="item.columnName" :key="item.columnName"
:prop="item.columnName" :prop="item.columnName"
@ -182,6 +182,10 @@ export default {
methods: { methods: {
// //
handleAdd (type, addType, id, pid, categoryName) { handleAdd (type, addType, id, pid, categoryName) {
if (type === '1') {
this.form.pid = ''
this.form.categoryName = ''
}
this.addLevel = type this.addLevel = type
this.addType = addType this.addType = addType
if (type == '2') { if (type == '2') {

Loading…
Cancel
Save