Commit c10f3be3 by cen

fix: 接待报备审核

1 parent a2f9f191
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
:style="{ width: '432px' }" :style="{ width: '432px' }"
v-model="formData.dateTime" v-model="formData.dateTime"
type="datetimerange" type="datetimerange"
range-separator="-" range-separator="至"
format="yyyy-MM-dd HH:mm" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm"
start-placeholder="开始时间" start-placeholder="开始时间"
......
...@@ -243,6 +243,7 @@ export default { ...@@ -243,6 +243,7 @@ export default {
}, },
handleTextBoxFocus() { handleTextBoxFocus() {
this.$refs.TextBox.setEdit(this.formData.selectionRule) this.$refs.TextBox.setEdit(this.formData.selectionRule)
this.$refs.TextBox.forbidEdit()
} }
} }
} }
...@@ -359,7 +360,6 @@ export default { ...@@ -359,7 +360,6 @@ export default {
} }
.editList { .editList {
width: 580px; width: 580px;
height: 240px;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<el-button <el-button
type="text" type="text"
@click="handleAccountConfirm(scope.scope)" @click="handleAccountConfirm(scope.scope)"
v-if="scope.scope.status != 1 && scope.scope.status != 2" v-if="scope.scope.status != 2"
data-event-code="activity_management_import" data-event-code="activity_management_import"
> >
导入名单 导入名单
...@@ -230,14 +230,15 @@ ...@@ -230,14 +230,15 @@
/> />
</div> </div>
</div> </div>
<div style="display: flex; align-items: center"> <div
style="display: flex; align-items: center"
@click.stop="addNew"
>
<i <i
class="el-icon-circle-plus-outline" class="el-icon-circle-plus-outline"
style="color: #2a58ad; font-size: 20px; margin-right: 3px" style="color: #2a58ad; font-size: 20px; margin-right: 3px"
/> />
<el-button type="text" @click.stop="addNew" <el-button type="text">新增一项</el-button>
>新增一项</el-button
>
</div> </div>
</div> </div>
</el-select> </el-select>
...@@ -608,7 +609,7 @@ export default { ...@@ -608,7 +609,7 @@ export default {
getActivityCyclePage({ activityId: this.currentRow.id }).then((res) => { getActivityCyclePage({ activityId: this.currentRow.id }).then((res) => {
console.log(res) console.log(res)
this.periodList = res || [] this.periodList = res.length > 0 ? res : [{}]
}) })
}, },
handleNameBlur(index) {}, handleNameBlur(index) {},
......
...@@ -15,23 +15,23 @@ ...@@ -15,23 +15,23 @@
<div class="dialog-title-box"> <div class="dialog-title-box">
<div class="dialog-name">{{ info.staffName }}</div> <div class="dialog-name">{{ info.staffName }}</div>
<div class="dialog-title1"> <div class="dialog-title1">
<div style="width: 160px"> <div style="width: 160px" class="flex">
<span class="title-text">手机号:</span> <span class="title-text">手机号:</span>
<span class="title-text">{{ info.staffPhone }}</span> <span class="title-text flex-1">{{ info.staffPhone }}</span>
</div> </div>
<div> <div class="flex">
<span class="title-text">所属门店:</span> <span class="title-text">所属门店:</span>
<span class="title-text">{{ info.merchantName }}</span> <span class="title-text1">{{ info.merchantName }}</span>
</div> </div>
</div> </div>
<div class="dialog-title1"> <div class="dialog-title1">
<div style="width: 160px"> <div style="width: 160px" class="flex">
<span class="title-text">客户姓名:</span> <span class="title-text">客户姓名:</span>
<span class="title-text">{{ info.customerName }}</span> <span class="title-text">{{ info.customerName }}</span>
</div> </div>
<div> <div class="flex-1 flex">
<span class="title-text">缺失原因:</span> <span class="title-text">缺失原因:</span>
<span class="title-text">{{ info.reason }}</span> <span class="title-text1 flex-1">{{ info.reason }}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -189,6 +189,19 @@ export default { ...@@ -189,6 +189,19 @@ export default {
margin-bottom: 8px; margin-bottom: 8px;
} }
} }
.title-text1 {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100px;
display: block;
}
.flex {
display: flex;
}
.flex-1 {
flex: 1;
}
.reject-input { .reject-input {
::v-deep .el-textarea__inner { ::v-deep .el-textarea__inner {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div class="dialog-title1"> <div class="dialog-title1">
<div style="width: 160px"> <div style="width: 160px">
<span class="title-text">手机号:</span> <span class="title-text">手机号:</span>
<span class="title-text">{{ info.mobile }}</span> <span class="title-text">{{ info.staffPhone }}</span>
</div> </div>
<div> <div>
<span class="title-text">所属门店:</span> <span class="title-text">所属门店:</span>
...@@ -56,16 +56,18 @@ ...@@ -56,16 +56,18 @@
:color="index == 0 ? '#2a58ad' : ''" :color="index == 0 ? '#2a58ad' : ''"
> >
<div class="status-box"> <div class="status-box">
<span class="status-box-text">{{ <span class="status-box-text w100">{{
activity.auditStatus == "1" ? "【已通过】" : "【已驳回】" activity.auditStatus == "1" ? "【已通过】" : "【已驳回】"
}}</span> }}</span>
<span class="status-box-text">{{ <span class="status-box-text flex-1">{{
activity.auditOpinion || "-" activity.auditOpinion || "-"
}}</span> }}</span>
</div> </div>
<div class="time-box"> <div class="time-box">
<span class="time-box-text">{{ activity.auditUser }}</span> <span class="time-box-text w100">{{ activity.auditUser }}</span>
<span class="time-box-text">{{ activity.auditTime }}</span> <span class="time-box-text">{{
Util.dateFormate(activity.auditTime, "YYYY-MM-DD HH:mm:ss")
}}</span>
</div> </div>
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
...@@ -92,10 +94,12 @@ ...@@ -92,10 +94,12 @@
<script> <script>
import { reportApproval, reportDetail } from "@/api/earlyWarningManager" import { reportApproval, reportDetail } from "@/api/earlyWarningManager"
import { color } from "echarts" import { color } from "echarts"
import { Util, deepClone } from "@/common/util"
export default { export default {
name: "ExamineDialog", name: "ExamineDialog",
data() { data() {
return { return {
Util,
loading: true, loading: true,
userInfo: this.$store.state.d2admin.user.info, userInfo: this.$store.state.d2admin.user.info,
// txtObj: { // txtObj: {
...@@ -274,6 +278,12 @@ export default { ...@@ -274,6 +278,12 @@ export default {
margin-right: 8px; margin-right: 8px;
} }
} }
.flex-1 {
flex: 1;
}
.w100 {
width: 100px;
}
.time-box { .time-box {
display: flex; display: flex;
align-items: center; align-items: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!