Browse Source

优化

shibei_master
zhaoyongnian 3 years ago
parent
commit
a05e4225e4
  1. 3
      src/views/modules/plugins/power/poweraxis_add_leader.vue

3
src/views/modules/plugins/power/poweraxis_add_leader.vue

@ -6,7 +6,6 @@
:inline="true" :inline="true"
:model="dataForm" :model="dataForm"
:rules="dataRule" :rules="dataRule"
:disabled="formType === 'detail'"
class="form"> class="form">
<el-form-item label="类别" label-width="150px" v-if="structLevel || structLevel === 0"> <el-form-item label="类别" label-width="150px" v-if="structLevel || structLevel === 0">
<el-input class="item_width_1" :readonly="true" v-model="categoryName"></el-input> <el-input class="item_width_1" :readonly="true" v-model="categoryName"></el-input>
@ -53,7 +52,6 @@
<el-button size="small" <el-button size="small"
@click="handleCancle"> </el-button> @click="handleCancle"> </el-button>
<el-button size="small" <el-button size="small"
v-if="formType != 'detail'"
type="primary" type="primary"
:disabled="btnDisable" :disabled="btnDisable"
@click="dataFormSubmitHandle"> </el-button> @click="dataFormSubmitHandle"> </el-button>
@ -70,7 +68,6 @@ export default {
data () { data () {
return { return {
btnDisable: false, btnDisable: false,
formType: 'add', // addeditdetail
uploadUlr: window.SITE_CONFIG['apiURL'] + '/oss/file/uploadqrcodeV2', uploadUlr: window.SITE_CONFIG['apiURL'] + '/oss/file/uploadqrcodeV2',
dataForm: { dataForm: {
name: '', name: '',

Loading…
Cancel
Save