|
|
|
|
@ -78,6 +78,7 @@
|
|
|
|
|
width="55"
|
|
|
|
|
align="center"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column label="序号" align="center" prop="id" />
|
|
|
|
|
<el-table-column label="升序排序" align="center" prop="sortNo" />
|
|
|
|
|
<el-table-column label="仪器ID" align="center" prop="id" />
|
|
|
|
|
<el-table-column label="仪器类型" align="center" prop="type">
|
|
|
|
|
@ -1866,6 +1867,28 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|
submitForm() {
|
|
|
|
|
// 初次护理弹窗检验
|
|
|
|
|
for (let i = 0; i < this.nurseList.length; i++) {
|
|
|
|
|
if(this.nurseList[i].file == '') {
|
|
|
|
|
this.$modal.msgError('请上传初次护理弹窗提示视频或图片');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if(this.nurseList[i].message == '') {
|
|
|
|
|
this.$modal.msgError('请上传初次护理规则提示内容');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// 仪器介绍校验
|
|
|
|
|
for (let i = 0; i < this.introduceList.length; i++) {
|
|
|
|
|
if(this.introduceList[i].file == '') {
|
|
|
|
|
this.$modal.msgError('请上传仪器介绍弹窗提示视频或图片');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if(this.introduceList[i].message == '') {
|
|
|
|
|
this.$modal.msgError('请上传仪器介绍规则提示内容');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.form.nurseList = this.nurseList
|
|
|
|
|
this.form.introduceList = this.introduceList
|
|
|
|
|
this.$refs['form'].validate((valid) => {
|
|
|
|
|
|