2020年12月30日

摘要: <div v-if="scope.row.isExpend == 'father'"> <el-button size="small" @click="handleConnectionSearch(scope.row)"> {{scope.row.expanded?'收起':'展开'}} </el- 阅读全文
posted @ 2020-12-30 11:54 娇娇呀 阅读(4006) 评论(0) 推荐(0) 编辑
 
摘要: 报错信息需要先置空,否则只会第一次报错,之后不显示报错信息 event.target.value 是实时获取的输入的内容 <el-form-item label="润滑点部件1层名称" prop="name" :error="errorMsgName"> <el-input size="small" 阅读全文
posted @ 2020-12-30 10:05 娇娇呀 阅读(1173) 评论(0) 推荐(0) 编辑
 
摘要: methods: columnStyle({ row, column, rowIndex, columnIndex }) { if (columnIndex == 4) { return "borderLeft:1px solid #EBEEF5;paddingLeft:10px;"; } }, / 阅读全文
posted @ 2020-12-30 09:50 娇娇呀 阅读(671) 评论(0) 推荐(0) 编辑
 
摘要: 需求是修改的话需要二次确认,如果点击取消,框内选项不变,select框不满足要求,而且需要选中的图片也填入框中,所以把下拉菜单修改了一下 <el-table-column label='数据可见性' > <template slot-scope="scope"> <el-dropdown trigg 阅读全文
posted @ 2020-12-30 09:47 娇娇呀 阅读(942) 评论(0) 推荐(0) 编辑
 
摘要: 正则验证 关于 姓名,年龄,邮箱,手机号,0-50的正整数,保留2位小数点 姓名: pattern:/^[\u4e00-\u9fa5]{2,6}$/,message: '请输入2~6位中文' 年龄: pattern:/^(?:[1-9][0-9]?|1[01][0-9]|120)$/ 邮箱: pat 阅读全文
posted @ 2020-12-30 09:36 娇娇呀 阅读(398) 评论(0) 推荐(0) 编辑
 
摘要: <div class="candidatesFirstFormDialog"> <div>符合全部以下条件,相应的指标数据在小程序端不显示且不会触发报警</div> <el-form :model="conditionsRulesForm" ref="addCondition" :rules="co 阅读全文
posted @ 2020-12-30 09:34 娇娇呀 阅读(5062) 评论(0) 推荐(0) 编辑
 
摘要: 阅读全文
posted @ 2020-12-30 09:30 娇娇呀 阅读(1056) 评论(0) 推荐(0) 编辑