BUG优化

dev
xiepeng 2024-05-22 18:12:27 +08:00
parent 63cbd29090
commit 913425b001
5 changed files with 12 additions and 10 deletions

View File

@ -37,7 +37,7 @@
<view class="message-warp" v-if="pd.VIDEO_SIGN_ROUTE"> <view class="message-warp" v-if="pd.VIDEO_SIGN_ROUTE">
<video :src="pd.VIDEO_SIGN_ROUTE" controls="true"></video> <video :src="baseImgPath + pd.VIDEO_SIGN_ROUTE" controls="true"></video>
</view> </view>
@ -183,6 +183,7 @@
if (res.data != null) { if (res.data != null) {
uni.hideLoading(); uni.hideLoading();
_this.pd = res.data.pd; _this.pd = res.data.pd;
console.log(_this.pd)
} else { } else {
uni.showToast({ uni.showToast({
title: res.data.message, title: res.data.message,

View File

@ -28,7 +28,7 @@
:multiple="true" :multiple="true"
:list="dictData.PERSONNEL_TYPE.list" :list="dictData.PERSONNEL_TYPE.list"
:show-search="false" :show-search="false"
v-model="formData.PERSONNEL_TYPE_NAME" v-model="formData.PERSONNEL_TYPE"
label-key="NAME" label-key="NAME"
value-key="DICTIONARIES_ID" value-key="DICTIONARIES_ID"
placeholder="请选择人员类型" placeholder="请选择人员类型"
@ -47,7 +47,7 @@
</picker> </picker>
</view>--> </view>-->
<view class="cu-form-group margin-top"> <view class="cu-form-group margin-top">
<view class="title is-required">文化程度</view> <view class="title">文化程度</view>
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DEGREE_OF_EDUCATION_NAME}}</view> <view v-if="forbidEdit" style="color: #cccccc">{{formData.DEGREE_OF_EDUCATION_NAME}}</view>
<picker v-else @change="pickerChangeData($event,'DEGREE_OF_EDUCATION')" :value="dictData.DEGREE_OF_EDUCATION.index" :range="dictData.DEGREE_OF_EDUCATION.list" range-key="NAME"> <picker v-else @change="pickerChangeData($event,'DEGREE_OF_EDUCATION')" :value="dictData.DEGREE_OF_EDUCATION.index" :range="dictData.DEGREE_OF_EDUCATION.list" range-key="NAME">
<view class="picker"> <view class="picker">
@ -56,7 +56,7 @@
</picker> </picker>
</view> </view>
<view class="cu-form-group margin-top-xs"> <view class="cu-form-group margin-top-xs">
<view class="title is-required">政治面貌</view> <view class="title">政治面貌</view>
<view v-if="forbidEdit" style="color: #cccccc">{{formData.POLITICAL_OUTLOOK_NAME}}</view> <view v-if="forbidEdit" style="color: #cccccc">{{formData.POLITICAL_OUTLOOK_NAME}}</view>
<picker v-else @change="pickerChangeData($event,'POLITICAL_OUTLOOK')" :value="dictData.POLITICAL_OUTLOOK.index" :range="dictData.POLITICAL_OUTLOOK.list" range-key="NAME"> <picker v-else @change="pickerChangeData($event,'POLITICAL_OUTLOOK')" :value="dictData.POLITICAL_OUTLOOK.index" :range="dictData.POLITICAL_OUTLOOK.list" range-key="NAME">
<view class="picker"> <view class="picker">
@ -65,7 +65,7 @@
</picker> </picker>
</view> </view>
<view class="cu-form-group margin-top-xs"> <view class="cu-form-group margin-top-xs">
<view class="title is-required">参加工作日期</view> <view class="title">参加工作日期</view>
<view v-if="forbidEdit" style="color: #cccccc">{{formData.WORKING_DATE}}</view> <view v-if="forbidEdit" style="color: #cccccc">{{formData.WORKING_DATE}}</view>
<picker v-else mode="date" @change="changeDate($event,'WORKING_DATE')" :value="formData.WORKING_DATE" :end="limitData.WORKING_DATE.end"> <picker v-else mode="date" @change="changeDate($event,'WORKING_DATE')" :value="formData.WORKING_DATE" :end="limitData.WORKING_DATE.end">
<view class="picker"> <view class="picker">
@ -300,7 +300,6 @@ import ZqsSelect from "../../../../components/zqs-select/zqs-select.vue";
} }
return true; return true;
}, },
} }
} }
</script> </script>

View File

