Browse Source

优化

master
陈裕财 2 years ago
parent
commit
5d0c14c52f
  1. 7
      src/views/mdp/lcode/formDef/Index.vue

7
src/views/mdp/lcode/formDef/Index.vue

@ -117,11 +117,6 @@
<mdp-input show-style="tag" v-model="scope.row.tableOwner" :maxlength="20" @change="editSomeFields(scope.row,'tableOwner',$event)" :disabled="!editable || disabledJudge('tableOwner')"/>
</template>
</el-table-column>
<el-table-column prop="isCreateTable" label="是否已经创建库表" min-width="120" show-overflow-tooltip col-type="String" v-if="showCol('isCreateTable')">
<template slot-scope="scope">
<mdp-input show-style="tag" v-model="scope.row.isCreateTable" :maxlength="1" @change="editSomeFields(scope.row,'isCreateTable',$event)" :disabled="!editable || disabledJudge('isCreateTable')"/>
</template>
</el-table-column>
<el-table-column prop="pks" label="主键列表" min-width="120" show-overflow-tooltip col-type="String" v-if="showCol('pks')">
<template slot-scope="scope">
<mdp-input show-style="tag" v-model="scope.row.pks" :maxlength="255" @change="editSomeFields(scope.row,'pks',$event)" :disabled="!editable || disabledJudge('pks')"/>
@ -136,7 +131,7 @@
<el-button :disabled="disabledJudge('editBtn') || !checkBtnQx('editBtn',menuDefId) || !checkFormDefQx(scope.row,'editBtn') " type="primary" @click="toDesign(scope.row)" icon="el-icon-edit" title="修改一条数据">设计</el-button>
<el-button :disabled="disabledJudge('delBtn') || !checkBtnQx('delBtn',menuDefId) || !checkFormDefQx(scope.row,'editBtn') " type="danger" @click="handleDel2(scope.row,scope.$index)" icon="el-icon-delete" title="删除一条数据"/>
<el-button :disabled="disabledJudge('editBtn') || !checkBtnQx('editBtn',menuDefId) || !checkFormDefQx(scope.row,'editBtn') " @click="$refs['formQxDialog'].open({formData:scope.row})">权限</el-button>
<el-button v-if="!scope.row.dataType||scope.row.dataType=='1'" @click="openRoute({formId:scope.row.id,title:scope.row.formName})">数据</el-button>
<el-button @click="openRoute({formId:scope.row.id,title:scope.row.formName})">数据</el-button>
</template>

Loading…
Cancel
Save