Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
闫晓茹 2024-06-18 18:20:20 +08:00
commit 56feabe81c
10 changed files with 1039 additions and 274 deletions

View File

@ -0,0 +1,185 @@
<template>
<div class="pagination">
<button style="background-color: #ffff"> {{ totalPage }} </button>
<el-select v-model="currentpageSize" placeholder="请选择" style="width: 100px;" size="mini" @change="changesize">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
<button @click="updateCPage(currentPage - 1)" :disabled="currentPage <= 1">上一页</button>
<button v-if="startEnd.start > 1" @click="updateCPage(1)">1</button>
<button v-if="startEnd.start > 2" icon="el-icon-more" @click="updateCPage(currentPage - 5)"
:class="[quickprevIconClass, { buttonactive: quickprevIconClass == 'el-icon-d-arrow-left' }]"
@mouseenter="onMouseenter('left')" @mouseleave="quickprevIconClass = 'el-icon-more'">
</button>
<template v-for="(item, index) in totalPage">
<button :class="{ active: currentPage === item }" :key="index"
v-if="item >= startEnd.start && item <= startEnd.end" @click="updateCPage(item)">{{ item }}</button>
</template>
<button v-if="startEnd.end < totalPage - 1" icon="el-icon-more"
:class="[quicknextIconClass, { buttonactive: quicknextIconClass == 'el-icon-d-arrow-right' }]"
@click="updateCPage(currentPage + 5)" @mouseenter="onMouseenter('right')"
@mouseleave="quicknextIconClass = 'el-icon-more'">
</button>
<button v-if="startEnd.end < totalPage" @click="updateCPage(totalPage)">{{ totalPage }}</button>
<button @click="updateCPage(currentPage + 1)" :disabled="currentPage >= totalPage">下一页</button>
</div>
</template>
<script>
export default {
/*
1. total,总条数 (外部使用Pagination组件的区域传递进来的数据)
2. pageSize,每页显示多少条(外部使用Pagination组件的区域传递进来的数据)
3. totalPage, 根据1,2派生出总页数
4. lxyms,连续页码数(外部使用Pagination组件的区域传递进来的数据)
5. currentPage,当前页(内部数据)
6. startEnd,连续页码的起始页 & 最终页
7. indexFromWrap: 外部逻辑传入的当前页下标
*/
name: "Pagination",
//
props: ["total", "pageSize", "indexFromWrap"],
data() {
return {
lxyms: 7,
currentPage: this.indexFromWrap,
quickprevIconClass: "el-icon-more",
quicknextIconClass: 'el-icon-more',
options: [{
value: 10,
label: '10条/页'
}, {
value: 20,
label: '20条/页'
}, {
value: 30,
label: '30条/页'
}, {
value: 50,
label: '50条/页'
}, {
value: 100,
label: '100条/页'
}],
currentpageSize: 10
}
},
mounted() {
},
computed: {
//
totalPage() {
return Math.ceil(this.total / this.pageSize)
},
//- = -1
startEnd() {
let { currentPage, lxyms, totalPage } = this
// return console.log(this)
let start;
let end;
//
start = currentPage - Math.floor(lxyms / 2)
if (start < 1) {
start = 1
this.quickprevIconClass = 'el-icon-more'
}
//
end = start + lxyms - 1 //start<1 end
// end>totalPage ?end=totalPage:""
if (end > totalPage) {
end = totalPage;
start = end - lxyms + 1; //,start
start < 1 ? start = 1 : "" // start
}
if (start >= 2 && end < totalPage - 1) {
start += 2
}
if (end == totalPage - 1 && start > 1) {
start += 1
end -= 1
}
return { start, end }
}
},
methods: {
changesize() {
this.$emit("updateCPage", this.currentPage, this.currentpageSize)
},
onMouseenter(direction) {
if (direction === 'left') {
this.quickprevIconClass = 'el-icon-d-arrow-left';
} else {
this.quicknextIconClass = 'el-icon-d-arrow-right';
}
},
updateCPage(currentPage) {
if (currentPage < 1) return
if (currentPage === this.currentPage) return;
if (currentPage > this.totalPage - 3) {
this.quicknextIconClass = 'el-icon-more'
}
if (currentPage > this.totalPage) {
this.currentPage = this.totalPage
} else {
this.currentPage = currentPage;
}
//,
this.$emit("updateCPage", this.currentPage, this.currentpageSize)
}
},
watch: {
//
indexFromWrap: {
handler(val) {
this.currentPage = val
},
deep: true,
immediate: true
}
}
}
</script>
<style lang="less" scoped>
.pagination {
position: absolute;
bottom: 5px;
right: 20px;
height: 40px;
margin: 0 !important;
padding: 0 !important;
button {
margin: 0 5px;
background-color: #f4f4f5;
color: #606266;
outline: none;
border-radius: 2px;
padding: 0 8px;
vertical-align: top;
display: inline-block;
font-size: 13px;
min-width: 45px;
height: 28px;
line-height: 28px;
cursor: pointer;
box-sizing: border-box;
text-align: center;
border: 0;
&[disabled] {
color: #c0c4cc;
cursor: not-allowed;
}
&.active {
background-color: #409eff;
color: #fff;
}
&.buttonactive {
color: #409eff;
}
}
}
</style>

View File

