|
|
@@ -163,10 +163,10 @@ function onCancel() {
|
|
|
// 返回列表页
|
|
|
function goBack() {
|
|
|
if (settingsStore.settings.tabbar.enable && settingsStore.settings.tabbar.mergeTabsBy !== 'activeMenu') {
|
|
|
- tabbar.close({ name: 'model' })
|
|
|
+ tabbar.close({ name: 'biz_object_index' })
|
|
|
}
|
|
|
else {
|
|
|
- router.push({ name: 'model' })
|
|
|
+ router.push({ name: 'biz_object_index' })
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
@@ -292,18 +292,26 @@ function goBack() {
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column label="长度" width="90">
|
|
|
+ <el-table-column label="长度" width="130">
|
|
|
<template #default="scope">
|
|
|
- <el-input v-model="scope.row.attrLength" />
|
|
|
+ <el-input-number
|
|
|
+ v-model="scope.row.attrLength" style="width:100px"
|
|
|
+ :min="0"
|
|
|
+ controls-position="right"
|
|
|
+ size="large"
|
|
|
+ />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
- <el-table-column label="小数位数" width="90">
|
|
|
+ <el-table-column label="长度" width="130">
|
|
|
<template #default="scope">
|
|
|
- <el-input v-model="scope.row.attrDecimals" />
|
|
|
+ <el-input-number
|
|
|
+ v-model="scope.row.attrDecimals" style="width:100px"
|
|
|
+ :min="0"
|
|
|
+ controls-position="right"
|
|
|
+ size="large"
|
|
|
+ />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
<el-table-column label="是否为空" width="90">
|
|
|
<template #default="scope">
|
|
|
<el-checkbox v-model="scope.row.isNotNull" :true-label="1" :false-label="0">
|