Commit ea329239 authored by 李明环(东信)'s avatar 李明环(东信)
parents d6be21f2 853c086a
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
use-default-slot use-default-slot
> >
<p :class="{ placeholder: !item.majorText }" class="text-single" style="width: 100%"> <p :class="{ placeholder: !item.majorText }" class="text-single" style="width: 100%">
{{ item.majorText || "请选择专业" }} {{ item.majorText || "不限" }}
</p> </p>
</wd-col-picker> </wd-col-picker>
</form-item> </form-item>
...@@ -237,12 +237,7 @@ ...@@ -237,12 +237,7 @@
</form-item> </form-item>
<form-row :fill="false"> <form-row :fill="false">
<form-item title="招聘人数" icon="edit" :required="true"> <form-item title="招聘人数" icon="edit" :required="true">
<input <input type="number" v-model="item.recruitmentNumber" placeholder="请输入招聘人数" />
@input="inputWorkNum($event, item)"
type="number"
v-model="item.recruitmentNumber"
placeholder="请输入招聘人数"
/>
</form-item> </form-item>
<form-item title="联系电话" icon="edit" :required="true"> <form-item title="联系电话" icon="edit" :required="true">
<input type="number" v-model="item.contactPhone" placeholder="请输入联系电话" /> <input type="number" v-model="item.contactPhone" placeholder="请输入联系电话" />
...@@ -432,9 +427,6 @@ onLoad(({ articleId, type }) => { ...@@ -432,9 +427,6 @@ onLoad(({ articleId, type }) => {
} }
}); });
}); });
function inputWorkNum(e, item) {
console.log("e", e, item);
}
getMajorTreeApi().then(res => { getMajorTreeApi().then(res => {
console.log(res); console.log(res);
if (res.code === 200) { if (res.code === 200) {
...@@ -836,8 +828,7 @@ const submitFrom = () => { ...@@ -836,8 +828,7 @@ const submitFrom = () => {
"minAgeRequirement", "minAgeRequirement",
"contactPhone", "contactPhone",
"contactPerson", "contactPerson",
"recruitmentNumber", "recruitmentNumber"
"majorRequirement"
], ],
"post" "post"
) )
......
...@@ -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