修改详情
This commit is contained in:
parent
57f72f18e0
commit
4f6f8128fe
@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style="background-color: #f1f3f5">
|
<div style="background-color: #f1f3f5">
|
||||||
<div slot="footer" class="topfooter">
|
<div slot="footer" class="topfooter">
|
||||||
<el-tabs v-model="activeName" @tab-click="handleClick">
|
<el-tabs v-model="activeNametab" @tab-click="handleClick">
|
||||||
<el-tab-pane label="画像审核" name="portrait"></el-tab-pane>
|
<el-tab-pane label="画像审核" name="portrait"></el-tab-pane>
|
||||||
<el-tab-pane label="路径审核" name="route"></el-tab-pane>
|
<el-tab-pane label="路径审核" name="route"></el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<el-button size="mini" @click="cancel">取 消</el-button>
|
<el-button size="mini" @click="cancel">取 消</el-button>
|
||||||
@ -13,7 +13,8 @@
|
|||||||
<el-button size="mini" type="info" @click="ignore">忽略</el-button>
|
<el-button size="mini" type="info" @click="ignore">忽略</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<!-- 画像审核 -->
|
||||||
|
<div class="card" v-if="activeNametab=='portrait'">
|
||||||
<div class="cardleft">
|
<div class="cardleft">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<div style="display: flex; align-items: center">
|
<div style="display: flex; align-items: center">
|
||||||
@ -124,170 +125,13 @@
|
|||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 画像编辑右侧 -->
|
||||||
<div class="cardright">
|
<div class="cardright">
|
||||||
<div class="text" style="font-size: 20px">任务:</div>
|
<portrait @portraitlist="portraitlist"></portrait>
|
||||||
<div
|
|
||||||
v-for="item in nodelist"
|
|
||||||
:key="item.manageRouteId"
|
|
||||||
style="margin: 0 auto 30px"
|
|
||||||
>
|
|
||||||
<div class="texts">
|
|
||||||
<div class="text">任务名称: {{ item.routeName }}</div>
|
|
||||||
<div class="text">
|
|
||||||
适用范围: {{ item.suitRange == "IN_THE_HOSPITAL" ? "在院" : "" }}
|
|
||||||
{{ item.suitRange == "DISCHARGE" ? "出院" : "" }}
|
|
||||||
{{ item.suitRange == "OUTPATIENT_SERVICE" ? "门诊" : "" }}
|
|
||||||
{{
|
|
||||||
item.suitRange == "OUTPATIENT_SERVICE_DISCHARGE"
|
|
||||||
? "门诊+出院"
|
|
||||||
: ""
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div v-for="uitem in item.nodeList" :key="uitem.id">
|
|
||||||
<div class="texts">
|
|
||||||
<div class="text" style="font-size: 14px; font-weight: 400">
|
|
||||||
任务内容:{{
|
|
||||||
uitem.taskType == "PHONE_OUTBOUND" ? "电话外呼" : ""
|
|
||||||
}}
|
|
||||||
{{ uitem.taskType == "QUESTIONNAIRE_SCALE" ? "问卷量表" : "" }}
|
|
||||||
{{ uitem.taskType == "PROPAGANDA_ARTICLE" ? "宣教文案" : "" }}
|
|
||||||
{{ uitem.taskType == "TEXT_REMIND" ? "文字提醒" : "" }}
|
|
||||||
{{ uitem.taskType == "ARTIFICIAL_FOLLOW_UP" ? "人工随访" : "" }}
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'PHONE_OUTBOUND'"
|
|
||||||
>
|
|
||||||
话术模板:{{ uitem.phoneTemplateName }}
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'QUESTIONNAIRE_SCALE'"
|
|
||||||
>
|
|
||||||
问卷模板:{{ uitem.questionnaireName }}
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'QUESTIONNAIRE_SCALE'"
|
|
||||||
>
|
|
||||||
问卷有效期:{{ uitem.questionExpirationDate }}天
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'PROPAGANDA_ARTICLE'"
|
|
||||||
>
|
|
||||||
宣教模板:{{ uitem.propagandaTitle }}
|
|
||||||
</div>
|
|
||||||
<div class="textarea" v-if="uitem.taskType == 'TEXT_REMIND'">
|
|
||||||
提醒内容:{{ uitem.textRemindContent }}
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'ARTIFICIAL_FOLLOW_UP'"
|
|
||||||
>
|
|
||||||
人工随访模板:{{ uitem.questionnaireName }}
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'ARTIFICIAL_FOLLOW_UP'"
|
|
||||||
>
|
|
||||||
人工随访详情:<el-button
|
|
||||||
@click="lookquestion(uitem)"
|
|
||||||
style="padding: 6px 10px"
|
|
||||||
>预览</el-button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'QUESTIONNAIRE_SCALE'"
|
|
||||||
>
|
|
||||||
问卷模板详情:<el-button
|
|
||||||
@click="lookquestion(uitem)"
|
|
||||||
style="padding: 6px 10px"
|
|
||||||
>预览</el-button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'PROPAGANDA_ARTICLE'"
|
|
||||||
>
|
|
||||||
宣教模板详情:<el-button
|
|
||||||
@click="lookpropaganda(uitem)"
|
|
||||||
style="padding: 6px 10px"
|
|
||||||
>预览</el-button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="text"
|
|
||||||
style="font-size: 14px; font-weight: 400"
|
|
||||||
v-if="uitem.taskType == 'PHONE_OUTBOUND'"
|
|
||||||
>
|
|
||||||
话术模板详情:<el-button
|
|
||||||
@click="lookphone(uitem)"
|
|
||||||
style="padding: 6px 10px"
|
|
||||||
>预览</el-button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 话术预览弹框 -->
|
<div class="card" v-else>
|
||||||
<el-dialog
|
</div>
|
||||||
title="话术预览"
|
|
||||||
:visible.sync="phoneopen"
|
|
||||||
width="30%"
|
|
||||||
:before-close="openfalse"
|
|
||||||
>
|
|
||||||
<img style="width: 200px" :src="baseUrl + lookitem.scriptFilePath" />
|
|
||||||
<span slot="footer" class="dialog-footer">
|
|
||||||
<el-button @click="phoneopen = false">确 定</el-button>
|
|
||||||
</span>
|
|
||||||
</el-dialog>
|
|
||||||
<!-- 宣教预览弹框 -->
|
|
||||||
<el-dialog
|
|
||||||
title="宣教预览"
|
|
||||||
:visible.sync="propagandaopen"
|
|
||||||
width="30%"
|
|
||||||
:before-close="openfalse"
|
|
||||||
>
|
|
||||||
<div class="titletop">文章模板:{{ lookitem.propagandaTitle }}</div>
|
|
||||||
<div class="bodytop">
|
|
||||||
<div class="titledata">{{ lookitem.propagandaTitle }}</div>
|
|
||||||
<div>
|
|
||||||
<img :src="baseUrl + lookitem.propagandaCoverPath" alt="" />
|
|
||||||
<div class="know">知识卡片</div>
|
|
||||||
<div class="knowlist">
|
|
||||||
<Editorxj v-model="lookitem.propagandaContent" :min-height="192" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</el-dialog>
|
|
||||||
<!-- 问卷预览弹框 -->
|
|
||||||
<questionopen ref="question" :lookitem="lookitem"></questionopen>
|
|
||||||
<!-- <el-dialog title="问卷预览" :visible.sync="questionopen" width="30%" :before-close="openfalse">
|
|
||||||
<div class="titletop">文章模板:{{ lookitem.propagandaTitle }}</div>
|
|
||||||
<div class="bodytop">
|
|
||||||
<div class="titledata">{{ lookitem.propagandaTitle }}</div>
|
|
||||||
<div>
|
|
||||||
<img :src="baseUrl + lookitem.propagandaCoverPath" alt="" />
|
|
||||||
<div class="know">知识卡片</div>
|
|
||||||
<div class="knowlist">
|
|
||||||
{{ lookitem.propagandaContent }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</el-dialog> -->
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -298,53 +142,31 @@ import {
|
|||||||
audit
|
audit
|
||||||
} from '@/api/manage/Auditing.js'
|
} from '@/api/manage/Auditing.js'
|
||||||
import { getAge } from "@/utils/age";
|
import { getAge } from "@/utils/age";
|
||||||
import questionopen from '../components/questionopen.vue';
|
import portrait from '../components/portrait.vue'
|
||||||
import Editorxj from "../../system/Editorxj/index.vue";
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
questionopen,
|
portrait
|
||||||
Editorxj
|
|
||||||
},
|
},
|
||||||
name: "Auditing",
|
name: "Auditing",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeName: 'portrait',
|
activeNametab: 'portrait',//切换
|
||||||
baseUrl: process.env.VUE_APP_BASE_API,
|
baseUrl: process.env.VUE_APP_BASE_API,
|
||||||
activeNames: ['-1', '-2', '-3'],
|
activeNames: ['-1', '-2', '-3'],
|
||||||
list: {},
|
list: {},
|
||||||
nodelist: [],
|
nodelist: [],
|
||||||
lookitem: {},
|
lookitem: {},
|
||||||
phoneopen: false,
|
|
||||||
propagandaopen: false,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.info();
|
this.info();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
portraitlist(val) {
|
||||||
|
console.log(val, '999999999')
|
||||||
|
},
|
||||||
handleClick(tab, event) {
|
handleClick(tab, event) {
|
||||||
console.log(tab, event,this.activeName);
|
console.log(tab, event, this.activeNametab);
|
||||||
},
|
|
||||||
//查看宣教模板
|
|
||||||
lookpropaganda(item) {
|
|
||||||
this.lookitem = item.detailInfo
|
|
||||||
this.propagandaopen = true
|
|
||||||
},
|
|
||||||
//查看话术模板
|
|
||||||
lookphone(item) {
|
|
||||||
this.lookitem = item.detailInfo
|
|
||||||
this.phoneopen = true
|
|
||||||
},
|
|
||||||
//查看问卷模板
|
|
||||||
lookquestion(item) {
|
|
||||||
this.lookitem = item.detailInfo
|
|
||||||
this.$refs.question.questionopentrue()
|
|
||||||
},
|
|
||||||
//关闭预览
|
|
||||||
openfalse() {
|
|
||||||
this.phoneopen = false
|
|
||||||
this.propagandaopen = false
|
|
||||||
this.lookitem = {}
|
|
||||||
},
|
},
|
||||||
// 忽略
|
// 忽略
|
||||||
ignore() {
|
ignore() {
|
||||||
@ -395,6 +217,8 @@ export default {
|
|||||||
routeCheckStatus: 'AGREE',
|
routeCheckStatus: 'AGREE',
|
||||||
manageRouteNodeIds: manageRouteNodeIds
|
manageRouteNodeIds: manageRouteNodeIds
|
||||||
}
|
}
|
||||||
|
console.log(obj)
|
||||||
|
// return
|
||||||
audit(obj).then(res => {
|
audit(obj).then(res => {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
@ -432,10 +256,10 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .el-tabs__nav{
|
::v-deep .el-tabs__nav {
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
::v-deep .el-tabs__active-bar{
|
::v-deep .el-tabs__active-bar {
|
||||||
left: 15px;
|
left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -449,12 +273,12 @@ export default {
|
|||||||
}
|
}
|
||||||
.topfooter {
|
.topfooter {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
width: 98%;
|
width: 98%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
.right {
|
.right {
|
||||||
/* float: right; */
|
/* float: right; */
|
||||||
padding: 10px 10px 0 0;
|
padding: 10px 10px 0 0;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 15px;
|
right: 15px;
|
||||||
|
|||||||
@ -1007,7 +1007,7 @@ export default {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
.texts {
|
.texts {
|
||||||
overflow-y: scroll;
|
// overflow-y: scroll;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
width: 72%;
|
width: 72%;
|
||||||
height: calc(100vh - 30px);
|
height: calc(100vh - 30px);
|
||||||
@ -1015,6 +1015,8 @@ export default {
|
|||||||
.topform {
|
.topform {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: calc(100% - 177px);
|
||||||
|
overflow-y: auto;
|
||||||
padding: 15px 70px 30px 15px;
|
padding: 15px 70px 30px 15px;
|
||||||
.box-card {
|
.box-card {
|
||||||
// width:calc(100% - 149px);
|
// width:calc(100% - 149px);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user