zsk 8 months ago
parent 218426c03b
commit ed90618cd8

@ -8,7 +8,7 @@ let orderInfo = {
order_list:"/assistant/apply/order/list",// 工单列表(旧) order_list:"/assistant/apply/order/list",// 工单列表(旧)
order_list_new:"/yishoudan/user/apply/order/V2/list",// 工单列表(新) order_list_new:"/yishoudan/user/apply/order/V2/list",// 工单列表(新)
order_detail :"/assistant/apply/order/detail",// 工单详情(旧) order_detail :"/assistant/apply/order/detail",// 工单详情(旧)
order_detail_new :"/yishoudan/user/apply/order/details",// 工单详情(新)(toc) order_detail_new :"/yishoudan/user/apply/order/web/details",// 工单详情(新)(toc)
order_detail_newTob :"/yishoudan/user/apply/order/V2/details",// 工单详情(tob) order_detail_newTob :"/yishoudan/user/apply/order/V2/details",// 工单详情(tob)
order_update_detail :"/yishoudan/user/apply/order/V2/updateOrderInfo",// 工单信息修改 order_update_detail :"/yishoudan/user/apply/order/V2/updateOrderInfo",// 工单信息修改
order_submitRemark :"/yishoudan/user/apply/order/updateOrder",// 跟进记录提交事件 order_submitRemark :"/yishoudan/user/apply/order/updateOrder",// 跟进记录提交事件

@ -13,13 +13,96 @@
<!-- <g-panel-detail-item label="项目方" :value="orderDetail.upAgencyName" valueColor="#333" /> --> <!-- <g-panel-detail-item label="项目方" :value="orderDetail.upAgencyName" valueColor="#333" /> -->
<!-- @clickItem="handleOpenPeopleModal" --> <!-- @clickItem="handleOpenPeopleModal" -->
<g-panel-detail-item label="报名人" from="resident-info" beforeIcon='icon-bianji' @clickItem="handleOpenPeopleModal" :value="orderDetail.applyUserName" /> <g-panel-detail-item label="报名人" from="resident-info" beforeIcon="icon-bianji"
@clickItem="handleOpenPeopleModal" :value="orderDetail.applyUserName" />
<g-panel-detail-item label="参与统计" from="resident-info" beforeIcon='icon-bianji' @clickItem="handleOpenstatisticModal" :value="joinCountList[joinVal].label" /> <g-panel-detail-item label="参与统计" from="resident-info" beforeIcon="icon-bianji"
@clickItem="handleOpenstatisticModal" :value="joinCountList[joinVal].label" />
<view>
<view class="g_pt_10 g_border_d_t">
<g-panel-detail-item from="times" label="报名时间" :value="orderDetail.create_time" />
</view>
<template v-if="!zhedie">
<view class="g_pt_10" v-if="orderDetail.status == 10 || orderDetail.status == 20">
<g-panel-detail-item from="times" label="预计到达时间" :value="orderDetail.reception_time"
afterType="time" />
</view>
<view class="g_pt_10" v-if="orderDetail.status == 25">
<g-panel-detail-item from="times" label="面试时间" :value="orderDetail.interview_time" />
</view>
<view class="g_pt_10" v-if="orderDetail.status == 30">
<g-panel-detail-item from="times" label="预约入职时间" :value="orderDetail.willEntry_time" />
</view>
<view > <view class="g_pt_10" v-if="orderDetail.status == 40">
<view class="g_pt_10 g_border_d_t" v-if="orderDetail.canEdit || (!orderDetail.canEdit && (orderDetail.statusId == 10 || orderDetail.statusId == 20 || orderDetail.statusId == 25))"> <g-panel-detail-item from="times" label="入职时间" :value="orderDetail.entry_time" />
</view>
<view class="g_pt_10" v-if="orderDetail.status == 48">
<g-panel-detail-item from="times" label="预约离职时间" :value="orderDetail.willLeave_time" />
</view>
<view class="g_pt_10" v-if="orderDetail.status == 50">
<g-panel-detail-item from="times" label="离职时间" :value="orderDetail.leave_time" />
</view>
<view class="g_pt_10"
v-if="orderDetail.status == 21 || orderDetail.status == 26 || orderDetail.status == 35 || orderDetail.status == 45">
<g-panel-detail-item from="times" label="工单完成时间" :value="orderDetail.update_time" />
</view>
</template>
<template v-if="zhedie">
<view class="g_pt_10">
<g-panel-detail-item from="times" label="预计到达时间" :value="orderDetail.reception_time" />
</view>
<view class="g_pt_10"
v-if="orderDetail.status == 25 || orderDetail.status == 30 || orderDetail.status == 35 || orderDetail.status == 40 || orderDetail.status == 45 || orderDetail.status == 48 || orderDetail.status == 50">
<g-panel-detail-item from="times" label="接到时间"
:value="orderDetail.interviewOperate_time" />
</view>
<view class="g_pt_10">
<g-panel-detail-item from="times" label="面试时间" :value="orderDetail.interview_time" />
</view>
<view class="g_pt_10"
v-if="orderDetail.status == 30 || orderDetail.status == 40 || orderDetail.status == 45 || orderDetail.status == 48 || orderDetail.status == 50">
<g-panel-detail-item from="times" label="预约入职时间" :value="orderDetail.willEntry_time" />
</view>
<view class="g_pt_10"
v-if="orderDetail.status == 40 || orderDetail.status == 48 || orderDetail.status == 50">
<g-panel-detail-item from="times" label="入职时间" :value="orderDetail.entry_time" />
</view>
<view class="g_pt_10" v-if="orderDetail.status == 48 || orderDetail.status == 50">
<g-panel-detail-item from="times" label="预约离职时间" :value="orderDetail.willLeave_time" />
</view>
<view class="g_pt_10" v-if="orderDetail.status == 50">
<g-panel-detail-item from="times" label="离职时间" :value="orderDetail.leave_time" />
</view>
<view class="g_pt_10"
v-if="orderDetail.status == 21 || orderDetail.status == 26 || orderDetail.status == 35 || orderDetail.status == 50">
<g-panel-detail-item from="times" label="工单完成时间" :value="orderDetail.update_time" />
</view>
</template>
<view class="g_text_c g_fs_14 g_c_9" style="line-height:42px;" hover-class="hcb" @click="ifZhedie"
v-if="zhedie">
收起
<i class="iconfont icon-shouqi dib"></i>
</view>
<view class="g_text_c g_fs_14 g_c_9" style="line-height: 42px;" hover-class="hcb" @click="ifZhankai"
v-if="!zhedie">
展开
<i class="iconfont icon-zhankai dib"></i>
</view>
</view>
<!-- <view class="g_pt_10 g_border_d_t" v-if="orderDetail.canEdit || (!orderDetail.canEdit && (orderDetail.statusId == 10 || orderDetail.statusId == 20 || orderDetail.statusId == 25))">
<g-panel-detail-item from="times" label="面试时间" :value="orderDetail.interview_time" afterType="time" @confirmChooseTime="handleMianshi" /> <g-panel-detail-item from="times" label="面试时间" :value="orderDetail.interview_time" afterType="time" @confirmChooseTime="handleMianshi" />
</view> </view>
<view class="g_pt_10 g_border_d_t" v-if="orderDetail.status == 30"> <view class="g_pt_10 g_border_d_t" v-if="orderDetail.status == 30">
@ -36,8 +119,7 @@
</view> </view>
<view class="g_pt_10 g_border_d_t" v-if="orderDetail.status == 21 || orderDetail.status == 26 || orderDetail.status == 35 || orderDetail.status == 45"> <view class="g_pt_10 g_border_d_t" v-if="orderDetail.status == 21 || orderDetail.status == 26 || orderDetail.status == 35 || orderDetail.status == 45">
<g-panel-detail-item from="times" label="完成时间" :value="orderDetail.update_time" /> <g-panel-detail-item from="times" label="完成时间" :value="orderDetail.update_time" />
</view> </view> -->
</view>
</view> </view>
</view> </view>
<!-- 用户信息 --> <!-- 用户信息 -->
@ -46,10 +128,13 @@
<view class="g_bg_f g_pl_15 g_pr_15 g_pt_10"> <view class="g_bg_f g_pl_15 g_pr_15 g_pt_10">
<view class="g_pb_10 g_flex_row_between"> <view class="g_pb_10 g_flex_row_between">
<view class="g_flex_1 g_flex_column_center g_mr_10"> <view class="g_flex_1 g_flex_column_center g_mr_10">
<view class="g_ell_1 g_fs_16 g_fw_bold"> {{ orderDetail.userName }}{{ orderDetail.setTitle }} </view> <view class="g_ell_1 g_fs_16 g_fw_bold">
{{ orderDetail.userName }}{{ orderDetail.setTitle }}
</view>
</view> </view>
<view class="g_flex_none g_flex_row_end"> <view class="g_flex_none g_flex_row_end">
<view class="g_flex_row_end g_pl_16 g_pr_16 g_pt_9 g_pb_9" style="background-color: #f4faff; border-radius: 17px"> <view class="g_flex_row_end g_pl_16 g_pr_16 g_pt_9 g_pb_9"
style="background-color: #f4faff; border-radius: 17px">
<view class="g_flex_row_end" @click="handleOpenInfoModal"> <view class="g_flex_row_end" @click="handleOpenInfoModal">
<view class="g_flex_column_center"> <view class="g_flex_column_center">
<i class="iconfont icon-yulan g_c_3"></i> <i class="iconfont icon-yulan g_c_3"></i>
@ -69,35 +154,41 @@
<view class="g_flex_row_between g_pb_15"> <view class="g_flex_row_between g_pb_15">
<view class="g_flex_row_start g_mr_14"> <view class="g_flex_row_start g_mr_14">
<view class="g_flex_none g_mr_4 g_w_28 g_h_28 g_radius_50 g_flex_c"> <view class="g_flex_none g_mr_4 g_w_28 g_h_28 g_radius_50 g_flex_c">
<image :src="cdnBaseImg + 'blueIdcard.svg'" v-if="orderDetail.idCard" class="g_w_28 g_h_28"></image> <image :src="cdnBaseImg + 'blueIdcard.svg'" v-if="orderDetail.idCard"
class="g_w_28 g_h_28"></image>
<image :src="cdnBaseImg + 'idCard_gray.svg'" v-else class="g_w_28 g_h_28"></image> <image :src="cdnBaseImg + 'idCard_gray.svg'" v-else class="g_w_28 g_h_28"></image>
</view> </view>
<view class="g_flex_column_center g_fs_15 g_c_6">{{ orderDetail.idCard ? orderDetail.idCard : "-" }}</view> <view class="g_flex_column_center g_fs_15 g_c_6">
{{ orderDetail.idCard ? orderDetail.idCard : "-" }}
</view>
</view> </view>
<view class="g_flex_row_end" @click="goTel(orderDetail.tel)"> <view class="g_flex_row_end" @click="goTel(orderDetail.tel)">
<view class="g_mr_4 g_w_28 g_h_28 g_radius_50 g_flex_c"> <view class="g_mr_4 g_w_28 g_h_28 g_radius_50 g_flex_c">
<image :src="cdnBaseImg + 'blueTel.svg'" class="g_w_28 g_h_28" v-if="orderDetail.tel"></image> <image :src="cdnBaseImg + 'blueTel.svg'" class="g_w_28 g_h_28" v-if="orderDetail.tel">
</image>
<image :src="cdnBaseImg + 'order_tel_gray.svg'" class="g_w_28 g_h_28" v-else></image> <image :src="cdnBaseImg + 'order_tel_gray.svg'" class="g_w_28 g_h_28" v-else></image>
</view> </view>
<view class="g_flex_column_center g_text_r g_fs_15 g_c_6">{{ orderDetail.tel ? orderDetail.tel : "-" }}</view> <view class="g_flex_column_center g_text_r g_fs_15 g_c_6">
{{ orderDetail.tel ? orderDetail.tel : "-" }}
</view>
</view> </view>
</view> </view>
<view class="g_pb_17" v-if="orderDetail.idCardImageUrl"> <view class="g_pb_17" v-if="orderDetail.idCardImageUrl">
<g-panel-image :url="orderDetail.idCardImageUrl" radius="8" size="152" @clickItem="handleClickIDcard" /> <g-panel-image :url="orderDetail.idCardImageUrl" radius="8" size="152"
@clickItem="handleClickIDcard" />
</view> </view>
</view> </view>
</view> </view>
<view class="m-price"> <view class="m-price">
<view class="g_h_12"></view> <view class="g_h_12"></view>
<view class="link g_bg_f g_pt_10"> <view class="link g_bg_f g_pt_10">
<view v-if="(!orderDetail.nextRecordId && !orderDetail.prevRecordId && isCreator) || (isCreator && orderDetail.nextRecordId)"> <view
<g-panel-detail-item label="服务费" :value="setReturnFee(orderDetail.returnFee, orderDetail.returnFeeType)" /> v-if="(!orderDetail.nextRecordId && !orderDetail.prevRecordId && isCreator) || (isCreator && orderDetail.nextRecordId)">
<g-panel-detail-item label="服务费详情" :value="orderDetail.returnFeeDesp" afterIcon="icon-gengduo11" @clickItem="goInfo(orderDetail.returnFeeDesp, '服务费详情', 'view')" /> <g-panel-detail-item label="服务费"
:value="setReturnFee(orderDetail.returnFee, orderDetail.returnFeeType)" />
<g-panel-detail-item label="服务费详情" :value="orderDetail.returnFeeDesp" afterIcon="icon-gengduo11"
@clickItem="goInfo(orderDetail.returnFeeDesp, '服务费详情', 'view')" />
</view> </view>
<!-- <div v-if="(!orderDetail.nextRecordId && !orderDetail.prevRecordId) || orderDetail.prevRecordId || agencyId == orderDetail.agencyId"> <!-- <div v-if="(!orderDetail.nextRecordId && !orderDetail.prevRecordId) || orderDetail.prevRecordId || agencyId == orderDetail.agencyId">
<g-panel-detail-item :label="isCreator ? '代理费' : '代理费'" :value="setReturnFee(orderDetail.agencyReturnFee, orderDetail.agencyReturnFeeType)" afterIcon="icon-gengduo11" @clickItem="goInfo(orderDetail.agencyReturnFee / 100, '代理费', 'form', orderDetail.agencyReturnFeeType)" /> <g-panel-detail-item :label="isCreator ? '代理费' : '代理费'" :value="setReturnFee(orderDetail.agencyReturnFee, orderDetail.agencyReturnFeeType)" afterIcon="icon-gengduo11" @clickItem="goInfo(orderDetail.agencyReturnFee / 100, '代理费', 'form', orderDetail.agencyReturnFeeType)" />
@ -113,31 +204,35 @@
<view class="g_h_12"></view> <view class="g_h_12"></view>
<view class="link g_bg_f g_pt_10"> <view class="link g_bg_f g_pt_10">
<g-panel-detail-item label="报名职位" :value="orderDetail.storeJobName" fontWeight="bold" /> <g-panel-detail-item label="报名职位" :value="orderDetail.storeJobName" fontWeight="bold" />
<g-panel-detail-item label="职位说明" :value="orderDetail.employeeSalary" afterIcon="icon-gengduo11" @clickItem="goInfo(orderDetail.employeeSalary, '职位说明', 'edit')" /> <g-panel-detail-item label="职位说明" :value="orderDetail.employeeSalary" afterIcon="icon-gengduo11"
@clickItem="goInfo(orderDetail.employeeSalary, '职位说明', 'edit')" />
</view> </view>
</view> </view>
<view class="m-job"> <view class="m-job">
<view class="g_h_12"></view> <view class="g_h_12"></view>
<view class="link g_bg_f g_pt_10"> <view class="link g_bg_f g_pt_10">
<g-panel-detail-item label="面试地址" :value="orderDetail.interviewAddress" afterIcon="icon-gengduo11"
@clickItem="handleChooseAddressModal" />
<g-panel-detail-item label="面试地址" :value="orderDetail.interviewAddress" afterIcon="icon-gengduo11" @clickItem="handleChooseAddressModal" /> <g-panel-detail-item label="驻场信息" :value="orderDetail.totalZC || '-'" afterIcon="icon-gengduo11"
@clickItem="handleOpenModal" from="resident-info" afterType="multi"
<g-panel-detail-item label="驻场信息" v-if="orderDetail.prevRecordId || (!orderDetail.prevRecordId && !orderDetail.nextRecordId)" :value="orderDetail.totalZC || '-'" afterIcon="icon-gengduo11" @clickItem="handleOpenModal" from="resident-info" afterType="multi" @clickLabelBtn="handleClickLabelBtn(orderDetail.totalZC || '-')" labelSubStr="复制" /> @clickLabelBtn="handleClickLabelBtn(orderDetail.totalZC || '-')" labelSubStr="复制" />
<g-panel-detail-item label="驻场信息" v-else labelSubStr="复制" :value="orderDetail.totalZC || '-'" from="resident-info" afterType="multi" @clickLabelBtn="handleClickLabelBtn(orderDetail.totalZC || '-')" /> <!-- <g-panel-detail-item label="驻场信息" v-else labelSubStr="复制" :value="orderDetail.customServiceTel || '-'" from="resident-info" afterType="multi" @clickLabelBtn="handleClickLabelBtn(orderDetail.totalZC || '-')" /> -->
<g-panel-detail-item label="其他信息" :value="orderDetail.interviewDesp" afterIcon="icon-gengduo11" @clickItem="goInfo(orderDetail.interviewDesp, '其他信息', 'edit')" /> <g-panel-detail-item label="其他说明" :value="orderDetail.interviewDesp" afterIcon="icon-gengduo11"
@clickItem="goInfo(orderDetail.interviewDesp, '其他说明', 'edit')" />
<view class="g_h_15"></view> <view class="g_h_15"></view>
</view> </view>
</view> </view>
<view class="g_h_10 g_bg_f_5"></view> <view class="g_h_10 g_bg_f_5"></view>
<view class="m-reord"> <view class="m-reord">
<view class="g_bg_f" style="padding-bottom: 10px; margin-bottom: 60px; padding-top: 32rpx"> <view class="g_bg_f" style="padding-bottom: 10px; margin-bottom: 60px; padding-top: 32rpx">
<view class="g_flex_row_between" style="padding-top: 0; padding-bottom: 0; padding-right: 32rpx; position: relative; margin-left: 20px; margin-bottom: 36rpx"> <view class="g_flex_row_between"
style="padding-top: 0; padding-bottom: 0; padding-right: 32rpx; position: relative; margin-left: 20px; margin-bottom: 36rpx">
<view class="g_fs_16 g_c_3 g_flex_column_center">跟进记录</view> <view class="g_fs_16 g_c_3 g_flex_column_center">跟进记录</view>
<view @click="handleOpenRemarkModal"> <view @click="handleOpenRemarkModal">
<view class="g_flex_row_end g_pl_16 g_pr_16 g_pt_9 g_pb_9" style="background-color: #f8f8f8; border-radius: 17px"> <view class="g_flex_row_end g_pl_16 g_pr_16 g_pt_9 g_pb_9"
style="background-color: #f8f8f8; border-radius: 17px">
<view class="g_flex_row_end"> <view class="g_flex_row_end">
<view class="g_flex_column_center"> <view class="g_flex_column_center">
<i class="iconfont icon-bianji g_c_3" style="font-size: 14px"></i> <i class="iconfont icon-bianji g_c_3" style="font-size: 14px"></i>
@ -151,9 +246,6 @@
</view> </view>
</view> </view>
<!-- // --> <!-- // -->
</view> </view>
@ -172,57 +264,53 @@
</view> </view>
</u-popup> </u-popup>
<u-popup v-model="peopleModal.isShow" mode="bottom" border-radius="16" height="980" :mask-close-able="true" :closeable="true"> <u-popup v-model="peopleModal.isShow" mode="bottom" border-radius="16" height="980" :mask-close-able="true"
:closeable="true">
<view class="g_fs_18 g_c_3 g_flex_row_center g_pt_16"> 报名人选择 </view> <view class="g_fs_18 g_c_3 g_flex_row_center g_pt_16"> 报名人选择 </view>
<scroll-view scroll-y="true" style="height: 700rpx"> <scroll-view scroll-y="true" style="height: 700rpx">
<view class="g_pl_12 g_pr_12"> <view class="g_pl_12 g_pr_12">
<view class="g_flex_row_between g_pt_16 g_pb_16 g_border_d_b" v-for="(item, index) in peopleData.recordList" :key="index" @click="handleChoosePeople(item, index)"> <view class="g_flex_row_between g_pt_16 g_pb_16 g_border_d_b"
v-for="(item, index) in peopleData.recordList" :key="index"
@click="handleChoosePeople(item, index)">
<view class="g_fs_17 g_c_3">{{ item.aliasName || item.userName || item.tel }}</view> <view class="g_fs_17 g_c_3">{{ item.aliasName || item.userName || item.tel }}</view>
<view class="g_flex_column_center"> <view class="g_flex_column_center">
<i <i class="iconfont icon-a-duigoubeifen2" v-if="applyInfo.applyUserId == item.id"
class="iconfont icon-a-duigoubeifen2" style="font-size: 22px" :style="{
v-if="applyInfo.applyUserId == item.id"
style="font-size: 22px"
:style="{
color: applyInfo.applyUserId == item.id ? '#00b666' : '#fff', color: applyInfo.applyUserId == item.id ? '#00b666' : '#fff',
}" }"></i>
></i>
</view> </view>
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<view class="g_flex_row_center"> <view class="g_flex_row_center">
<g-button btnText="确定" class="bocai_btn_size_default g_mt_24" @clickBtn="handleSubmitChoosePeople" type="primary"></g-button> <g-button btnText="确定" class="bocai_btn_size_default g_mt_24" @clickBtn="handleSubmitChoosePeople"
type="primary"></g-button>
</view> </view>
</u-popup> </u-popup>
<u-popup v-model="statisticsModal.isShow" mode="bottom" border-radius="16" height="560" :mask-close-able="true"
<u-popup v-model="statisticsModal.isShow" mode="bottom" border-radius="16" height="560" :mask-close-able="true" :closeable="true"> :closeable="true">
<view class="g_fs_18 g_c_3 g_flex_row_center g_pt_16"> 参与统计 </view> <view class="g_fs_18 g_c_3 g_flex_row_center g_pt_16"> 参与统计 </view>
<scroll-view scroll-y="true" style="height: 300rpx"> <scroll-view scroll-y="true" style="height: 300rpx">
<view class="g_pl_12 g_pr_12"> <view class="g_pl_12 g_pr_12">
<view class="g_flex_row_between g_pt_16 g_pb_16 g_border_d_b" v-for="(item, index) in joinCountList" :key="index" @click="handleChooseStatistics(item, index)"> <view class="g_flex_row_between g_pt_16 g_pb_16 g_border_d_b" v-for="(item, index) in joinCountList"
<view class="g_fs_17 g_c_3">{{ item.label}}</view> :key="index" @click="handleChooseStatistics(item, index)">
<view class="g_fs_17 g_c_3">{{ item.label }}</view>
<view class="g_flex_column_center"> <view class="g_flex_column_center">
<i <i class="iconfont icon-a-duigoubeifen2" v-if="statisticsValue == item.value"
class="iconfont icon-a-duigoubeifen2" style="font-size: 22px" :style="{
v-if="statisticsValue == item.value"
style="font-size: 22px"
:style="{
color: statisticsValue == item.value ? '#00b666' : '#fff', color: statisticsValue == item.value ? '#00b666' : '#fff',
}" }"></i>
></i>
</view> </view>
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<view class="g_flex_row_center"> <view class="g_flex_row_center">
<g-button btnText="确定" class="bocai_btn_size_default g_mt_12" @clickBtn="handleSubmitChoosePeople" type="primary"></g-button> <g-button btnText="确定" class="bocai_btn_size_default g_mt_12" @clickBtn="handleSubmitChoosePeople"
type="primary"></g-button>
</view> </view>
</u-popup> </u-popup>
<u-popup v-model="infoModal.isShow" mode="center" border-radius="16" width="630" :mask-close-able="true"> <u-popup v-model="infoModal.isShow" mode="center" border-radius="16" width="630" :mask-close-able="true">
<view> <view>
<view class="g_flex_row_center g_pt_32 g_fs_18 g_fw_600 g_mb_20">老乡信息</view> <view class="g_flex_row_center g_pt_32 g_fs_18 g_fw_600 g_mb_20">老乡信息</view>
@ -230,16 +318,20 @@
<view> <view>
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">姓名</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">姓名</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> {{ orderDetail.userName }}{{ orderDetail.setTitle }} </view> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.userName }}{{ orderDetail.setTitle }}
</view>
</view> </view>
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">身份证号</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">身份证号
</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.idCard ? orderDetail.idCard : "-" }} {{ orderDetail.idCard ? orderDetail.idCard : "-" }}
</view> </view>
</view> </view>
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">企业岗位</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">企业岗位
</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.storeJobName ? orderDetail.storeJobName : "-" }} {{ orderDetail.storeJobName ? orderDetail.storeJobName : "-" }}
</view> </view>
@ -247,7 +339,8 @@
<view v-if="orderDetail.status == 10 || orderDetail.status == 20 || orderDetail.status == 25"> <view v-if="orderDetail.status == 10 || orderDetail.status == 20 || orderDetail.status == 25">
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">面试时间</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">面试时间
</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.interview_time ? orderDetail.interview_time : "-" }} {{ orderDetail.interview_time ? orderDetail.interview_time : "-" }}
</view> </view>
@ -255,7 +348,8 @@
</view> </view>
<view v-if="orderDetail.status == 30"> <view v-if="orderDetail.status == 30">
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">约入职时间</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">约入职时间
</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.willEntry_time ? orderDetail.willEntry_time : "-" }} {{ orderDetail.willEntry_time ? orderDetail.willEntry_time : "-" }}
</view> </view>
@ -263,7 +357,8 @@
</view> </view>
<view v-if="orderDetail.status == 40"> <view v-if="orderDetail.status == 40">
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">入职时间</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">入职时间
</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.entry_time ? orderDetail.entry_time : "-" }} {{ orderDetail.entry_time ? orderDetail.entry_time : "-" }}
</view> </view>
@ -271,7 +366,8 @@
</view> </view>
<view v-if="orderDetail.status == 48"> <view v-if="orderDetail.status == 48">
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">约离职时间</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">约离职时间
</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.willLeave_time ? orderDetail.willLeave_time : "-" }} {{ orderDetail.willLeave_time ? orderDetail.willLeave_time : "-" }}
</view> </view>
@ -279,15 +375,18 @@
</view> </view>
<view v-if="orderDetail.status == 50"> <view v-if="orderDetail.status == 50">
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">离职时间</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">离职时间
</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.leave_time ? orderDetail.leave_time : "-" }} {{ orderDetail.leave_time ? orderDetail.leave_time : "-" }}
</view> </view>
</view> </view>
</view> </view>
<view v-if="orderDetail.status == 21 || orderDetail.status == 26 || orderDetail.status == 35 || orderDetail.status == 45"> <view
v-if="orderDetail.status == 21 || orderDetail.status == 26 || orderDetail.status == 35 || orderDetail.status == 45">
<view class="item g_flex_row_start g_mb_8"> <view class="item g_flex_row_start g_mb_8">
<view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">完成时间</view> <view class="label g_fs_16 g_c_3 g_flex_none g_flex_row_end" style="width: 98px">完成时间
</view>
<view class="label g_fs_16 g_c_3 g_flex_none g_ell_1"> <view class="label g_fs_16 g_c_3 g_flex_none g_ell_1">
{{ orderDetail.update_time ? orderDetail.update_time : "-" }} {{ orderDetail.update_time ? orderDetail.update_time : "-" }}
</view> </view>
@ -303,8 +402,11 @@
</view> </view>
</view> </view>
<view class="g_flex_row_between g_border_e_t"> <view class="g_flex_row_between g_border_e_t">
<view class="g_c_3 g_fs_18 g_pt_18 g_pb_18 g_flex_c g_fw_700" style="width: 50%; height: 49px" @click="handleCopy"></view> <view class="g_c_3 g_fs_18 g_pt_18 g_pb_18 g_flex_c g_fw_700" style="width: 50%; height: 49px"
<view class="g_c_main g_fs_18 g_pt_18 g_pb_18 g_flex_c" style="width: 50%; height: 49px; border-left: 1rpx solid #eee" @click="infoModal.isShow = false">知道了</view> @click="handleCopy">复制文本</view>
<view class="g_c_main g_fs_18 g_pt_18 g_pb_18 g_flex_c"
style="width: 50%; height: 49px; border-left: 1rpx solid #eee"
@click="infoModal.isShow = false">知道了</view>
</view> </view>
</view> </view>
</u-popup> </u-popup>
@ -313,16 +415,13 @@
<view class="g_fs_18 g_c_3 g_flex_row_center g_pt_16"> 选择驻场 </view> <view class="g_fs_18 g_c_3 g_flex_row_center g_pt_16"> 选择驻场 </view>
<scroll-view scroll-y="true" style="height: 710rpx"> <scroll-view scroll-y="true" style="height: 710rpx">
<view class="g_pl_12 g_pr_12"> <view class="g_pl_12 g_pr_12">
<view class="g_flex_row_between g_pt_16 g_pb_16 g_border_d_b" v-for="(item, index) in residentList" :key="index" @click="handleChooseResident(item, index)"> <view class="g_flex_row_between g_pt_16 g_pb_16 g_border_d_b" v-for="(item, index) in residentList"
:key="index" @click="handleChooseResident(item, index)">
<view class="g_fs_17 g_c_3">{{ item.aliasName || item.userName }}</view> <view class="g_fs_17 g_c_3">{{ item.aliasName || item.userName }}</view>
<view class="g_flex_column_center"> <view class="g_flex_column_center">
<i <i class="iconfont icon-a-duigoubeifen2" style="font-size: 24px" :style="{
class="iconfont icon-a-duigoubeifen2"
style="font-size: 24px"
:style="{
color: item.isSelected ? '#00b666' : '#fff', color: item.isSelected ? '#00b666' : '#fff',
}" }"></i>
></i>
</view> </view>
</view> </view>
</view> </view>
@ -340,16 +439,13 @@
<view class="g_fs_18 g_c_3 g_flex_row_center g_pt_16"> 选择政策 </view> <view class="g_fs_18 g_c_3 g_flex_row_center g_pt_16"> 选择政策 </view>
<scroll-view scroll-y="true" style="height: 710rpx"> <scroll-view scroll-y="true" style="height: 710rpx">
<view class="g_pl_12 g_pr_12"> <view class="g_pl_12 g_pr_12">
<view class="g_flex_row_between g_pt_16 g_pb_16 g_border_d_b" v-for="(item, index) in zhengceList" :key="index" @click="handleChooseZhengce(item, index)"> <view class="g_flex_row_between g_pt_16 g_pb_16 g_border_d_b" v-for="(item, index) in zhengceList"
:key="index" @click="handleChooseZhengce(item, index)">
<view class="g_fs_17 g_c_3">{{ item.name }}</view> <view class="g_fs_17 g_c_3">{{ item.name }}</view>
<view class="g_flex_column_center"> <view class="g_flex_column_center">
<i <i class="iconfont icon-a-duigoubeifen2" style="font-size: 24px" :style="{
class="iconfont icon-a-duigoubeifen2"
style="font-size: 24px"
:style="{
color: item.isSelected ? '#00b666' : '#fff', color: item.isSelected ? '#00b666' : '#fff',
}" }"></i>
></i>
</view> </view>
</view> </view>
</view> </view>
@ -366,7 +462,7 @@
</template> </template>
<script> <script>
export default { export default {
onReady() { onReady() {
this.G.setNavStyle(); this.G.setNavStyle();
}, },
@ -375,10 +471,20 @@ export default {
}, },
data() { data() {
return { return {
joinCountList: [{
joinCountList: [{ label: '不参与', value: 0, checked: false }, { label: '参与', value: 1, checked: false }], label: "不参与",
value: 0,
checked: false
},
{
label: "参与",
value: 1,
checked: false
},
],
joinVal: 0, joinVal: 0,
statisticsValue:0, statisticsValue: 0,
zhedie: false,
cdnBaseImg: this.G.store().cdnBaseImg, cdnBaseImg: this.G.store().cdnBaseImg,
agencyId: uni.getStorageSync("apply-agencyId"), agencyId: uni.getStorageSync("apply-agencyId"),
@ -389,9 +495,7 @@ export default {
relationId: 0, relationId: 0,
type: 0, type: 0,
orderDetail: {}, orderDetail: {},
chooseUserId:0, chooseUserId: 0,
peopleData: { peopleData: {
recordList: [], recordList: [],
@ -419,8 +523,7 @@ export default {
zhengceModal: { zhengceModal: {
isShow: false, isShow: false,
}, },
zhengceList: [ zhengceList: [{
{
name: "政策一", name: "政策一",
id: 1, id: 1,
isSelected: false, isSelected: false,
@ -480,11 +583,20 @@ export default {
this.getDetail(); this.getDetail();
}, },
methods: { methods: {
ifZhedie() {
this.zhedie = false
},
ifZhankai() {
this.zhedie = true
},
handleClickLabelBtn($data) { handleClickLabelBtn($data) {
var that = this; var that = this;
var text = ""; var text = "";
if (that.orderDetail.upAgencyName == "江西人海") { if (that.orderDetail.upAgencyName == "江西人海") {
text = that.orderDetail.storeJobName + "\n\n⚠驻场接人" + that.orderDetail.zhuchangTel + "(接待面试,优先联系)\n\n服务投诉19036980065"; text = that.orderDetail.storeJobName + "\n\n⚠驻场接人" + that.orderDetail.zhuchangTel +
"(接待面试,优先联系)\n\n服务投诉19036980065";
} else { } else {
text = that.orderDetail.totalZC; text = that.orderDetail.totalZC;
} }
@ -515,8 +627,7 @@ export default {
getResident() { getResident() {
let that = this; let that = this;
that.G.Post( that.G.Post(
that.api.order_residentList, that.api.order_residentList, {
{
agencyId: uni.getStorageSync("apply-agencyId"), agencyId: uni.getStorageSync("apply-agencyId"),
keys: "", keys: "",
pageNum: 1, pageNum: 1,
@ -546,8 +657,7 @@ export default {
let that = this; let that = this;
that.speed = 0; that.speed = 0;
that.G.Get( that.G.Get(
that.api.order_detail_new, that.api.order_detail_new, {
{
orderId: that.oid, orderId: that.oid,
relationId: that.relationId, relationId: that.relationId,
}, },
@ -555,7 +665,10 @@ export default {
console.log("工单详情:", res); console.log("工单详情:", res);
// return; // return;
console.log("res", res); console.log("res", res);
res = { ...res.applyOrder, ...res }; res = {
...res.applyOrder,
...res
};
if (res.policyNum === "" || res.policyNum === 0) { if (res.policyNum === "" || res.policyNum === 0) {
res.policyNum = 1; res.policyNum = 1;
} }
@ -566,21 +679,31 @@ export default {
let list = []; let list = [];
for (let i = 0; i < res.policyNum; i++) { for (let i = 0; i < res.policyNum; i++) {
let pickerStr = that.G.policyNumToHanZi(i + 1); let pickerStr = that.G.policyNumToHanZi(i + 1);
list[i] = { value: i + 1, name: pickerStr, isSelected: false }; list[i] = {
value: i + 1,
name: pickerStr,
isSelected: false
};
} }
console.log("list", list); console.log("list", list);
console.log("res.policyIdx - 1 ", res.policyIdx); console.log("res.policyIdx - 1 ", res.policyIdx);
list[res.policyIdx - 1 >= 0 ? res.policyIdx - 1 : 0].isSelected = true; list[res.policyIdx - 1 >= 0 ? res.policyIdx - 1 : 0].isSelected = true;
that.zhengceList = list; that.zhengceList = list;
} else { } else {
that.zhengceList = [{ name: "政策一", value: 1, isSelected: true }]; that.zhengceList = [{
name: "政策一",
value: 1,
isSelected: true
}];
} }
res.zhengceTextShow = that.G.policyNumToHanZi(res.policyIdx); res.zhengceTextShow = that.G.policyNumToHanZi(res.policyIdx);
// //
res.newZhuchang = res.onSiteInfo.replaceAll("", "\n"); res.newZhuchang = res.onSiteInfo.replaceAll("", "\n");
res.totalZC = res.prevRecordId || (!res.prevRecordId && !res.nextRecordId) ? res.newZhuchang : ""; res.totalZC = res.prevRecordId || (!res.prevRecordId && !res.nextRecordId) ? res.newZhuchang :
"";
if (res.upOnSiteInfo) { if (res.upOnSiteInfo) {
res.totalZC = res.upOnSiteInfo || !res.prevRecordId ? res.upOnSiteInfo.replaceAll("", "\n") + "\n" + res.totalZC : res.totalZC; res.totalZC = res.upOnSiteInfo || !res.prevRecordId ? res.upOnSiteInfo.replaceAll("",
"\n") + "\n" + res.totalZC : res.totalZC;
// console.log("newZhuchang upZhuchang", res.upZhuchang + "123" + res.newZhuchang); // console.log("newZhuchang upZhuchang", res.upZhuchang + "123" + res.newZhuchang);
} }
if (res.upAgencyName == "江西人海" && res.totalZC.indexOf(" ") != -1) { if (res.upAgencyName == "江西人海" && res.totalZC.indexOf(" ") != -1) {
@ -593,6 +716,10 @@ export default {
if (res.createTime) { if (res.createTime) {
res.create_time = that.G.getPointTime(res.createTime, "YY--MM--DD HH:MM"); res.create_time = that.G.getPointTime(res.createTime, "YY--MM--DD HH:MM");
} }
if (res.receptionTime) {
res.reception_time = that.G.getPointTime(res.receptionTime, "YY--MM--DD HH:MM");
}
if (res.interviewTime) { if (res.interviewTime) {
res.interview_time = that.G.getPointTime(res.interviewTime, "YY--MM--DD HH:MM"); res.interview_time = that.G.getPointTime(res.interviewTime, "YY--MM--DD HH:MM");
} }
@ -614,11 +741,8 @@ export default {
that.orderDetail.serveRecords = {}; that.orderDetail.serveRecords = {};
for (var key in res.records) { for (var key in res.records) {
res.records[key].forEach((item, index) => { res.records[key].forEach((item, index) => {
item.desp = item.desp.replaceAll("预约接待时间", "预计到达时间"); item.desp = item.desp.replaceAll("预约接待时间", "预计到达时间");
if (item.desp.substr(item.desp.length - 3, 3) == "备注:") { if (item.desp.substr(item.desp.length - 3, 3) == "备注:") {
item.desp = item.desp.replace(/备注:/g, ""); item.desp = item.desp.replace(/备注:/g, "");
} }
@ -649,7 +773,8 @@ export default {
} }
if (item.createTime) { if (item.createTime) {
item.create_time = that.G.getPointTime(item.createTime, "YY--MM--DD HH:MM"); item.create_time = that.G.getPointTime(item.createTime,
"YY--MM--DD HH:MM");
} }
}); });
} }
@ -702,9 +827,7 @@ export default {
}); });
}, },
handleOpenPeopleModal() { handleOpenPeopleModal() {
this.peopleModal.isShow = true; this.peopleModal.isShow = true;
}, },
handleChoosePeople($item, $index) { handleChoosePeople($item, $index) {
@ -714,15 +837,13 @@ export default {
that.applyInfo.applyUserId = $item.id; that.applyInfo.applyUserId = $item.id;
// that.chooseUserIndex = $index; // that.chooseUserIndex = $index;
that.$forceUpdate(); that.$forceUpdate();
}, },
handleSubmitChoosePeople(){ handleSubmitChoosePeople() {
let that = this; let that = this;
that.G.Post( that.G.Post(
that.api.order_submitPeople, that.api.order_submitPeople, {
{
userApplyOrderId: that.oid, userApplyOrderId: that.oid,
userId: that.chooseUserId, userId: that.chooseUserId,
}, },
@ -739,7 +860,6 @@ export default {
// handleOpenstatisticModal // handleOpenstatisticModal
handleOpenstatisticModal() { handleOpenstatisticModal() {
this.statisticsModal.isShow = true; this.statisticsModal.isShow = true;
}, },
handleChooseStatistics($item, $index) { handleChooseStatistics($item, $index) {
@ -749,15 +869,13 @@ export default {
// that.applyInfo.applyUserId = $item.id; // that.applyInfo.applyUserId = $item.id;
// that.chooseUserIndex = $index; // that.chooseUserIndex = $index;
that.$forceUpdate(); that.$forceUpdate();
}, },
handleSubmitChoosePeople(){ handleSubmitChoosePeople() {
let that = this; let that = this;
that.G.Post( that.G.Post(
that.api.order_updateStatistic, that.api.order_updateStatistic, {
{
userApplyOrderId: that.oid, userApplyOrderId: that.oid,
statistic: that.statisticsValue, statistic: that.statisticsValue,
}, },
@ -772,7 +890,6 @@ export default {
); );
}, },
handleOpenInfoModal() { handleOpenInfoModal() {
let that = this; let that = this;
that.infoModal.isShow = true; that.infoModal.isShow = true;
@ -781,7 +898,8 @@ export default {
let that = this, let that = this,
params = {}; params = {};
params = { params = {
"姓名:": this.orderDetail.userName + "/" + this.orderDetail.sex == 1 ? "男" : "女" + "/" + this.orderDetail.age + "岁/" + this.orderDetail.nation, "姓名:": this.orderDetail.userName + "/" + this.orderDetail.sex == 1 ? "男" : "女" + "/" + this
.orderDetail.age + "岁/" + this.orderDetail.nation,
"身份证号:": this.orderDetail.idCard ? this.orderDetail.idCard : "-", "身份证号:": this.orderDetail.idCard ? this.orderDetail.idCard : "-",
"企业岗位:": this.orderDetail.storeJobName ? this.orderDetail.storeJobName : "-", "企业岗位:": this.orderDetail.storeJobName ? this.orderDetail.storeJobName : "-",
电话: this.orderDetail.tel ? this.orderDetail.tel : "-", 电话: this.orderDetail.tel ? this.orderDetail.tel : "-",
@ -801,7 +919,8 @@ export default {
if (this.orderDetail.status == 50) { if (this.orderDetail.status == 50) {
params["离职时间"] = this.orderDetail.leave_time ? this.orderDetail.leave_time : "-"; params["离职时间"] = this.orderDetail.leave_time ? this.orderDetail.leave_time : "-";
} }
if (this.orderDetail.status == 21 || this.orderDetail.status == 26 || this.orderDetail.status == 35 || this.orderDetail.status == 45) { if (this.orderDetail.status == 21 || this.orderDetail.status == 26 || this.orderDetail.status == 35 || this
.orderDetail.status == 45) {
params["完成时间"] = this.orderDetail.update_time ? this.orderDetail.update_time : "-"; params["完成时间"] = this.orderDetail.update_time ? this.orderDetail.update_time : "-";
} }
that.G.copyText(that.G.objToStr(params, "copy")); that.G.copyText(that.G.objToStr(params, "copy"));
@ -842,7 +961,8 @@ export default {
goInfo($info, $title, $type, $dis) { goInfo($info, $title, $type, $dis) {
uni.setStorageSync("APPLY_OBJ", this.orderDetail); uni.setStorageSync("APPLY_OBJ", this.orderDetail);
uni.navigateTo({ uni.navigateTo({
url: "/root/detail/jobDesp?info=" + $info + "&time=" + this.orderDetail.create_time + "&title=" + $title + "&type=" + $type + "&dis=" + $dis, url: "/root/detail/jobDesp?info=" + $info + "&time=" + this.orderDetail.create_time +
"&title=" + $title + "&type=" + $type + "&dis=" + $dis,
}); });
}, },
handleOpenRemarkModal() { handleOpenRemarkModal() {
@ -858,7 +978,7 @@ export default {
name: that.orderDetail.interviewAddress, name: that.orderDetail.interviewAddress,
latitude: Number(that.orderDetail.interviewLat), latitude: Number(that.orderDetail.interviewLat),
longitude: Number(that.orderDetail.interviewLng), longitude: Number(that.orderDetail.interviewLng),
success: function () {}, success: function() {},
}); });
} else { } else {
uni.showToast({ uni.showToast({
@ -877,8 +997,7 @@ export default {
return false; return false;
} }
that.G.Post( that.G.Post(
that.api.order_submitRemark, that.api.order_submitRemark, {
{
orderId: that.oid, orderId: that.oid,
desp: that.recordModal.remark, desp: that.recordModal.remark,
}, },
@ -911,8 +1030,7 @@ export default {
submitTime($type, $time) { submitTime($type, $time) {
let that = this; let that = this;
that.G.Post( that.G.Post(
that.api.order_submitTime, that.api.order_submitTime, {
{
orderId: that.oid, orderId: that.oid,
timeStr: $time, timeStr: $time,
type: $type, type: $type,
@ -934,9 +1052,9 @@ export default {
} }
// //
let ids = let ids =
that.orderDetail.onSiteUsers.length == 0 that.orderDetail.onSiteUsers.length == 0 ?
? "" "" :
: that.orderDetail.onSiteUsers that.orderDetail.onSiteUsers
.map((item) => { .map((item) => {
return item.userId; return item.userId;
}) })
@ -988,8 +1106,7 @@ export default {
return false; return false;
} }
that.G.Post( that.G.Post(
that.api.order_residentSubmit_new, that.api.order_residentSubmit_new, {
{
onSiteUserIds: ids.join(","), onSiteUserIds: ids.join(","),
relationId: that.relationId, relationId: that.relationId,
orderId: that.oid, orderId: that.oid,
@ -1051,8 +1168,7 @@ export default {
} }
that.applyInfo.policyIdx = ids[0]; that.applyInfo.policyIdx = ids[0];
that.G.Post( that.G.Post(
that.api.order_update_detail, that.api.order_update_detail, {
{
...that.applyInfo, ...that.applyInfo,
}, },
(res) => { (res) => {
@ -1070,13 +1186,13 @@ export default {
return this.G.setReturnFee(returnFee, returnFeeType); return this.G.setReturnFee(returnFee, returnFeeType);
}, },
}, },
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.p-root-detail-apply { .p-root-detail-apply {
.g-components-panel-fixed { .g-components-panel-fixed {
border-top: 1rpx solid #fff; border-top: 1rpx solid #fff;
} }
} }
</style> </style>

@ -1,32 +1,27 @@
<template> <template>
<view class="p-root-detail-job-desq g_w_all g_h_all g_bg_f_5 g_kuaishou"> <view class="p-root-detail-job-desq g_w_all g_h_all g_bg_f_5 g_kuaishou">
<view <view class="g_flex_column_between" v-if="type == 'view'" :style="{
class="g_flex_column_between"
v-if="type == 'view'"
:style="{
height: pheight + 'px', height: pheight + 'px',
overflow: 'auto', overflow: 'auto',
}" }">
>
<view class="g_h_10 g_flex_none g_bg_f_5"></view> <view class="g_h_10 g_flex_none g_bg_f_5"></view>
<view class="g_flex_1 g_bg_f g_pl_16 g_pr_16 g_pt_8 g_pb_8" style="overflow-y: auto"> <view class="g_flex_1 g_bg_f g_pl_16 g_pr_16 g_pt_8 g_pb_8" style="overflow-y: auto">
<view class="g_fs_16 g_c_6 g_mb_16">{{ time }}</view> <!-- <view class="g_fs_16 g_c_6 g_mb_16">{{ time }}</view> -->
<text class="g_fs_16 g_c_6 g_pb_100" :user-select="true" style="word-break: break-all; white-space: pre-line">{{info}}</text> <text class="g_fs_16 g_c_6 g_pb_100" :user-select="true"
style="word-break: break-all; white-space: pre-line">{{info}}</text>
</view> </view>
</view> </view>
<view class="g_bg_f g_h_all g_flex_column_between" v-if="type == 'edit'"> <view class="g_bg_f g_h_all g_flex_column_between" v-if="type == 'edit'">
<view class="g_h_10 g_flex_none g_bg_f_5"></view> <view class="g_h_10 g_flex_none g_bg_f_5"></view>
<view <view class="g_flex_1 g_bg_f g_pt_8 g_pb_8 g_pl_16 g_pr_16" :style="{
class="g_flex_1 g_bg_f g_pt_8 g_pb_8 g_pl_16 g_pr_16"
:style="{
'max-height': height + 'rpx', 'max-height': height + 'rpx',
overflow: 'auto', overflow: 'auto',
}" }">
> <u-input v-model="applyInfo.globalText" type="textarea" :border="false" :auto-height="true"
<u-input v-model="applyInfo.globalText" type="textarea" :border="false" :auto-height="true" :maxlength="1000" :height="height" :clearable="false" /> :maxlength="1000" :height="height" :clearable="false" />
</view> </view>
<view class="g_h_100 g_flex_none g_bg_f_5"></view> <view class="g_h_100 g_flex_none g_bg_f_5"></view>
<g-panel-fixed> <!-- <g-panel-fixed>
<view class="g_flex_row_between"> <view class="g_flex_row_between">
<view class="g_flex_c" style="width: 50%"> <view class="g_flex_c" style="width: 50%">
<g-button btnText="取消" type="default" size="small" @clickBtn="goBack"></g-button> <g-button btnText="取消" type="default" size="small" @clickBtn="goBack"></g-button>
@ -35,7 +30,7 @@
<g-button btnText="保存" type="primary" size="small" @clickBtn="goReturn"></g-button> <g-button btnText="保存" type="primary" size="small" @clickBtn="goReturn"></g-button>
</view> </view>
</view> </view>
</g-panel-fixed> </g-panel-fixed> -->
</view> </view>
<view class="g_bg_f g_h_all g_flex_column_between g_bg_f_5" v-if="type == 'form'"> <view class="g_bg_f g_h_all g_flex_column_between g_bg_f_5" v-if="type == 'form'">
<view class="g_h_10 g_flex_none g_bg_f_5"></view> <view class="g_h_10 g_flex_none g_bg_f_5"></view>
@ -46,16 +41,20 @@
</view> </view>
<view class="showdoc g_flex_row_start g_clear_scroll g_pb_12"> <view class="showdoc g_flex_row_start g_clear_scroll g_pb_12">
<view class="g_flex_row_start_none menu-obj"> <view class="g_flex_row_start_none menu-obj">
<view v-for="item in disList" :key="item.id" class="menu-btn g_flex_column_center" :class="applyInfo.agencyReturnFeeType == item.id ? 'menu-active' : ''" @click="changeDis(item)"> <view v-for="item in disList" :key="item.id" class="menu-btn g_flex_column_center"
:class="applyInfo.agencyReturnFeeType == item.id ? 'menu-active' : ''"
@click="changeDis(item)">
<view class="btn g_radius_4 g_pl_8 g_pr_8 g_pt_4 g_pb_4 g_fs_12">{{ item.text }}</view> <view class="btn g_radius_4 g_pl_8 g_pr_8 g_pt_4 g_pb_4 g_fs_12">{{ item.text }}</view>
</view> </view>
</view> </view>
</view> </view>
<view class="g_flex_row_around flex_center g_bg_f g_h_44 g_pl_10 g_pr_10 g_radius_8" style="width: calc(100% - 20px); margin: 0 auto"> <view class="g_flex_row_around flex_center g_bg_f g_h_44 g_pl_10 g_pr_10 g_radius_8"
style="width: calc(100% - 20px); margin: 0 auto">
<view class="g_mr_16"> <view class="g_mr_16">
{{ disList[applyInfo.agencyReturnFeeType].pre }} {{ disList[applyInfo.agencyReturnFeeType].pre }}
</view> </view>
<u-input height="22" v-model="applyInfo.agencyReturnFee" type="digit" class="g_flex_1 weui-input" placeholder="仅数字" placeholder-style="color:#999" /> <u-input height="22" v-model="applyInfo.agencyReturnFee" type="digit" class="g_flex_1 weui-input"
placeholder="仅数字" placeholder-style="color:#999" />
<view class=""> <view class="">
{{ disList[applyInfo.agencyReturnFeeType].suffix }} {{ disList[applyInfo.agencyReturnFeeType].suffix }}
</view> </view>
@ -73,7 +72,7 @@
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
info: "-", info: "-",
@ -85,8 +84,7 @@ export default {
pheight: 800, pheight: 800,
disActive: 0, disActive: 0,
result: "", result: "",
disList: [ disList: [{
{
id: 0, id: 0,
text: "按小时", text: "按小时",
pre: "按时", pre: "按时",
@ -193,8 +191,7 @@ export default {
} }
delete that.applyInfo.globalText; delete that.applyInfo.globalText;
that.G.Post( that.G.Post(
that.api.order_update_detail, that.api.order_update_detail, {
{
...that.applyInfo, ...that.applyInfo,
agencyReturnFee: that.applyInfo.agencyReturnFee * 100, agencyReturnFee: that.applyInfo.agencyReturnFee * 100,
}, },
@ -212,11 +209,11 @@ export default {
this.applyInfo.agencyReturnFeeType = e.id; this.applyInfo.agencyReturnFeeType = e.id;
}, },
}, },
}; };
</script> </script>
<style lang="less"> <style lang="less">
.p-root-detail-job-desq { .p-root-detail-job-desq {
.menu-btn { .menu-btn {
margin-right: 8px; margin-right: 8px;
@ -239,5 +236,5 @@ export default {
color: #6a81ff; color: #6a81ff;
} }
} }
} }
</style> </style>
Loading…
Cancel
Save