修改详情
This commit is contained in:
parent
57f72f18e0
commit
4f6f8128fe
@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div style="background-color: #f1f3f5">
|
||||
<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="route"></el-tab-pane>
|
||||
<el-tab-pane label="路径审核" name="route"></el-tab-pane>
|
||||
</el-tabs>
|
||||
<div class="right">
|
||||
<el-button size="mini" @click="cancel">取 消</el-button>
|
||||
@ -13,7 +13,8 @@
|
||||
<el-button size="mini" type="info" @click="ignore">忽略</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<!-- 画像审核 -->
|
||||
<div class="card" v-if="activeNametab=='portrait'">
|
||||
<div class="cardleft">
|
||||
<div class="title">
|
||||
<div style="display: flex; align-items: center">
|
||||
@ -124,170 +125,13 @@
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
</div>
|
||||
<!-- 画像编辑右侧 -->
|
||||
<div class="cardright">
|
||||
<div class="text" style="font-size: 20px">任务:</div>
|
||||
<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>
|
||||
<portrait @portraitlist="portraitlist"></portrait>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 话术预览弹框 -->
|
||||
<el-dialog
|
||||
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 class="card" v-else>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -298,53 +142,31 @@ import {
|
||||
audit
|
||||
} from '@/api/manage/Auditing.js'
|
||||
import { getAge } from "@/utils/age";
|
||||
import questionopen from '../components/questionopen.vue';
|
||||
import Editorxj from "../../system/Editorxj/index.vue";
|
||||
import portrait from '../components/portrait.vue'
|
||||
export default {
|
||||
components: {
|
||||
questionopen,
|
||||
Editorxj
|
||||
portrait
|
||||
},
|
||||
name: "Auditing",
|
||||
data() {
|
||||
return {
|
||||
activeName: 'portrait',
|
||||
activeNametab: 'portrait',//切换
|
||||
baseUrl: process.env.VUE_APP_BASE_API,
|
||||
activeNames: ['-1', '-2', '-3'],
|
||||
list: {},
|
||||
nodelist: [],
|
||||
lookitem: {},
|
||||
phoneopen: false,
|
||||
propagandaopen: false,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.info();
|
||||
},
|
||||
methods: {
|
||||
portraitlist(val) {
|
||||
console.log(val, '999999999')
|
||||
},
|
||||
handleClick(tab, event) {
|
||||
console.log(tab, event,this.activeName);
|
||||
},
|
||||
//查看宣教模板
|
||||
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 = {}
|
||||
console.log(tab, event, this.activeNametab);
|
||||
},
|
||||
// 忽略
|
||||
ignore() {
|
||||
@ -395,6 +217,8 @@ export default {
|
||||
routeCheckStatus: 'AGREE',
|
||||
manageRouteNodeIds: manageRouteNodeIds
|
||||
}
|
||||
console.log(obj)
|
||||
// return
|
||||
audit(obj).then(res => {
|
||||
this.$notify({
|
||||
type: 'success',
|
||||
@ -432,10 +256,10 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-tabs__nav{
|
||||
::v-deep .el-tabs__nav {
|
||||
padding-left: 15px;
|
||||
}
|
||||
::v-deep .el-tabs__active-bar{
|
||||
::v-deep .el-tabs__active-bar {
|
||||
left: 15px;
|
||||
}
|
||||
|
||||
@ -449,12 +273,12 @@ export default {
|
||||
}
|
||||
.topfooter {
|
||||
background: #fff;
|
||||
width: 98%;
|
||||
margin: 0 auto;
|
||||
padding: 20px 0;
|
||||
width: 98%;
|
||||
margin: 0 auto;
|
||||
padding: 20px 0;
|
||||
.right {
|
||||
/* float: right; */
|
||||
padding: 10px 10px 0 0;
|
||||
/* float: right; */
|
||||
padding: 10px 10px 0 0;
|
||||
height: 35px;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
|
||||
@ -1007,7 +1007,7 @@ export default {
|
||||
text-align: right;
|
||||
}
|
||||
.texts {
|
||||
overflow-y: scroll;
|
||||
// overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
width: 72%;
|
||||
height: calc(100vh - 30px);
|
||||
@ -1015,6 +1015,8 @@ export default {
|
||||
.topform {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
height: calc(100% - 177px);
|
||||
overflow-y: auto;
|
||||
padding: 15px 70px 30px 15px;
|
||||
.box-card {
|
||||
// width:calc(100% - 149px);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user