Merge remote-tracking branch 'origin/jihan_0203_运营管理端功能开发' into jihan_0203_运营管理端功能开发
# Conflicts: # src/views/system/stationItem/stationItemjs.js
This commit is contained in:
commit
e4c0835817
@ -201,7 +201,7 @@
|
||||
:prop="`informationCategoryList.${index}.sort`"
|
||||
>
|
||||
<el-input
|
||||
v-model="item.sort"
|
||||
v-model.number="item.sort"
|
||||
maxlength="5"
|
||||
style="width: 200px"
|
||||
placeholder="请输入资讯分类排序"
|
||||
@ -263,7 +263,7 @@
|
||||
|
||||
<el-form-item label="资讯分类排序" prop="sort">
|
||||
<el-input
|
||||
v-model="form.sort"
|
||||
v-model.number="form.sort"
|
||||
placeholder="请输入分类排序"
|
||||
style="width: 250px"
|
||||
maxlength="5"
|
||||
@ -515,10 +515,7 @@ export default {
|
||||
this.getList();
|
||||
});
|
||||
} else {
|
||||
if(this.form.informationCategoryList[0].sort){
|
||||
this.form.informationCategoryList[0].sort=parseInt( this.form.informationCategoryList[0].sort)
|
||||
}
|
||||
|
||||
|
||||
addInformationCategory(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.addopen = false;
|
||||
|
||||
@ -156,7 +156,7 @@
|
||||
>
|
||||
<el-input
|
||||
style="width: 200px"
|
||||
v-model="item.classifySort"
|
||||
v-model.number="item.classifySort"
|
||||
placeholder="请输入分类排序"
|
||||
oninput="value=value.replace(/[^\d]/g,'')"
|
||||
maxlength="5"
|
||||
@ -223,7 +223,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="分类排序" prop="classifySort">
|
||||
<el-input
|
||||
v-model="form.classifySort"
|
||||
v-model.number="form.classifySort"
|
||||
placeholder="请输入分类排序"
|
||||
oninput="value=value.replace(/[^\d]/g,'')"
|
||||
maxlength="5"
|
||||
@ -356,7 +356,7 @@ export default {
|
||||
var obj = {
|
||||
classifyName: "",
|
||||
classifyPictureUrl: "",
|
||||
classifySort: "",
|
||||
classifySort: null,
|
||||
idd: this.idd
|
||||
};
|
||||
if (this.form.nurseClassifyInfoList.length == 5) {
|
||||
@ -454,7 +454,7 @@ export default {
|
||||
{
|
||||
classifyName: "",
|
||||
classifyPictureUrl: "",
|
||||
classifySort: "",
|
||||
classifySort: null,
|
||||
idd: this.idd
|
||||
}
|
||||
]
|
||||
@ -491,11 +491,7 @@ export default {
|
||||
this.getList();
|
||||
});
|
||||
} else {
|
||||
if (this.form.nurseClassifyInfoList[0].classifySort) {
|
||||
this.form.nurseClassifyInfoList[0].classifySort = parseInt(
|
||||
this.form.nurseClassifyInfoList[0].classifySort
|
||||
);
|
||||
}
|
||||
|
||||
addInfo(this.form).then(response => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
|
||||
@ -173,7 +173,7 @@
|
||||
>
|
||||
<el-input
|
||||
style="width: 200px"
|
||||
v-model="item.classifySort"
|
||||
v-model.number="item.classifySort"
|
||||
placeholder="请输入分类排序"
|
||||
oninput="value=value.replace(/[^\d]/g,'')"
|
||||
maxLength="5"
|
||||
@ -244,7 +244,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="分类排序" prop="classifySort">
|
||||
<el-input
|
||||
v-model="form.classifySort"
|
||||
v-model.number="form.classifySort"
|
||||
placeholder="请输入分类排序"
|
||||
oninput="value=value.replace(/[^\d]/g,'')"
|
||||
maxLength="5"
|
||||
@ -490,11 +490,11 @@ export default {
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
|
||||
|
||||
console.log(this.form);
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
|
||||
|
||||
if (this.form.id != null) {
|
||||
updateStationClassify(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
@ -507,10 +507,10 @@ export default {
|
||||
this.getList();
|
||||
});
|
||||
} else {
|
||||
if(this.form.nurseClassifyInfoList[0].classifySort){
|
||||
this.form.nurseClassifyInfoList[0].classifySort=parseInt(this.form.nurseClassifyInfoList[0].classifySort)
|
||||
}
|
||||
|
||||
// if(this.form.nurseClassifyInfoList[0].classifySort){
|
||||
// this.form.nurseClassifyInfoList[0].classifySort=parseInt(this.form.nurseClassifyInfoList[0].classifySort)
|
||||
// }
|
||||
|
||||
addStationClassify(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
|
||||
@ -272,7 +272,7 @@
|
||||
<el-form-item label="排序" prop="nurseStationItem.sort">
|
||||
<el-input
|
||||
placeholder="请输入排序"
|
||||
v-model="form.nurseStationItem.sort"
|
||||
v-model.number="form.nurseStationItem.sort"
|
||||
oninput="value=value.replace(/[^\d]/g,'')"
|
||||
maxlength="5"
|
||||
/>
|
||||
|
||||
@ -540,7 +540,6 @@ export default {
|
||||
});
|
||||
this.form.nurseStationItem.nurseTypeId = this.form.nurseTypeId;
|
||||
if (this.form.nurseStationItem.appointmentLimitCount == "") {
|
||||
console.log(1)
|
||||
this.form.nurseStationItem.appointmentLimitCount = null
|
||||
}
|
||||
this.$refs["form"].validate((valid) => {
|
||||
@ -602,4 +601,4 @@ export default {
|
||||
this.upload.open = true;
|
||||
},
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user