1

parent 85864359
...@@ -22,6 +22,18 @@ ...@@ -22,6 +22,18 @@
</view> </view>
</view> </view>
<view class="tip" v-if="!id">上传图片(可上传0-3张图片)</view> <view class="tip" v-if="!id">上传图片(可上传0-3张图片)</view>
<view class="msg-t">
<view class="title">投诉时间</view>
<view class="hf">{{ $formatTimestamp(detail.createTime, "YYYY-MM-DD hh:mm") }}</view>
</view>
<view class="msg-t">
<view class="title">回复时间</view>
<view class="hf">{{ $formatTimestamp(detail.updateTime, "YYYY-MM-DD hh:mm") }}</view>
</view>
<view class="msg-t">
<view class="title">回复人</view>
<view class="hf">{{ detail.operator || "" }}</view>
</view>
<view class="msg"> <view class="msg">
<view class="title">平台回复</view> <view class="title">平台回复</view>
<view class="hf">{{ detail.replyMessage || "暂无回复" }}</view> <view class="hf">{{ detail.replyMessage || "暂无回复" }}</view>
...@@ -144,6 +156,24 @@ const feedbackAddFn = () => { ...@@ -144,6 +156,24 @@ const feedbackAddFn = () => {
margin-top: 16rpx; margin-top: 16rpx;
} }
} }
.msg-t {
padding-top: 32rpx;
display: flex;
align-items: center;
justify-content: space-between;
.title {
font-size: 32rpx;
font-weight: 600;
color: #1b2026;
position: relative;
}
.hf {
font-size: 28rpx;
line-height: 36rpx;
color: #4e5969;
margin-top: 16rpx;
}
}
.title { .title {
font-size: 32rpx; font-size: 32rpx;
font-weight: 600; font-weight: 600;
......
...@@ -106,6 +106,12 @@ instance.interceptors.response.use( ...@@ -106,6 +106,12 @@ instance.interceptors.response.use(
} }
}); });
} else if (code == 5) {
uni.showModal({
title: "企业用户被禁用",
showCancel: false,
confirmText: "确定"
});
} }
}, },
error => { error => {
......
...@@ -120,6 +120,8 @@ export const validateForm = (formData, requiredFields, type) => { ...@@ -120,6 +120,8 @@ export const validateForm = (formData, requiredFields, type) => {
} else if (fieldValue === null || fieldValue === undefined || fieldValue === "") { } else if (fieldValue === null || fieldValue === undefined || fieldValue === "") {
// const title = fieldMapping[field] || (type === "post" ? "岗位信息" : "表单"); // const title = fieldMapping[field] || (type === "post" ? "岗位信息" : "表单");
console.log('fieldMapping[field]', field);
const title = fieldMapping[field] || (type === "post" ? "相关信息" : "相关信息"); const title = fieldMapping[field] || (type === "post" ? "相关信息" : "相关信息");
uni.showToast({ uni.showToast({
title: `请${type === "post" ? "完善" : "完善"}${title}!`, title: `请${type === "post" ? "完善" : "完善"}${title}!`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment