|
|
|
|
@ -57,7 +57,7 @@
|
|
|
|
|
label="请选择上级领导" |
|
|
|
|
prop="firstLeaderEmpNo" |
|
|
|
|
required |
|
|
|
|
v-if="appeal.step == 2 && appeal.firstDeptCondition" |
|
|
|
|
v-if="appeal.step == 2" |
|
|
|
|
> |
|
|
|
|
<el-select style="width: 300px" placeholder="请选择上级领导" v-model="form.firstLeaderEmpNo"> |
|
|
|
|
<el-option v-for="item in leaders" :value="item.empNo" :label="item.postTitle + '-' + item.name" :key="item.id"></el-option> |
|
|
|
|
@ -126,6 +126,9 @@ const rules = reactive<FormRules<FormAppeal>>({
|
|
|
|
|
{ min: 2, message: "驳回理由不能少于2个字", trigger: "blur" }, |
|
|
|
|
{ max: 1000, message: "驳回理由不能多于1000个字", trigger: "blur" }, |
|
|
|
|
], |
|
|
|
|
firstLeaderEmpNo: [ |
|
|
|
|
{ required: true, message: "请选择上级领导", trigger: "blur" } |
|
|
|
|
] |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const userStore = useUserStore(); |
|
|
|
|
|