Browse Source

系统高级配置

feature-bug
是小王呀\24601 7 months ago
parent
commit
c3e721e655
  1. 20
      src/views/modules/shequzhili/event/cpts/process-form-complete.vue
  2. 23
      src/views/modules/workSys/sysConfigure/index.vue

20
src/views/modules/shequzhili/event/cpts/process-form-complete.vue

@ -399,6 +399,7 @@ function iniFmData() {
export default { export default {
data() { data() {
return { return {
hotlineSpecialTeamReplyFlag:false,
binaryOptionList, binaryOptionList,
nonComplianceType, nonComplianceType,
satisfactionType, satisfactionType,
@ -498,6 +499,7 @@ showHotline:false,
}, },
props: { props: {
eventId: { eventId: {
type: String, type: String,
default: "", default: "",
@ -565,16 +567,18 @@ showHotline:false,
if (this.sysAdvancedList.hotlineSpecialTeamFlag==1) { if (this.sysAdvancedList.hotlineSpecialTeamFlag==1) {
this.showHotline=true this.showHotline=true
} }
console.log(this.dataRule,"dskldsklfj"); if (this.sysAdvancedList.hotlineSpecialTeamReplyFlag==0) {
if (this.sysAdvancedList.columnsIgnore) { let keysToDelete=['respondent','respondentPhone','verified','solveState']
console.log(this.dataRule,"dskldsklfj"); keysToDelete.forEach(key => {
this.dataRule={} this.$delete(this.dataRule, key);
this.dataRule = { });
content: [
{ required: true, message: "办理情况不能为空", trigger: "blur" },
],
} }
console.log(this.dataRule,"dskldsklfj"); console.log(this.dataRule,"dskldsklfj");
if (this.sysAdvancedList.columnsIgnore) {
let keysToDelete=['returnVisitor','returnTime','loseContact','putThrough','visitComments','cooperate','satisfaction']
keysToDelete.forEach(key => {
this.$delete(this.dataRule, key);
});
} }

23
src/views/modules/workSys/sysConfigure/index.vue

@ -164,12 +164,31 @@
<div style="display: flex; flex-direction: row; align-items: center;"> <div style="display: flex; flex-direction: row; align-items: center;">
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div> <div style="width: 10px; height: 10px; background-color: #4e89ec"></div>
<div style="font-weight:800;font-size: 14px; margin-left: 10px;"> <div style="font-weight:800;font-size: 14px; margin-left: 10px;">
是否需要开启答复情况回访情况选项 是否需要开启答复情况选项
</div> </div>
</div> </div>
<div <div
style=" margin: 20px;font-size: 14px; display: flex; align-items: center;"> style=" margin: 20px;font-size: 14px; display: flex; align-items: center;">
若开启答复情况回访情况选项事件办结时需要填写相应的答复回访信息 若开启答复情况选项事件办结时需要填写相应的答复信息
</div>
</div>
<el-switch v-model="sysAdvancedList.hotlineSpecialTeamReplyFlag"
active-color="#13ce66" :active-value=1 :inactive-value=0
inactive-color="#eaecf0" @change="handleChange()">
</el-switch>
</div>
<div
style=" margin-top: 20px;display: flex;border-bottom: 1px dotted rgba(0, 0, 0, 0.3); flex-direction: row; align-items: center; justify-content: space-between;">
<div>
<div style="display: flex; flex-direction: row; align-items: center;">
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div>
<div style="font-weight:800;font-size: 14px; margin-left: 10px;">
是否需要开启回访情况选项
</div>
</div>
<div
style=" margin: 20px;font-size: 14px; display: flex; align-items: center;">
若开启回访情况选项事件办结时需要填写相应的回访信息
</div> </div>
</div> </div>
<el-switch v-model="sysAdvancedList.columnsIgnore" <el-switch v-model="sysAdvancedList.columnsIgnore"

Loading…
Cancel
Save