@ -243,6 +243,7 @@ import Apply from "./components/apply.vue"
if (res.data != null) { if (res.data != null) {
uni.hideLoading(); uni.hideLoading();
_this.form = res.data.pd; _this.form = res.data.pd;
_this.form.PERSONNEL_TYPE = _this.form.PERSONNEL_TYPE.length>0 ? _this.form.PERSONNEL_TYPE.split(',') : []
res.data.certificateList.forEach((item, index) => { res.data.certificateList.forEach((item, index) => {
if (item.CERTIFICATE_CATEGORY === '1') { if (item.CERTIFICATE_CATEGORY === '1') {
_this.form.ID_CARD_FRONT = item.ID_PHOTO_FRONT _this.form.ID_CARD_FRONT = item.ID_PHOTO_FRONT

View File

@ -42,7 +42,7 @@
</picker> </picker>
</view>--> </view>-->
<view class="cu-form-group margin-top"> <view class="cu-form-group margin-top">
<view class="title is-required">文化程度</view> <view class="title">文化程度</view>
<picker @change="pickerChangeData($event,'DEGREE_OF_EDUCATION')" :value="dictData.DEGREE_OF_EDUCATION.index" :range="dictData.DEGREE_OF_EDUCATION.list" range-key="NAME"> <picker @change="pickerChangeData($event,'DEGREE_OF_EDUCATION')" :value="dictData.DEGREE_OF_EDUCATION.index" :range="dictData.DEGREE_OF_EDUCATION.list" range-key="NAME">
<view class="picker"> <view class="picker">
{{formData.DEGREE_OF_EDUCATIONNAME?formData.DEGREE_OF_EDUCATIONNAME:'请选择'}} {{formData.DEGREE_OF_EDUCATIONNAME?formData.DEGREE_OF_EDUCATIONNAME:'请选择'}}
@ -50,7 +50,7 @@
</picker> </picker>
</view> </view>
<view class="cu-form-group margin-top-xs"> <view class="cu-form-group margin-top-xs">
<view class="title is-required">政治面貌</view> <view class="title">政治面貌</view>
<picker @change="pickerChangeData($event,'POLITICAL_OUTLOOK')" :value="dictData.POLITICAL_OUTLOOK.index" :range="dictData.POLITICAL_OUTLOOK.list" range-key="NAME"> <picker @change="pickerChangeData($event,'POLITICAL_OUTLOOK')" :value="dictData.POLITICAL_OUTLOOK.index" :range="dictData.POLITICAL_OUTLOOK.list" range-key="NAME">
<view class="picker"> <view class="picker">
{{formData.POLITICAL_OUTLOOKNAME?formData.POLITICAL_OUTLOOKNAME:'请选择'}} {{formData.POLITICAL_OUTLOOKNAME?formData.POLITICAL_OUTLOOKNAME:'请选择'}}
@ -58,7 +58,7 @@
</picker> </picker>
</view> </view>
<view class="cu-form-group margin-top-xs"> <view class="cu-form-group margin-top-xs">
<view class="title is-required">参加工作日期</view> <view class="title">参加工作日期</view>
<picker mode="date" @change="changeDate($event,'WORKING_DATE')" :value="formData.WORKING_DATE" :end="limitData.WORKING_DATE.end"> <picker mode="date" @change="changeDate($event,'WORKING_DATE')" :value="formData.WORKING_DATE" :end="limitData.WORKING_DATE.end">
<view class="picker"> <view class="picker">
{{formData.WORKING_DATE?formData.WORKING_DATE:'请选择'}} {{formData.WORKING_DATE?formData.WORKING_DATE:'请选择'}}

View File

@ -21,7 +21,7 @@
</view> </view>
<view class="message-warp" v-if="pd.VIDEO_ROUTE"> <view class="message-warp" v-if="pd.VIDEO_ROUTE">
<video :src="pd.VIDEO_ROUTE" controls="true"></video> <video :src="baseImgPath + pd.VIDEO_ROUTE" controls="true"></video>
</view> </view>
<view class="message-warp" v-if="pd.ATTACHMENT_ROUTE"> <view class="message-warp" v-if="pd.ATTACHMENT_ROUTE">
<view class="cu-item" @click="$noMultipleClicks(goStuToOpen,pd.ATTACHMENT_ROUTE)"> <view class="cu-item" @click="$noMultipleClicks(goStuToOpen,pd.ATTACHMENT_ROUTE)">
@ -50,6 +50,7 @@
export default { export default {
data() { data() {
return { return {
baseImgPath: baseImgPath,
id:'', id:'',
content:'', content:'',
pd: {}, pd: {},