| | |
| | | :index="item[pathKey]"> |
| | | <template slot="title"> |
| | | <div style="display: flex"> |
| | | <icon-show :name="item[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show> |
| | | <icon-show v-if="item[iconKey]" :name="item[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show> |
| | | <div v-else> |
| | | <i class="el-icon-setting" :font-size="iconSize"></i> |
| | | </div> |
| | | <span slot="title" |
| | | :class="{'el-menu--display':collapse && first}">{{ generateTitle(item) }}</span> |
| | | </div> |
| | |
| | | column: [ |
| | | { |
| | | label: '用户名', |
| | | prop: 'truename', |
| | | prop: 'username', |
| | | search: true, |
| | | searchSpan: 4, |
| | | searchLabel: '操作用户', |
| | | type: 'select', |
| | | dicUrl: '/api/loginBasicController/getOperatingUsers', |
| | | sortable: true, |
| | | width: 150 |
| | | width: 200 |
| | | }, { |
| | | label: '姓名', |
| | | prop: 'username', |
| | | prop: 'truename', |
| | | sortable: true, |
| | | width: 150 |
| | | }, { |
| | |
| | | identify: this.form.code, |
| | | alias: this.form.alias, |
| | | desc: this.form.remark, |
| | | seq: this.form.sort |
| | | seq: this.form.sort, |
| | | source: this.form.source, |
| | | } |
| | | addOperationType(params).then(res => { |
| | | if (res.data.code === 200) { |
| | |
| | | identify: this.form.code, |
| | | alias: this.form.alias, |
| | | desc: this.form.remark, |
| | | seq: this.form.sort |
| | | seq: this.form.sort, |
| | | source: this.form.source, |
| | | } |
| | | updateOperationType(params).then(res => { |
| | | if (res.data.code === 200) { |