| | |
| | | min-width="100" |
| | | prop="tab" |
| | | :label=" |
| | | $t('dataManage.dictionaryManageObj.rangeAssociationTable') |
| | | $t('dataManage.dictionaryManageObj.tableName') |
| | | " |
| | | /> |
| | | <el-table-column |
| | |
| | | v-model="insertform.orderNum" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuenumber')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuenumber')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | |
| | | v-model="insertform.tab" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetableName')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetableName')" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | |
| | | v-model="insertform.field" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuefieldName')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuefieldName')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | |
| | | v-model="insertform.alias" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuefieldDisplayName')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuefieldDisplayName')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | |
| | | v-model="insertform.type" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuefieldType')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuefieldType')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | |
| | | v-model="insertform.len" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuefieldLength')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuefieldLength')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | |
| | | v-model="insertform.precision" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('dataManage.dictionaryManageObj.FieldPrecision')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('dataManage.dictionaryManageObj.FieldPrecision')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | |
| | | v-model="insertform.bak" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('dataManage.dictionaryManageObj.remark')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('dataManage.dictionaryManageObj.remark')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | if (res.children) { |
| | | return |
| | | } |
| | | this.insertform.tab = res.tab; |
| | | this.insertform.tabDesc = res.tabDesc; |
| | | this.insertform.ns = res.ns; |
| | | this.activeName = res.tab; |
| | | this.listData.tab = res.tab; |
| | | this.listData.ns = res.ns; |
| | | var val = JSON.parse(JSON.stringify(res)) |
| | | this.insertform.tab = val.tab; |
| | | this.insertform.tabDesc = val.tabDesc; |
| | | this.insertform.ns = val.ns; |
| | | this.activeName = val.tab; |
| | | this.listData.tab = val.tab; |
| | | this.listData.ns = val.ns; |
| | | this.startQueryNameData(); |
| | | }, |
| | | async startQueryNameData() { |
| | | if (this.listData.tab == "") { |
| | | delete this.listData.tab; |
| | | } |
| | | this.tableData = []; |
| | | const data = await selectByPageAndCount(this.listData); |
| | | |
| | | if (data.code != 200) { |
| | |
| | | return; |
| | | } |
| | | this.dialogFormVisible = false; |
| | | // this.startQueryNameData(); |
| | | this.startQueryNameData(); |
| | | }, |
| | | //修改详情弹框 |
| | | handleEdit(index, row) { |
| | | this.dialogFormVisible = true; |
| | | this.upform = row; |
| | | var val = JSON.parse(JSON.stringify(row)) |
| | | this.upform = val; |
| | | }, |
| | | //删除列表 |
| | | DelFormData() { |
| | |
| | | var y = time.getFullYear(); |
| | | var m = time.getMonth() + 1; |
| | | var d = time.getDate(); |
| | | var h = time.getHours(); |
| | | var mm = time.getMvinutes(); |
| | | var s = time.getSeconds(); |
| | | // var h = time.getHours(); |
| | | // var mm = time.getMvinutes(); |
| | | // var s = time.getSeconds(); |
| | | return y + "-" + this.add0(m) + "-" + this.add0(d); |
| | | }, |
| | | //格式化时间 |
| | |
| | | this.$confirm("关闭后无法保存,是否关闭?") |
| | | .then((_) => { |
| | | this.InsertFormdialog = false |
| | | this.insertform = {}; |
| | | }) |
| | | .catch((_) => { }); |
| | | }, |