|
@@ -20,7 +20,7 @@
|
|
|
:rules="[{ required: true, message: '请填写部门' }]"
|
|
|
/>
|
|
|
<van-field
|
|
|
- v-model="formData.drzw"
|
|
|
+ v-model="formData.drzwText"
|
|
|
name="岗位"
|
|
|
label="岗位"
|
|
|
placeholder="岗位"
|
|
@@ -91,6 +91,7 @@ import FlowForm from '@/components/flowForm.vue';
|
|
|
import Card from '@/components/card.vue';
|
|
|
import CardCell from '@/components/cardCell.vue';
|
|
|
import {Checkbox, CheckboxGroup} from 'vant';
|
|
|
+import {DICT_TYPE, getDictLabel} from "@/utils/dict";
|
|
|
|
|
|
|
|
|
const route = useRoute();
|
|
@@ -145,6 +146,8 @@ const initFormData = async () => {
|
|
|
const result = await reqest.get(`/business/resign/mobileAdd?flowInstanceId=${flowInstanceId}`)
|
|
|
formData.value = result.data
|
|
|
|
|
|
+ formData.value.drzwText = getDictLabel(DICT_TYPE.POST_TYPE, formData.value.drzw);
|
|
|
+
|
|
|
formData.value.rgssjc = formatDate(formData.value.rgssj);
|
|
|
formData.value.htdqsc = formatDate(formData.value.htdqs);
|
|
|
formData.value.zhsbrqc = formatDate(formData.value.zhsbrq);
|