@ -993,7 +993,7 @@ export default {
}
.dialog-footer {
padding: 0 20px 0;
padding:2px 44px 0;
text-align: right;
}
.texts {
@ -1046,7 +1046,7 @@ export default {
.list {
margin: 20px auto;
width: 100%;
height: 100vh;
height: calc(100% - 80px);
background-color: #f2f4f5;
display: flex;
padding-top: 15px;

View File

@ -8,11 +8,18 @@
</div>
<div class="select">
<span> 适用范围 </span>
<el-select v-model="updata.suitRange" disabled>
<el-option label="在院" value="IN_THE_HOSPITAL" />
<el-option label="出院" value="DISCHARGE" />
<el-option label="门诊" value="OUTPATIENT_SERVICE" />
<el-option label="门诊+出院" value="OUTPATIENT_SERVICE_DISCHARGE" />
<el-select
v-model="updata.suitRange"
placeholder="请选择"
@change="changeoptions"
>
<el-option
v-for="item in options"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</div>
</div>
@ -23,32 +30,69 @@
<i class="el-icon-circle-plus-outline" @click="addlist"></i>
</div>
<el-timeline>
<el-timeline-item v-for="(item, index) in lists" :key="index" :color="listindex == index ? '#409EFF' : ''">
<el-timeline-item
v-for="(item, index) in lists"
:key="index"
:color="listindex == index ? '#409EFF' : ''"
>
<div class="top">
<div class="toptop">
<el-select v-model="item.routeNodeName" disabled style="width: 87px">
<el-option label="出院后" value="AFTER_DISCHARGE" />
<el-select v-model="item.routeNodeName" style="width: 100px">
<el-option
v-for="item in parentDictCodelist"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
<!-- <el-option label="出院后" value="AFTER_DISCHARGE" />
<el-option label="入院后" value="AFTER_ADMISSION" />
<el-option label="就诊后" value="AFTER_CONSULTATION" />
<el-option label="就诊/出院后" value="AFTER_VISIT_DISCHARGE" />
<el-option
label="就诊/出院后"
value="AFTER_VISIT_DISCHARGE"
/>
<el-option label="术前" value="PREOPERATIVE" />
<el-option label="术后" value="POSTOPERATIVE" />
<el-option label="术后" value="POSTOPERATIVE" /> -->
</el-select>
<el-input v-model="item.routeNodeDay" disabled style="width: 50px"></el-input>
<el-input
v-model="item.routeNodeDay"
style="width: 70px"
type="number"
:min="0"
></el-input>
<span></span>
</div>
<div>
<i class="el-icon-delete" @click="delitem(item, index)"></i>
<i class="el-icon-circle-plus-outline" @click="additem(item)"></i>
<i
class="el-icon-circle-plus-outline"
@click="additem(item)"
></i>
</div>
</div>
<el-card v-for="(uitem, uindex) in item.list" :key="uitem.id"
@click.native="bottomclickevent(uitem, index, uindex, item)"
:class="listindex == index && itemindex == uindex ? 'cards' : ''">
<el-card
v-for="(uitem, uindex) in item.list"
:key="uitem.id"
@click.native="bottomclickevent(uitem, index, uindex)"
:class="listindex == index && itemindex == uindex ? 'cards' : ''"
>
<h3 style="height: 20px">{{ uitem.taskTypeName }}</h3>
<el-tag v-if="uitem.nodeExecuteStatus == 'EXECUTED'" class="routeCheckStatus">已执行</el-tag>
<el-tag v-else type="warning" class="routeCheckStatus">未执行</el-tag>
<p style="height: 16px">{{ uitem.taskPartitionDictName }}</p>
<el-tag
v-if="uitem.routeCheckStatus == 'AGREE'"
class="routeCheckStatus"
>已审核</el-tag
>
<el-tag
v-else-if="uitem.routeCheckStatus == 'DISAGREE'"
type="danger"
class="routeCheckStatus"
>不同意</el-tag
>
<el-tag v-else type="warning" class="routeCheckStatus"
>未审核</el-tag
>
<p style="height: 16px">{{ uitem.taskSubdivisionName }}</p>
</el-card>
</el-timeline-item>
</el-timeline>
@ -57,82 +101,102 @@
<div class="topform">
<el-form ref="form" :inline="true" :model="form" class="form">
<el-form-item label="任务类型" prop="">
<el-select v-model="form.taskType" disabled style="width: 110px" @change="changeTaskType">
<el-option v-for="item in selectTaskTypeList" :key="item.taskTypeCode" :label="item.taskTypeName"
:value="item.taskTypeCode">
<el-select
v-model="form.taskType"
style="width: 110px"
@change="changeTaskType"
>
<el-option
v-for="item in selectTaskTypeList"
:key="item.taskTypeCode"
:label="item.taskTypeName"
:value="item.taskTypeCode"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="任务细分" prop="">
<el-select v-model="form.taskSubdivision" disabled style="width: 110px" @change="changetaskSubdivision">
<el-option v-for="item in taskPartitionList" :key="item.taskPartitionCode" :label="item.taskTypeName"
:value="item.taskPartitionCode">
<el-select
v-model="form.taskSubdivision"
style="width: 110px"
@change="changetaskSubdivision"
>
<el-option
v-for="item in taskPartitionList"
:key="item.taskPartitionCode"
:label="item.taskPartitionName"
:value="item.taskPartitionCode"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="任务状态" prop="">
<el-select v-model="form.taskStatus" disabled style="width: 100px">
<el-option v-for="item in taskStatusDictList" :key="item.id" :label="item.taskStatusName"
:value="item.taskStatusCode">
<el-select v-model="form.taskStatus" style="width: 110px">
<el-option
v-for="item in taskStatusDictList"
:key="item.id"
:label="item.taskStatusName"
:value="item.taskStatusCode"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="二级分类描述" prop="">
<el-input v-model="form.secondClassifyDescribe" disabled style="width: 100px"></el-input>
<el-input
v-model="form.secondClassifyDescribe"
style="width: 110px"
disabled
></el-input>
</el-form-item>
<el-form-item label="执行时间" prop="">
<el-time-select v-model="form.executeTime" disabled style="width: 120px" placeholder="选择时间">
<el-time-select
v-model="form.executionTime"
style="width: 120px"
placeholder="选择时间"
disabled
>
</el-time-select>
</el-form-item>
<!-- <el-form-item
<el-form-item
label="问卷库模板选择"
prop=""
v-if="form.taskSubdivisiontemplateType == 'QUESTIONNAIRE'"
>
<el-input
v-model="form.templateName"
disabled
style="width: 200px"
></el-input>
<question
@on-template="questionontemplate"
:templateId="form.templateId"
:templateName="form.templateName"
></question>
</el-form-item>
<el-form-item
label="宣教库模板选择"
prop=""
v-if="form.taskSubdivisiontemplateType == 'PROPAGANDA'"
>
<el-input
v-model="form.templateName"
disabled
style="width: 200px"
></el-input>
</el-form-item> -->
<propaganda
@on-template="propagandaontemplate"
:templateId="form.templateId"
:templateName="form.templateName"
></propaganda>
</el-form-item>
</el-form>
</div>
<div class="bottomform">
<!-- 问卷预览弹框 -->
<questionopennew style="width: 100%; background: #fff" ref="question" :lookitemnew="lookitemnew"
v-if="form.templateType == 'QUESTIONNAIRE'"></questionopennew>
<div class="propaganda" v-else-if="form.templateType == 'PROPAGANDA'">
<div class="titletop">
文章模板:{{ lookitemnew.propagandaTitle }}
</div>
<div class="bodytop">
<div class="titledata">{{ lookitemnew.propagandaTitle }}</div>
<div>
<img :src="baseUrl + lookitemnew.propagandaCoverPath" alt="" />
<div class="know">知识卡片</div>
<div class="knowlist">
<Editorxj v-model="lookitemnew.propagandaContent" :min-height="192" />
</div>
</div>
</div>
</div>
<div v-else>
<wangeditor style="width: 100%"
v-show="form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && form.taskSubdivisiontemplateType != 'PROPAGANDA'"
:nodeContent="form.nodeContent" @on-nodeContent="onNodeContent" ref="wangeditor" />
</div>
<div class="card">
<wangeditor
style="width: 100%;background-color: red;"
:nodeContent="form.nodeContent"
@on-nodeContent="onNodeContent"
v-show="
form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' &&
form.taskSubdivisiontemplateType != 'PROPAGANDA' &&
form.taskSubdivisiontemplateType != 'SCRIPT'
"
ref="wangeditor"
/>
<div
class="card"
v-show="form.taskSubdivisiontemplateType != 'SCRIPT'"
>
<div class="flex">
<div class="pushMethod">
推送方式
@ -140,20 +204,31 @@
</div>
<div class="pushMethod">
模板
<el-input v-model="form.messageTemplateName" disabled style="width: 200px"></el-input>
<message
@on-template="messageontemplate"
:templateId="form.messageTemplateId"
:templateName="form.messageTemplateName"
></message>
</div>
<div class="pushMethod">
<el-switch v-model="form.messagePushSign" disabled active-color="#13ce66" active-value="1"
inactive-value="0">
<el-switch
v-model="form.messagePushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
</div>
<div class="flextwo">
<!-- <div class="flextwo">
<div class="text">短信预览</div>
<el-input class="textarea" v-model="form.messagePreview" disabled></el-input>
</div>
</div> -->
</div>
<div class="card">
<div
class="card"
v-show="form.taskSubdivisiontemplateType != 'SCRIPT'"
>
<div class="flex">
<div class="pushMethod">
推送方式
@ -162,21 +237,33 @@
<div class="pushMethod">
模板
<span>
<el-input v-model="form.officialTemplateName" disabled style="width: 200px"></el-input>
<officialAccount
@on-template="officialAccountontemplate"
:templateId="form.officialTemplateId"
:templateName="form.officialTemplateName"
>
</officialAccount>
</span>
</div>
<div class="pushMethod">
<el-switch v-model="form.officialPushSign" disabled active-color="#13ce66" active-value="1"
inactive-value="0">
<el-switch
v-model="form.officialPushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
</div>
<div class="flextwo">
<!-- <div class="flextwo">
<div class="text">提醒内容</div>
<el-input v-model="form.officialRemindContent" disabled class="textarea"></el-input>
</div>
<el-input v-model="form.officialRemindContent" class="textarea" disabled></el-input>
</div> -->
</div>
<div class="card">
<div
class="card"
v-show="form.taskSubdivisiontemplateType != 'SCRIPT'"
>
<div class="flex">
<div class="pushMethod">
推送方式
@ -185,89 +272,136 @@
<div class="pushMethod">
模板
<span>
<el-input v-model="form.appletTemplateName" disabled style="width: 200px"></el-input>
<miniProgram
@on-template="miniProgramtemplate"
:templateId="form.appletTemplateId"
:templateName="form.appletTemplateName"
>
</miniProgram>
</span>
</div>
<div class="pushMethod">
<el-switch v-model="form.appletPushSign" disabled active-color="#13ce66" active-value="1"
inactive-value="0">
<el-switch
v-model="form.appletPushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
</div>
<div class="flextwo">
<!-- <div class="flextwo">
<div class="text">提醒内容</div>
<el-input v-model="form.appletRemindContent" disabled class="textarea"></el-input>
<el-input v-model="form.appletRemindContent" class="textarea" disabled></el-input>
</div>
<div class="flextwo">
<div class="text">提示说明</div>
<el-input v-model="form.appletPromptDescription" disabled class="textarea"></el-input>
<el-input v-model="form.appletPromptDescription" class="textarea" disabled></el-input>
</div> -->
</div>
<div
class="card"
style="height: 250px"
v-show="form.taskSubdivisiontemplateType == 'SCRIPT'"
>
<div class="flex">
<div class="pushMethod">
推送方式
<span> 人工电话 </span>
</div>
<div class="pushMethod">
模板
<scripts
@on-template="messageontemplateword"
:templateId="form.phoneTemplateId"
:templateName="form.phoneTemplateName"
></scripts>
</div>
<div class="pushMethod">
<el-switch
v-model="form.phonePushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
</div>
<div class="flex">
<div class="pushMethod">
重播次数
<span>
<el-select
v-model="form.phoneRedialTimes"
style="width: 100px"
>
<el-option
v-for="item in optionslistS"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</span>
</div>
<div class="pushMethod">
时间间隔:
<span>
<el-input
v-model.number="form.phoneTimeInterval"
oninput="value=value.replace(/[^\d]/g,'')"
style="width: 100px"
>
<!-- <el-option
v-for="item in optionslistS"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option> -->
</el-input>
</span>
</div>
<div class="pushMethod">
短信提醒
<el-select
v-model="form.phoneMessageRemind"
style="width: 150px"
>
<el-option
v-for="item in optionslist"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</div>
<div class="pushMethod">
短信模板
<span
class="spanname"
v-if="form.phoneMessageRemind == 'NOT_SEND_MESSAGE'"
>
<message
style="width: 200px"
@on-template="messageontemplateMESSAGE"
:templateId="form.phoneMessageTemplateId"
:templateName="form.phoneMessageTemplateName"
></message>
</span>
<span v-else>
<message
style="width: 200px"
@on-template="messageontemplateMESSAGE"
:templateId="form.phoneMessageTemplateId"
:templateName="form.phoneMessageTemplateName"
></message>
</span>
</div>
</div>
</div>
<!-- <div class="card" style="height: 250px;">
<div class="flex">
<div class="pushMethod">
推送方式
<span>
AI电话
</span>
</div>
<div class="pushMethod">
模板
<span>
<el-select v-model="value" style="width:200px;">
<el-option v-for="item in taskStatusDictList" :key="item.id" style="color:black"
:label="item.taskStatusName" :value="item.id">
</el-option>
</el-select>
</span>
</div>
<div class="pushMethod">
<el-switch v-model="form.value" active-color="#13ce66" active-value="1"
inactive-value="0">
</el-switch>
</div>
</div>
<div class="flextwo">
<div class="text">
机构名称
</div>
<div class="text">
我是
</div>
<el-input v-model="form.input" placeholder="" style="width:150px;padding:0 10px"></el-input>
<div class="text">
的工作人员
</div>
</div>
<div class="flextwo">
<div class="text">
重播次数
</div>
<el-input v-model="form.input" placeholder="" style="width:200px;"></el-input>
<div class="text" style="padding-left: 100px;">
时间间隔
</div>
<el-input v-model="form.input" placeholder="" style="width:200px;"></el-input>
</div>
<div class="flextwo">
<div class="text">
短信提醒
</div>
<el-select v-model="value" style="width:200px;">
<el-option v-for="item in taskStatusDictList" :key="item.id" style="color:black"
:label="item.taskStatusName" :value="item.id">
</el-option>
</el-select>
<div class="text" style="padding-left: 100px;">
短信模板
</div>
<el-select v-model="value" style="width:200px;">
<el-option v-for="item in taskStatusDictList" :key="item.id" style="color:black"
:label="item.taskStatusName" :value="item.id">
</el-option>
</el-select>
</div>
</div> -->
</div>
</div>
</div>
@ -281,18 +415,24 @@ import message from '@/views/system/components/message.vue'
import propaganda from '@/views/system/components/propaganda.vue'
import officialAccount from '@/views/system/components/officialAccount.vue'
import miniProgram from '@/views/system/components/miniProgram.vue'
import scripts from '@/views/system/components/script.vue'
import {
selectTaskTypeList, taskPartitionList, taskStatusDictList, specialDiseaseNode, selectSpecialDiseasenew, updateRouteCheckStatus, getById
selectTaskTypeList, taskPartitionList, taskStatusDictList, specialDiseaseNode, selectSpecialDiseasenew, updateRouteCheckStatus, getById, selectSpecialDisease,
} from '@/api/system/specialDiseaseNode'
import questionopennew from '../components/questionopennew.vue';
import Editorxj from "../../system/Editorxj/index.vue";
import { getAgencytype } from "@/api/system/agency";
export default {
components: { wangeditor, question, propaganda, message, officialAccount, miniProgram, questionopennew, Editorxj },
components: { wangeditor, question, propaganda, message, officialAccount, miniProgram, questionopennew, Editorxj, scripts,},
props: ['lookitem'],
name: "specialDiseaseNodeopen",
data() {
return {
options: [],
optionslist: [],
optionslistS: [],
show: false,
baseUrl: process.env.VUE_APP_BASE_API,
dialogVisible: false,
@ -308,6 +448,7 @@ export default {
totalNumber: 0,
agreeNumber: 0,
updata: {
specialDiseaseRouteId: "",
manageRouteId: '',
suitRange: '',
routeName: '',
@ -325,7 +466,7 @@ export default {
executionTime: '',
appletPushSign: '0',
officialPushSign: '0',
messagePushSign: '0',
messagePushSign: 0,
taskSubdivisiontemplateType: '',
officialRemindContent: '',
messagePreview: '',
@ -338,18 +479,25 @@ export default {
lookitemnew: {},
value: '',
input: '',
parentDictCode: "",
//
selectTaskTypeList: [],
//
taskStatusDictList: [],
//
taskPartitionList: [],
parentDictCodelist: [],
};
},
created() {
this.updata = this.lookitem
console.log(this.updata)
this.updata.manageRouteId = this.lookitem.manageRouteId
this.updata.specialDiseaseRouteId =this.updata.id
this.taskinfo();
this.infolistword();
this.infolistMESSAGE();
this.infolist();
},
beforeDestroy() { },
watch: {
@ -362,25 +510,115 @@ export default {
mounted() {
},
methods: {
infolistword() {
var dictType = "text_message_remind";
getAgencytype(dictType).then((res) => {
this.optionslist = res.data;
// this.taskinfo();
});
},
infolistMESSAGE() {
var dictType = "redial_times";
getAgencytype(dictType).then((res) => {
this.optionslistS = res.data;
// this.taskinfo();
});
},
infolist() {
var dictType = "suit_range";
getAgencytype(dictType).then((res) => {
this.options = res.data;
this.taskinfo();
});
},
changeoptions(e) {
this.parentDictCode = this.options.find(
(el) => el.dictValue == e
)?.dictCode;
this.changelisy();
},
changelisy() {
list(this.parentDictCode).then((res) => {
this.parentDictCodelist = res.rows;
});
},
info() {
selectSpecialDiseasenew(this.updata.manageRouteId).then(res => {
this.agreeNumber = res.data.agreeNumber
this.totalNumber = res.data.totalNumber
res.data.forEach(e => {
e.messagePushSign = '' + e.messagePushSign
e.officialPushSign = '' + e.officialPushSign
e.appletPushSign = '' + e.appletPushSign
})
this.lists = this.handleData(res.data, 'routeNodeDay', 'routeNodeName')
getById(this.lists[0].list[0].id).then(res => {
this.form = res.data
this.lookitemnew = res.data.detailInfo
const loading = this.$loading({
lock: true,
text: "数据加载中",
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
});
this.lists = [];
if (this.$route.query) {
this.parentDictCode = this.options.find(
(el) => el.dictValue == this.updata.suitRange
)?.dictCode;
// this.changelisy();
this.updata.routeName = this.$route.query.routeName;
// this.updata.specialDiseaseRouteId = this.$route.query.id;
selectSpecialDisease(this.updata.id).then((res) => {
loading.close();
this.agreeNumber = res.data.agreeNumber;
this.totalNumber = res.data.totalNumber;
res.data.specialDiseaseNodeList.forEach((e) => {
console.log(e, "eeeeeeeeeeeeeeeee");
if(e.messagePushSign){
e.messagePushSign = "" + e.messagePushSign;
}if( e.officialPushSign ){
e.officialPushSign = "" + e.officialPushSign;
}
if(e.appletPushSign){
e.appletPushSign = "" + e.appletPushSign;
}
if(e.phonePushSign){
e.phonePushSign = ""+e.phonePushSign
}
});
this.lists = this.handleData(
res.data.specialDiseaseNodeList,
"routeNodeDay",
"routeNodeName"
);
this.form = this.lists[0].list[0];
if (this.form.taskType) {
this.changeTaskType(this.form.taskType, this.form.taskSubdivision)
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
}
})
this.$refs.wangeditor.disable();
})
});
} else {
loading.close();
this.lists.push({
routeNodeName: "",
routeNodeDay: "",
list: [
{
nodeContent: "<p></p>",
templateId: "",
templateName: "",
taskType: "",
taskSubdivision: "",
taskSubdivisionName: "",
taskStatus: "",
secondClassifyDescribe: "",
executionTime: "",
appletPushSign: "0",
officialPushSign: "0",
messagePushSign: "0",
messagePreview: "",
officialRemindContent: "",
taskSubdivisiontemplateType: "",
appletRemindContent: "",
appletPromptDescription: "",
},
],
});
this.form = this.lists[0].list[0];
console.log(this.form, "6555555555555555");
}
},
handleData(list, key, keytwo) {
//
@ -447,30 +685,39 @@ export default {
this.form.templateId = item.templateId
this.form.templateName = item.templateName
},
//
messageontemplateMESSAGE(item) {
this.form.phoneMessageTemplateId = item.templateId;
this.form.phoneMessageTemplateName = item.templateName;
this.form.messagePreview = item.templateContent;
},
//
messageontemplateword(item) {
this.form.phoneTemplateId = item.templateId;
this.form.phoneTemplateName = item.templateName;
// this.form.messagePreview = item.templateContent;
},
//
propagandaontemplate(item) {
this.form.templateId = item.templateId
this.form.templateName = item.templateName
},
bottomclickevent(uitem, index, uindex, item) {
// console.log(uitem, item)
if (uitem.id) {
getById(uitem.id).then(res => {
this.form = res.data
if (res.data.detailInfo) {
this.lookitemnew = res.data.detailInfo
} else {
this.$refs.wangeditor.emit()
}
if (this.form.taskType) {
this.changeTaskType(this.form.taskType, this.form.taskSubdivision)
}
})
bottomclickevent(uitem, index, uindex) {
if (
this.form.taskSubdivisiontemplateType != "QUESTIONNAIRE" &&
this.form.taskSubdivisiontemplateType != "PROPAGANDA"
) {
this.$refs.wangeditor.emit();
}
// this.form = uitem
this.listindex = index
this.itemindex = uindex
setTimeout(() => {
this.form = uitem;
this.taskPartitionList = [];
if (this.form.taskType) {
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
}
this.listindex = index;
this.itemindex = uindex;
}, 150);
},
handleStep() {
this.active = 2
@ -516,31 +763,39 @@ export default {
})
},
addlist() {
list(this.parentDictCode).then((res) => {
// this.parentDictCodelist = res.rows;
res.rows.forEach((e) => {
this.lists.forEach((el) => {
el.routeNodeName = e.dictLabel;
});
});
});
this.lists.push({
routeNodeName: "",
routeNodeDay: '',
routeNodeDay: "",
list: [
{
nodeContent: '<p></p>',
templateId: '',
templateName: '',
taskType: '',
officialRemindContent: '',
taskSubdivision: '',
taskSubdivisionName: '',
appletRemindContent: '',
appletPromptDescription: '',
taskStatus: '',
secondClassifyDescribe: '',
executionTime: '',
appletPushSign: '0',
officialPushSign: '0',
messagePushSign: '0',
messagePreview: '',
taskSubdivisiontemplateType: '',
nodeContent: "<p></p>",
templateId: "",
templateName: "",
taskType: "",
officialRemindContent: "",
taskSubdivision: "",
taskSubdivisionName: "",
appletRemindContent: "",
appletPromptDescription: "",
taskStatus: "",
secondClassifyDescribe: "",
executionTime: "",
appletPushSign: "0",
officialPushSign: "0",
messagePushSign: "0",
messagePreview: "",
taskSubdivisiontemplateType: "",
},
]
})
],
});
},
additem(item) {
item.list.push({
@ -684,6 +939,7 @@ export default {
margin-top: 10px;
.card {
pointer-events: none;
background-color: #fff;
width: 100%;
height: 200px;
@ -691,8 +947,6 @@ export default {
padding: 20px 50px 0px 20px;
.flextwo {
display: flex;
align-items: center;
margin-top: 20px;
.text {
@ -700,6 +954,12 @@ export default {
color: #64666a;
}
::v-deep .el-input__inner {
color: black !important;
background-color: #fff !important;
cursor: default !important;
}
.textarea {
width: 90%;
padding: 0 10px;
@ -728,15 +988,20 @@ export default {
.flex {
display: flex;
width: 100%;
align-items: center;
// background: red;
justify-content: space-between;
.pushMethod {
height: 30px;
margin-top: 30px;
line-height: 30px;
font-size: 13px;
color: #64666a;
.spanname {
pointer-events: none;
}
::v-deep .el-input__inner {
color: black;
font-size: 13px;
@ -752,6 +1017,8 @@ export default {
}
.topform {
pointer-events: none;
padding: 15px 0 0 15px;
.form {

View File

@ -86,7 +86,7 @@
<!-- <el-button size="mini" type="text" icon="el-icon-folder-delete"
@click="norelease(scope.row)">取消发布</el-button>
<el-button size="mini" icon="el-icon-folder-checked" type="text" @click="release(scope.row)">发布</el-button> -->
<el-button size="mini" type="text" icon="el-icon-search" @click="handlesee(scope.row)">预览</el-button>
<!-- <el-button size="mini" type="text" icon="el-icon-search" @click="handlesee(scope.row)">预览</el-button> -->
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="see(scope.row)">话术</el-button>
<el-button size="mini" type="text" icon="el-icon-picture-outline"
@click="seescript(scope.row)">话术预览</el-button>

View File

@ -272,7 +272,7 @@
</el-table-column>
</el-table>
<pagination v-show="totaldepartment > 0" :total="totaldepartment" :page.sync="informationqueryParams.pageNum"
:limit.sync="informationqueryParams.pageSize" @pagination="informationInfoinfo" />
:limit.sync="informationqueryParams.pageSize" @pagination="informationInfoinfo" class="pag"/>
</el-dialog>
<!-- 病种弹框 -->
<el-dialog title="" :visible.sync="diseaseshowst" width="1000px" append-to-body :before-close="canceldiseases">
@ -300,7 +300,7 @@
</el-table-column>
</el-table>
<pagination v-show="diseasetotal > 0" :total="diseasetotal" :page.sync="querydisease.pageNum"
:limit.sync="querydisease.pageSize" @pagination="infodisease" />
:limit.sync="querydisease.pageSize" @pagination="infodisease" class="pag" />
</el-dialog>
<!-- 详情弹框 -->
<el-dialog title="详情" :visible.sync="detailshow" width="50%" :before-close="handleClose">
@ -1148,6 +1148,13 @@ export default {
};
</script>
<style lang="scss" scoped>
.pag{
top: 13px;
position: relative;
left: 61%;
}
::v-deep .el-input-group {
width: 204px !important;
}

View File

@ -50,8 +50,8 @@
</el-row>
</div>
<div ref="table">
<el-table ref="tables" :max-height="maxTableHeight" v-loading="loading" :data="list" @selection-change="handleSelectionChange"
:default-sort="defaultSort" @sort-change="handleSortChange">
<el-table ref="tables" :max-height="maxTableHeight" v-loading="loading" :data="list"
@selection-change="handleSelectionChange" :default-sort="defaultSort" @sort-change="handleSortChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="日志编号" align="center" prop="operId" />
<el-table-column label="系统模块" align="center" prop="title" />
@ -84,8 +84,10 @@
</el-table-column>
</el-table>
</div>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
@pagination="getList" />
<Pagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize" :indexFromWrap="queryParams.pageNum"
@updateCPage="updateCPage"></Pagination>
<!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
@pagination="getList" /> -->
<!-- 操作日志详细 -->
<el-dialog title="操作日志详细" :visible.sync="open" width="700px" append-to-body>
<el-form ref="form" :model="form" label-width="100px" size="mini">
@ -130,13 +132,16 @@
<script>
import { list, delOperlog, cleanOperlog } from "@/api/monitor/operlog";
import Pagination from '../../components/Pagination'
export default {
components: {
Pagination,
},
name: "Operlog",
dicts: ['sys_oper_type', 'sys_common_status'],
data() {
return {
maxTableHeight:undefined,
maxTableHeight: undefined,
//
loading: true,
//
@ -176,6 +181,11 @@ export default {
this.screenChange()
},
methods: {
updateCPage(index, size) {
this.queryParams.pageNum = index
this.queryParams.pageSize = size
this.getList();
},
/** 查询登录日志 */
getList() {
this.loading = true;
@ -269,3 +279,39 @@ export default {
}
};
</script>
<style lang="less" scoped>
.pagination {
text-align: center;
button {
margin: 0 5px;
background-color: #f4f4f5;
color: #606266;
outline: none;
border-radius: 2px;
padding: 0 4px;
vertical-align: top;
display: inline-block;
font-size: 13px;
min-width: 35.5px;
height: 28px;
line-height: 28px;
cursor: pointer;
box-sizing: border-box;
text-align: center;
border: 0;
&[disabled] {
color: #c0c4cc;
cursor: not-allowed;
}
&.active {
cursor: not-allowed;
background-color: #409eff;
color: #fff;
}
}
}
</style>

View File

@ -5,25 +5,43 @@
<el-button type="primary" @click="upload">保存</el-button>
</div>
<el-descriptions title="手动创建任务"> </el-descriptions>
<el-form :inline="true" :model="updata" class="demo-form-inline" ref="updata">
<el-form
:inline="true"
:model="updata"
class="demo-form-inline"
ref="updata"
>
<el-form-item label="任务名称">
<el-input v-model="updata.routeName"></el-input>
</el-form-item>
<el-form-item label="适用范围">
<el-select v-model="updata.suitRange" @change="changeoptions">
<el-option v-for="item in options" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue">
<el-option
v-for="item in options"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</el-form-item>
</el-form>
<div class="chufatitle">
<span>触发条件</span>
<el-button type="primary" plain size="mini" @click="addtriggerCondition">添加触发条件</el-button>
<el-button type="primary" plain size="mini" @click="addtriggerCondition"
>添加触发条件</el-button
>
</div>
<el-form ref="updata" :model="updata" label-width="80px">
<div class="node" v-for="(item, index) in updata.triggerConditionList" :key="index"
:style="updata.triggerConditionList.length > 1 ? '' : 'margin:0'">
<div style="display: inline-block; margin-right: 20px; font-size: 14px">
<div
class="node"
v-for="(item, index) in updata.triggerConditionList"
:key="index"
:style="updata.triggerConditionList.length > 1 ? '' : 'margin:0'"
>
<div
style="display: inline-block; margin-right: 20px; font-size: 14px"
>
触发条件{{ index + 1 }}
</div>
<el-select v-model="item.triggerConditionName" style="width: 120px">
@ -33,14 +51,24 @@
<el-option label="手术名称" value="SURGICAL_NAME" />
<el-option label="药品名称" value="DRUG_NAME" />
</el-select>
<el-select v-model="item.triggerConditionOperator" style="width: 100px">
<el-select
v-model="item.triggerConditionOperator"
style="width: 100px"
>
<el-option label="包含" value="CONTAIN" />
<el-option label="不包含" value="NOT_CONTAIN" />
<el-option label="等于" value="EQUAL_TO" />
<el-option label="不等于" value="NOT_EQUAL_TO" />
</el-select>
<el-input v-model="item.triggerConditionValue" style="width: 300px" placeholder="请输入触发条件"></el-input>
<i class="el-icon-delete" @click="delitem(item, index, updata.triggerConditionList)"></i>
<el-input
v-model="item.triggerConditionValue"
style="width: 300px"
placeholder="请输入触发条件"
></el-input>
<i
class="el-icon-delete"
@click="delitem(item, index, updata.triggerConditionList)"
></i>
</div>
</el-form>
</div>
@ -51,20 +79,35 @@
<i class="el-icon-circle-plus-outline" @click="additem"></i>
</div>
<el-timeline>
<el-timeline-item v-for="(item, index) in list" :key="index" :color="listindex == index ? '#409EFF' : ''"
@click.native="clicktimelineitem(item, index)">
<el-timeline-item
v-for="(item, index) in list"
:key="index"
:color="listindex == index ? '#409EFF' : ''"
@click.native="clicktimelineitem(item, index)"
>
<div class="top">
<div class="toptop">
<el-select style="width: 100px" v-model="item.routeNodeName">
<el-option v-for="item in parentDictCodelist" :key="item.dictValue" :label="item.dictLabel"
:value="item.dictValue">
<el-option
v-for="item in parentDictCodelist"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
<el-input style="width: 90px" v-model="item.routeNodeDay" type="number"></el-input>
<el-input
style="width: 90px"
v-model="item.routeNodeDay"
type="number"
></el-input>
<span></span>
</div>
<div>
<i class="el-icon-delete" @click="delitem(item, index, list)"></i>
<i
class="el-icon-delete"
@click="delitem(item, index, list)"
></i>
</div>
</div>
<el-card :class="listindex == index ? 'cards' : ''">
@ -80,8 +123,10 @@
</el-timeline>
</div>
<div class="nodetexts">
<div style="background-color: #fff; border-radius: 10px; padding: 20px"
:style="formInline.taskType == 'TEXT_REMIND' ? '' : 'height:160px'">
<div
style="background-color: #fff; border-radius: 10px; padding: 20px"
:style="formInline.taskType == 'TEXT_REMIND' ? '' : 'height:160px'"
>
<el-form :model="formInline" class="demo-form-inline">
<el-form-item label="任务内容">
<el-radio-group v-model="formInline.taskType">
@ -92,57 +137,192 @@
<el-radio label="ARTIFICIAL_FOLLOW_UP">人工随访</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="电话模板" v-if="formInline.taskType == 'PHONE_OUTBOUND'">
<!-- <el-form-item
label="电话模板"
v-if="formInline.taskType == 'PHONE_OUTBOUND'"
>
<scriptphone @on-template="scriptphoneontemplate"></scriptphone>
</el-form-item>
<el-form-item label="宣教模板" v-if="formInline.taskType == 'PROPAGANDA_ARTICLE'">
</el-form-item> -->
<el-form-item
label="宣教模板"
v-if="formInline.taskType == 'PROPAGANDA_ARTICLE'"
>
<propaganda @on-template="propagandaontemplate"></propaganda>
</el-form-item>
<el-form-item label="提醒内容" v-if="formInline.taskType == 'TEXT_REMIND'">
<el-input type="textarea" v-model="formInline.textRemindContent" :rows="6" placeholder="请输入内容" />
<el-form-item
label="提醒内容"
v-if="formInline.taskType == 'TEXT_REMIND'"
>
<el-input
type="textarea"
v-model="formInline.textRemindContent"
:rows="6"
placeholder="请输入内容"
/>
</el-form-item>
<el-form-item label="人工随访模板" v-if="formInline.taskType == 'ARTIFICIAL_FOLLOW_UP'">
<el-form-item
label="人工随访模板"
v-if="formInline.taskType == 'ARTIFICIAL_FOLLOW_UP'"
>
<question @on-template="questionontemplate"></question>
</el-form-item>
</el-form>
<el-form :model="formInline" class="demo-form-inline" :inline="true"
v-if="formInline.taskType == 'QUESTIONNAIRE_SCALE'">
<el-form
:model="formInline"
class="demo-form-inline"
:inline="true"
v-if="formInline.taskType == 'QUESTIONNAIRE_SCALE'"
>
<el-form-item label="问卷模板">
<question @on-template="questionontemplate"></question>
</el-form-item>
<el-form-item label="问卷有效期">
<el-input-number v-model="formInline.questionExpirationDate" :min="1" :max="99"
label="描述文字"></el-input-number>
<el-input-number
v-model="formInline.questionExpirationDate"
:min="1"
:max="99"
label="描述文字"
></el-input-number>
</el-form-item>
</el-form>
</div>
<div v-if="formInline.taskType == 'TEXT_REMIND' ||
formInline.taskType == 'PROPAGANDA_ARTICLE' ||
formInline.taskType == 'QUESTIONNAIRE_SCALE'
">
<div
v-if="
formInline.taskType == 'TEXT_REMIND' ||
formInline.taskType == 'PROPAGANDA_ARTICLE' ||
formInline.taskType == 'QUESTIONNAIRE_SCALE'
"
>
<div class="PushMethod">
<span>推送方式短信</span>
<el-switch v-model="formInline.messagePushSign" active-color="#13ce66" active-value="1" inactive-value="0">
<el-switch
v-model="formInline.messagePushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
<div class="PushMethod">
<span>推送方式公众号</span>
<el-switch v-model="formInline.officialPushSign" active-color="#13ce66" active-value="1" inactive-value="0">
<el-switch
v-model="formInline.officialPushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
<div class="PushMethod">
<span>推送方式小程序</span>
<el-switch v-model="formInline.appletPushSign" active-color="#13ce66" active-value="1" inactive-value="0">
<el-switch
v-model="formInline.appletPushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
</div>
<div class="PushMethod" v-if="formInline.taskType == 'PHONE_OUTBOUND'">
<span>推送方式人工电话</span>
<el-switch v-model="formInline.phonePushSign" active-color="#13ce66" active-value="1" inactive-value="0">
</el-switch>
<div
class="PushMethodrg"
v-if="formInline.taskType == 'PHONE_OUTBOUND'"
>
<div class="flex">
<div class="itemlist">
推送方式
<span> 人工电话 </span>
</div>
<div class="itemlist">
模板
<scripts
@on-template="messageontemplateword"
:templateId="formInline.phoneId"
:templateName="formInline.phoneTemplateName"
></scripts>
</div>
<div class="itemlist">
<el-switch
v-model="formInline.phonePushSign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
</div>
<div class="flex">
<div class="itemlist">
重播次数
<span>
<el-select
v-model="formInline.phoneRedialTimes"
style="width: 100px"
>
<el-option
v-for="item in optionslistS"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</span>
</div>
<div class="itemlist">
时间间隔:
<span>
<el-input
v-model.number="formInline.phoneTimeInterval"
oninput="value=value.replace(/[^\d]/g,'')"
style="width: 100px"
>
</el-input>
</span>
</div>
<div class="itemlist">
短信提醒
<el-select
v-model="formInline.phoneMessageRemind"
style="width: 150px"
>
<el-option
v-for="item in optionslist"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</div>
<div class="itemlist">
短信模板
<span
class="spanname"
v-if="formInline.phoneMessageRemind == 'NOT_SEND_MESSAGE'"
>
<message
style="width: 200px"
@on-template="messageontemplateMESSAGE"
:templateId="formInline.phoneMessageTemplateId"
:templateName="formInline.phoneMessageTemplateName"
></message>
</span>
<span v-else>
<message
style="width: 200px"
@on-template="messageontemplateMESSAGE"
:templateId="formInline.phoneMessageTemplateId"
:templateName="formInline.phoneMessageTemplateName"
></message>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
@ -150,17 +330,21 @@
<script>
import propaganda from "../components/propaganda.vue";
import scriptphone from "../components/script.vue";
import scripts from '../components/script.vue'
import message from '../components/message.vue'
import question from "../components/question.vue";
import { signrouteadd } from "@/api/system/ManuallyCreatingTasks";
import { getAgencytype } from "@/api/system/agency";
import { list } from "@/api/system/specialDiseaseNode";
export default {
components: { scriptphone, question, propaganda },
components: { scriptphone, question, propaganda, scripts, message },
name: "ManuallyCreatingTasks",
data() {
return {
options: [],
optionslist: [],
optionslistS: [],
parentDictCodelist: [],
updata: {
signPatientRecordId: "",
@ -222,6 +406,8 @@ export default {
},
created() {
this.infolist();
this.infolistword();
this.infolistMESSAGE();
this.formInline = this.list[0];
this.updata.signPatientRecordId = this.$route.query.signPatientRecordId;
this.updata.patientId = this.$route.query.patientId;
@ -236,6 +422,20 @@ export default {
this.options = res.data;
});
},
infolistword() {
var dictType = "text_message_remind";
getAgencytype(dictType).then((res) => {
this.optionslist = res.data;
// this.taskinfo();
});
},
infolistMESSAGE() {
var dictType = "redial_times";
getAgencytype(dictType).then((res) => {
this.optionslistS = res.data;
// this.taskinfo();
});
},
changeoptions(e) {
this.parentDictCode = this.options.find((el) => el.dictValue == e).dictCode;
this.changelisy();
@ -274,6 +474,18 @@ export default {
this.formInline.phoneId = item.templateId;
this.formInline.phoneTemplateName = item.templateName;
},
//
messageontemplateMESSAGE(item) {
this.formInline.phoneMessageTemplateId = item.templateId;
this.formInline.phoneMessageTemplateName = item.templateName;
this.formInline.messagePreview = item.templateContent;
},
//
messageontemplateword(item) {
this.formInline.phoneId = item.templateId;
this.formInline.phoneTemplateName = item.templateName;
// this.form.messagePreview = item.templateContent;
},
clicktimelineitem(item, index) {
this.formInline = item;
this.listindex = index;
@ -309,6 +521,8 @@ export default {
},
upload() {
this.updata.routeNodeList = this.list;
// console.log(this.updata,'this.updata')
// return
signrouteadd(this.updata).then((res) => {
this.$notify({
type: "success",
@ -342,6 +556,44 @@ export default {
font-weight: bold;
}
}
.PushMethodrg {
background-color: #fff;
width: 100%;
height: 200px;
margin: 20px 0 0;
padding: 20px 50px 0px 20px;
border-radius: 10px;
.flex {
display: flex;
width: 100%;
align-items: center;
// background: red;
justify-content: space-between;
.itemlist {
height: 30px;
margin-top: 30px;
line-height: 30px;
font-size: 13px;
color: #64666a;
.spanname {
pointer-events: none;
}
::v-deep .el-input__inner {
color: black;
font-size: 13px;
}
span {
color: black;
font-size: 13px;
}
}
}
}
.node {
margin-bottom: 10px;
@ -455,4 +707,7 @@ export default {
display: inline-block;
float: right;
}
</style>
::v-deep .el-form-item__content{
display: inline-block !important;
}
</style>

View File

@ -103,7 +103,7 @@ export default {
diseaseTypeName: null,
questionnaireName: null,
questionnaireStatus: "PUBLISHED",
questionType: "REGULAR_QUESTIONNAIRE"
// questionType: "REGULAR_QUESTIONNAIRE"
},
handleselectId: '',
handleselectName: null,
@ -166,8 +166,9 @@ export default {
getDepartmentList({
departmentName: this.departmentName,
questionnaireStatus: "PUBLISHED",
questionType: "REGULAR_QUESTIONNAIRE",
// questionType: "REGULAR_QUESTIONNAIRE",
}).then(response => {
console.log('0000000000')
// response.data.forEach(e => {
// e.label = e.departmentName
// })
@ -178,7 +179,7 @@ export default {
getList() {
this.loading = true;
this.queryParams.questionnaireStatus = "PUBLISHED"
this.queryParams.questionType = "REGULAR_QUESTIONNAIRE"
// this.queryParams.questionType = "REGULAR_QUESTIONNAIRE"
listQuestion(this.queryParams).then(response => {
this.questionList = response.rows;
this.total = response.total;

View File

@ -332,7 +332,7 @@
<el-form-item label="短信模板:" prop="phone">
<span class="spanname">
<message
style="width: 200px"
style="width: 200px;height: 10px;"
@on-template="messageontemplateMESSAGE"
:templateId="formlist.phoneMessageTemplateId"
:templateName="formlist.phoneMessageTemplateName"
@ -403,6 +403,7 @@ import {
selectPatientQuestionSubmit,
} from "@/api/system/taskExecuteRecord";
import { getScript } from "@/api/manage/script";
import { getAgencytype } from "@/api/system/agency";
export default {
components: {
message,
@ -436,6 +437,8 @@ export default {
created() {
console.log(this.$route.query);
this.info();
this.infolistMESSAGE();
this.infolistword()
//
if (this.$route.query.textRemindContent) {
this.formlists.textRemindContent = this.$route.query.textRemindContent;
@ -692,8 +695,9 @@ export default {
}
.bottomheader {
overflow: auto;
overflow-y: scroll;
width: 99%;
height: 67vh;
background-color: #fff;
margin: 10px auto;
padding: 10px 20px;

View File

@ -19,7 +19,7 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="任务细分排序" prop="taskStatusSort">
<el-form-item label="任务状态排序" prop="taskStatusSort">
<el-input
v-model="queryParams.taskStatusSort"
placeholder="请输入任务细分排序"
@ -27,10 +27,10 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="任务细分备注" prop="taskStatusRemark">
<el-form-item label="任务状态备注" prop="taskStatusRemark">
<el-input
v-model="queryParams.taskStatusRemark"
placeholder="请输入任务细分备注"
placeholder="请输入任务状态备注"
clearable
@keyup.enter.native="handleQuery"
/>
@ -78,8 +78,8 @@
<el-table-column label="任务细分名称" align="center" prop="taskPartitionName" />
<el-table-column label="任务状态名称" align="center" prop="taskStatusName" />
<el-table-column label="任务状态编码" align="center" prop="taskStatusCode" />
<el-table-column label="任务细分排序" align="center" prop="taskStatusSort" />
<el-table-column label="任务细分备注" align="center" prop="taskStatusRemark" :show-overflow-tooltip="true" />
<el-table-column label="任务状态排序" align="center" prop="taskStatusSort" />
<el-table-column label="任务状态备注" align="center" prop="taskStatusRemark" :show-overflow-tooltip="true" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
@ -111,13 +111,13 @@
<el-input v-model="form.taskStatusName" placeholder="请输入任务状态名称" />
</el-form-item>
<el-form-item label="任务细分排序" prop="taskStatusSort">
<el-input-number v-model="form.taskStatusSort" controls-position="right" :min="0" placeholder="请输入任务细分排序"
<el-form-item label="任务状态排序" prop="taskStatusSort">
<el-input-number v-model="form.taskStatusSort" controls-position="right" :min="0" placeholder="请输入任务状态排序"
style="width:350px" />
</el-form-item>
<el-form-item label="任务细分备注" prop="taskStatusRemark">
<el-input v-model="form.taskStatusRemark" placeholder="请输入任务细分备注" />
<el-form-item label="任务状态备注" prop="taskStatusRemark">
<el-input v-model="form.taskStatusRemark" placeholder="请输入任务状态备注" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">