|
|
@@ -182,7 +182,7 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="type === org_type.yewd" labelClassName="info_label_required" label="夜间值守方式" :contentStyle='contentStyle' :labelStyle='labelStyle'>
|
|
|
+ <el-descriptions-item v-if="type === org_type.yewd || type === org_type.zxywk" labelClassName="info_label_required" label="夜间值守方式" :contentStyle='contentStyle' :labelStyle='labelStyle'>
|
|
|
<el-select
|
|
|
clearable
|
|
|
v-model="dutyMode"
|
|
|
@@ -1646,7 +1646,7 @@ export default {
|
|
|
this.$modal.msgError("所在位置不能为空,请选择所在位置");
|
|
|
return false;
|
|
|
}
|
|
|
- if (this.type === this.org_type.yewd && this.dutyMode == null) {
|
|
|
+ if ((this.type === this.org_type.yewd || this.type === this.org_type.zxywk)&& this.dutyMode == null) {
|
|
|
this.$modal.msgError("夜间值守不能为空,请选择夜间值守方式");
|
|
|
return false;
|
|
|
}
|