工单详情

master
zsk 8 months ago
parent 6128cab193
commit c4afa90ac4

@ -34,7 +34,8 @@
</block>
</view>
<view class="g_fs_12 g_c_9" :class="itm.desp == '' ? '' : 'g_mt_4'">
<text class>{{ itm.creator }}{{ itm.create_time }}</text>
<text class>{{ itm.create_time }}</text>
<!-- {{ itm.creator }} -->
</view>
</view>
</view>
@ -60,12 +61,73 @@
</block> -->
</view>
<view class="g_fs_12 g_c_9" :class="itm.desp == '' ? '' : 'g_mt_4'">
<text class>{{ itm.creator }}{{ itm.create_time }}</text>
<text class>{{ itm.create_time }}</text>
<!-- {{ itm.creator }} -->
</view>
</view>
</view>
</block>
</view>
<u-popup v-model="infoModal.isShow" mode="center" border-radius="16" width="630" :mask-close-able="true">
<view class="g_flex_column_center">
<view class="g_flex_row_center g_pt_32 g_fs_18 g_fw_600 g_mb_20">报名信息</view>
<scroll-view scroll-y class="g_pb_32 g_flex_row_center g_flex_1" style="max-height: 600px; box-sizing: border-box">
<view class="g_pb_48 g_pr_16 g_pl_16">
<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_fw_600 g_c_3 g_flex_1 g_ell_1"> {{ orderDetail.userName }}{{ orderDetail.setTitle }} </view>
</view>
<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_1 g_ell_1">
{{ orderDetail.tel ? orderDetail.tel : "-" }}
</view>
</view>
<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_1 g_ell_1">
{{ orderDetail.idCard ? orderDetail.idCard : "-" }}
</view>
</view>
<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_1">
{{ orderDetail.address ? orderDetail.address : "-" }}
</view>
</view>
<view style="border-top: 1px dashed #eeeeee;margin-top: 10px;margin-bottom: 10px;"></view>
<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_fw_600 g_flex_1 g_ell_1">
{{ orderDetail.storeJobName ? orderDetail.storeJobName : "-" }}
</view>
</view>
<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_1 g_white_p">
{{ orderDetail.employeeSalary ? orderDetail.employeeSalary : "-" }}
</view>
</view>
<view class="item g_flex_row_start g_mb_8" v-if="isCreator">
<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_1 g_white_p">
{{ orderDetail.policy ? orderDetail.policy : "-" }}
</view>
</view>
</view>
</scroll-view>
<view class="g_flex_row_between g_border_e_t g_bg_f" style="position: absolute; bottom: 0; width: 100%">
<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_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>
</u-popup>
</view>
</template>
@ -77,6 +139,10 @@ export default {
return {
dateUtil: timeUtil,
isCreator: false,
infoModal: {
isShow: false,
},
orderDetail: {},
};
},
props: {
@ -106,12 +172,46 @@ export default {
},
methods: {
goInfo(e) {
var that = this;
console.log("跟进记录组件内点击", e);
this.$emit("clickInfo", {
info: e.policy,
time: e.create_time,
type: "view",
title: "查看服务费",
// console.log(JSON.parse(e.policy));
// let that = this,
// params = {};
// params = {
// info: e.info ? JSON.parse(e.policy) : "-",
// time: e.time,
// title: e.title,
// type: e.type,
// };
that.orderDetail = JSON.parse(e.policy);
that.orderDetail.setTitle = that.G.titleToStr(that.orderDetail);
that.infoModal.isShow = true;
// this.$emit("clickInfo", {
// info: e.policy,
// time: e.create_time,
// type: "view",
// title: "",
// });
},
handleCopy() {
let that = this;
var text = "姓名:" + that.orderDetail.userName + "/" + (that.orderDetail.sex == 1 ? "男" : "女") + "/" + that.orderDetail.age + "岁" + (that.orderDetail.nation == "族" ? "" : "/" + that.orderDetail.nation) + "\n电话" + (that.orderDetail.tel == "" || that.orderDetail.tel == undefined || that.orderDetail.tel == null ? "-" : that.orderDetail.tel) + "\n身份证号" + (that.orderDetail.idCard == "" ? "-" : that.orderDetail.idCard) + "\n家庭地址" + (that.orderDetail.address == "" || that.orderDetail.address == undefined || that.orderDetail.address == null ? "-" : that.orderDetail.address) + "\n报名岗位" + that.orderDetail.storeJobName + "\n员工薪资" + (that.orderDetail.employeeSalary || "-") + (that.isCreator ? "\n代理政策" + that.orderDetail.policy : "");
uni.setClipboardData({
data: text,
success(res) {
uni.getClipboardData({
success(res) {
console.log(res.data); // data
uni.showToast({
title: "复制成功",
icon: "success",
});
setTimeout(()=>{
that.infoModal.isShow = false;
},500)
},
});
},
});
},
},
@ -147,7 +247,7 @@ export default {
text-align: center;
line-height: 20px;
border-radius: 50%;
background: #1890ff;
background: #cccccc;
color: #ffffff;
}
.des {
@ -159,7 +259,7 @@ export default {
height: 50px;
font-size: 16px;
font-weight: bold;
color: #1890ff;
color: #333;
}
.item-group {
&:last-child {
@ -199,4 +299,14 @@ export default {
}
}
}
.g-components-panel-record .item-group:first-child .iconfont{
color: #ffffff;
background: #1890ff;
}
.g-components-panel-record .item-group:first-child .des{
color: #1890ff;
}
</style>

@ -1,5 +1,5 @@
{
"name" : "人海劳务",
"name" : "伯才工作",
"appid" : "__UNI__860FDF3",
"description" : "蒲公英uni版本",
"versionName" : "1.0.0",

@ -614,6 +614,11 @@ export default {
that.orderDetail.serveRecords = {};
for (var key in res.records) {
res.records[key].forEach((item, index) => {
item.desp = item.desp.replaceAll("预约接待时间", "预计到达时间");
if (item.desp.substr(item.desp.length - 3, 3) == "备注:") {
item.desp = item.desp.replace(/备注:/g, "");
}

@ -740,9 +740,6 @@ export default {
that.orderDetail.policy = params.info;
that.infoModal.isShow = true;
// uni.navigateTo({
// url: "/root/detail/jobDesp?" + that.G.objToStr(params),
// });
},
goInfo($info, $title, $type, $dis) {
uni.setStorageSync("APPLY_OBJ", this.orderDetail);

@ -9,7 +9,8 @@
$filter_bg_color: #e3ecfd;
$main_bg_color: #3578f6;
$main_color: #3578f6;
// $main_color: #3578f6
$main_color: #1890ff;
image {
vertical-align: top;
}

Loading…
Cancel
Save