|
@ -20,38 +20,47 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="isColumnLength" label="字段长度" min-width="85" /> |
|
|
<el-table-column prop="isColumnLength" label="字段长度" min-width="85" /> |
|
|
<el-table-column prop="isColumnLength" label="著录形式" min-width="85" /> |
|
|
|
|
|
<el-table-column prop="isColumnLength" label="对应字典" min-width="85" /> |
|
|
|
|
|
<el-table-column prop="isColumnLength" label="显示长度" min-width="85" /> |
|
|
|
|
|
<el-table-column label="显示一整行" min-width="110"> |
|
|
|
|
|
|
|
|
<el-table-column label="著录形式" min-width="85"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-checkbox v-model="scope.row.isDefaultValue" :disabled="true" /> |
|
|
|
|
|
|
|
|
<span v-if="scope.row.isInputClass === 'select'">下拉框</span> |
|
|
|
|
|
<span v-if="scope.row.isInputClass === 'text'">文本框</span> |
|
|
|
|
|
<span v-if="scope.row.isInputClass === 'date'">日期框</span> |
|
|
|
|
|
<span v-if="scope.row.isInputClass === 'number'">数字框</span> |
|
|
|
|
|
<span v-if="scope.row.isInputClass === 'popover'">弹出框</span> |
|
|
|
|
|
<span v-if="scope.row.isInputClass === 'textarea'">文本域</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="输入字段" min-width="85"> |
|
|
|
|
|
|
|
|
<el-table-column prop="sysDictionaryId" label="对应字典" min-width="85" /> |
|
|
|
|
|
<el-table-column prop="editLength" label="显示长度" min-width="85" /> |
|
|
|
|
|
<el-table-column label="显示一整行" min-width="110" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-checkbox v-model="scope.row.isDefaultValue" :disabled="true" /> |
|
|
|
|
|
|
|
|
<el-checkbox v-model="scope.row.isLine" :disabled="true" /> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="必填字段" min-width="85"> |
|
|
|
|
|
|
|
|
<el-table-column label="输入字段" min-width="85" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-checkbox v-model="scope.row.isDefaultValue" :disabled="true" /> |
|
|
|
|
|
|
|
|
<el-checkbox v-model="scope.row.isInput" :disabled="true" /> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="自动生成" min-width="85"> |
|
|
|
|
|
|
|
|
<el-table-column label="必填字段" min-width="85" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-checkbox v-model="scope.row.isDefaultValue" :disabled="true" /> |
|
|
|
|
|
|
|
|
<el-checkbox v-model="scope.row.isRequired" :disabled="true" /> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="自动补零" min-width="85"> |
|
|
|
|
|
|
|
|
<el-table-column label="自动生成" min-width="85" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-checkbox v-model="scope.row.isDefaultValue" :disabled="true" /> |
|
|
|
|
|
|
|
|
<el-checkbox v-model="scope.row.isAuto" :disabled="true" /> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="isColumnLength" label="位数" min-width="55" /> |
|
|
|
|
|
<el-table-column label="值不重复" min-width="85"> |
|
|
|
|
|
|
|
|
<el-table-column label="自动补零" min-width="85" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-checkbox v-model="scope.row.isDefaultValue" :disabled="true" /> |
|
|
|
|
|
|
|
|
<el-checkbox v-model="scope.row.isFilling" :disabled="true" /> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="fillingDigit" label="位数" min-width="55" align="center" :formatter="digitFormatter" /> |
|
|
|
|
|
<el-table-column label="值不重复" min-width="85" align="center"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<el-checkbox v-model="scope.row.isNoRepetition" :disabled="true" /> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
@ -173,6 +182,9 @@ export default { |
|
|
handleClose(done) { |
|
|
handleClose(done) { |
|
|
this.deleteData = {} |
|
|
this.deleteData = {} |
|
|
done() |
|
|
done() |
|
|
|
|
|
}, |
|
|
|
|
|
digitFormatter(row, column, cellValue, index) { |
|
|
|
|
|
return cellValue || '-' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|