Commit af82034c by peiqiQQQ

添加字典属性:去掉长度,保存时固定500

1 parent eee64886
Showing with 7 additions and 6 deletions
...@@ -479,11 +479,11 @@ ...@@ -479,11 +479,11 @@
label="排序" label="排序"
align="center" align="center"
></el-table-column> ></el-table-column>
<el-table-column <!-- <el-table-column
prop="contentLength" prop="contentLength"
label="长度" label="长度"
align="center" align="center"
></el-table-column> ></el-table-column> -->
<el-table-column <el-table-column
prop="controlType" prop="controlType"
label="控件" label="控件"
...@@ -571,13 +571,13 @@ ...@@ -571,13 +571,13 @@
:min="0" :min="0"
></el-input-number> ></el-input-number>
</el-form-item> </el-form-item>
<el-form-item label="长度:" prop="let4"> <!-- <el-form-item label="长度:" prop="let4">
<el-input-number <el-input-number
style="width: 200px" style="width: 200px"
v-model="ruleForm2.let4" v-model="ruleForm2.let4"
:min="0" :min="0"
></el-input-number> ></el-input-number>
</el-form-item> </el-form-item> -->
<el-form-item label="是否可以展示:" prop="let5"> <el-form-item label="是否可以展示:" prop="let5">
<el-radio-group v-model="ruleForm2.let5"> <el-radio-group v-model="ruleForm2.let5">
<el-radio label="是"></el-radio> <el-radio label="是"></el-radio>
...@@ -923,7 +923,7 @@ export default { ...@@ -923,7 +923,7 @@ export default {
this.ruleForm2.let1 = row.fieldName this.ruleForm2.let1 = row.fieldName
this.ruleForm2.let2 = row.cnName this.ruleForm2.let2 = row.cnName
this.ruleForm2.let3 = row.displayOrder this.ruleForm2.let3 = row.displayOrder
this.ruleForm2.let4 = row.contentLength // this.ruleForm2.let4 = row.contentLength
this.ruleForm2.let5 = row.notNull == '0' ? '是' : '否' this.ruleForm2.let5 = row.notNull == '0' ? '是' : '否'
this.ruleForm2.let6 = row.isShow == '0' ? '显示' : '不显示' this.ruleForm2.let6 = row.isShow == '0' ? '显示' : '不显示'
this.ruleForm2.let7 = String(row.controlType) this.ruleForm2.let7 = String(row.controlType)
...@@ -1054,7 +1054,8 @@ export default { ...@@ -1054,7 +1054,8 @@ export default {
fieldName: this.ruleForm2.let1, fieldName: this.ruleForm2.let1,
cnName: this.ruleForm2.let2, cnName: this.ruleForm2.let2,
displayOrder: this.ruleForm2.let3, displayOrder: this.ruleForm2.let3,
contentLength: this.ruleForm2.let4, // contentLength: this.ruleForm2.let4,
contentLength: 500,
controlType: this.ruleForm2.let7, controlType: this.ruleForm2.let7,
type: 1, type: 1,
typeId: this.elementId, typeId: this.elementId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!