This commit is contained in:
2024-04-03 14:17:19 +08:00
parent 06989d5888
commit a0404d86b5
6 changed files with 610 additions and 58 deletions

View File

@ -31,25 +31,19 @@
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
label-width="68px">
<el-form-item label="短信模板名称" prop="textMessageName" label-width="100px">
<el-input v-model="queryParams.textMessageName" placeholder="请输入微信模版名称" clearable
<el-input v-model="queryParams.textMessageName" placeholder="请输入模版名称" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="模板ID" prop="textMessageId">
<el-input v-model="queryParams.textMessageId" placeholder="请输入模板ID" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="短信状态" prop="textMessageStatus">
<el-select v-model="queryParams.textMessageStatus" placeholder="请选择短信通道">
<el-option v-for="item in optionstext" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-table v-loading="loading" :data="templateList">
<el-table v-loading="loading" :data="templateList" @row-dblclick="handleselect">
<el-table-column type="index" width="55" align="center" label="序号" />
<el-table-column label="短信模板名称" align="center" prop="textMessageName" :show-overflow-tooltip="true" />
<el-table-column label="短信ID" align="center" prop="textMessageId" />
@ -107,14 +101,6 @@ export default {
// pageNum: 1,
// pageSize: 10,
},
optionstext: [{
value: 'GROUNDING',
label: '上架'
},
{
value: 'OFF_SHELF',
label: '下架'
}],
options: [{
value: 'WATER_DROPLET_PLATFORM',
label: '水滴平台'
@ -167,12 +153,12 @@ export default {
nohandleselect() {
this.handleselectId = ''
this.handleselectName = ''
this.$emit("on-template", { templateId: '', templateName: '' });
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
},
handleselect(item) {
this.handleselectId = item.textMessageId
this.handleselectName = item.textMessageName
this.$emit("on-template", { templateId: item.textMessageId, templateName: item.textMessageName });
this.$emit("on-template", { templateId: item.textMessageId, templateName: item.textMessageName, templateContent: item.templateContent });
this.classificationOpen = false
},
classificationOpenfalse() {
@ -256,14 +242,14 @@ export default {
width: 100%;
height: 50px;
border-bottom: 1px solid #dcdfe6;
position: relative;
.count {
display: inline-block;
position: relative;
// right: -172px;
position: absolute;
left: 210px;
color: #a4a6aa;
top: -35px;
top: 10px;
font-size: 13px;
}

View File

@ -0,0 +1,278 @@
<template>
<div class="app-container">
<el-button size="small" @click="classificationOpen = true" style="width: 200px;font-size:14px;text-align:left"
:style="handleselectName ? 'color:black' : 'color:#C0C4CC'">{{ handleselectName ? handleselectName :
'选择公众号模板' }}</el-button>
<el-dialog title="公众号模板选择" :visible.sync="classificationOpen" width="70%"
:before-close="classificationOpenfalse">
<el-row :gutter="20">
<!--部门数据-->
<el-col :span="6" :xs="24">
<div class="left" ref="box">
<div class="name">科室名称</div>
<div>
<el-input v-model="name" placeholder="请输入科室名称" clearable
@keyup.enter.native="handleQuery" />
</div>
<div class="listitem">
<div :class="itemname == null ? 'allactive' : 'all'" @click="itemdata()">
全部
</div>
<span class="count">{{ count }}</span>
</div>
<div class="listitem" v-for="(item, index) in DepartmentoList" :key="index"
@click="itemdata(item)">
<div :class="itemname == item.id ? 'allactive' : 'all'">
{{ item.departmentName }}
</div>
<span class="count">{{ item.countNum }}</span>
</div>
</div>
</el-col>
<!--用户数据-->
<el-col :span="18" :xs="24">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
label-width="68px">
<el-form-item label="微信模版名称" prop="wechatTemplateName" label-width="100px">
<el-input v-model="queryParams.wechatTemplateName" placeholder="请输入模版名称" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="模板ID" prop="templateId">
<el-input v-model="queryParams.templateId" placeholder="请输入模板ID" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini"
@click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-table v-loading="loading" :data="templateList" @row-dblclick="handleselect">
<el-table-column type="index" width="55" align="center" label="序号" />
<el-table-column label="微信模版名称" align="center" prop="wechatTemplateName" />
<el-table-column label="模板ID" align="center" prop="templateId" />
<el-table-column label="模板来源" align="center" prop="templateSource">
<template slot-scope="scope">
{{ scope.row.templateSource == "WE_CHAT_APPLET" ? "小程序" : "" }}
{{ scope.row.templateSource == "WE_CHAT_OFFICIAL_ACCOUNT" ? "公众号" : "" }}
</template>
</el-table-column>
<el-table-column label="适用任务类型" align="center" prop="suitTaskTypeName"
:show-overflow-tooltip="true" />
<el-table-column label="病种名称" align="center" prop="diseaseTypeName" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" @click="handleselect(scope.row)"
v-if="handleselectId != scope.row.templateId">选择</el-button>
<el-button size="mini" type="text" @click="nohandleselect(scope.row)"
v-if="handleselectId == scope.row.templateId">取消选择</el-button>
</template>
</el-table-column>
</el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList" />
</el-col>
</el-row>
</el-dialog>
</div>
</template>
<script>
import { listTemplate, getTemplate, delTemplate, addTemplate, updateTemplate, listWechatTemplateNum, typelist } from "@/api/manage/template";
export default {
name: "miniProgram",
data() {
return {
handleselectName: '',
handleselectId: '',
classificationOpen: false,
count: '',//
itemname: null,
departmentName: null,
diseaseTypeName: null,
name: '',
departmentId: null,
DepartmentoList: [],//
//
querydepartmen: {
departmentName: "",
},
options: [{
value: 'WE_CHAT_APPLET',
label: '小程序'
}, {
value: 'WE_CHAT_OFFICIAL_ACCOUNT',
label: '公众号'
},],
//
loading: false,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
templateList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
wechatTemplateName: null,
departmentId: null,
departmentName: null,
diseaseTypeId: null,
diseaseTypeName: null,
templateId: null,
templateContent: null,
templateSource: null,
templateSort: null,
templateRemark: null,
},
};
},
watch: {
name(val) {
this.querydepartmen.departmentName = val
this.Departmentlist();
}
},
created() {
this.getList();
this.Departmentlist();
},
methods: {
classificationOpenfalse() {
this.classificationOpen = false
},
nohandleselect() {
this.handleselectId = ''
this.handleselectName = ''
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
},
handleselect(item) {
this.handleselectId = item.templateId
this.handleselectName = item.wechatTemplateName
this.$emit("on-template", { templateId: item.templateId, templateName: item.wechatTemplateName, templateContent: item.textMessageContent });
this.classificationOpen = false
},
/** 查询微信模板信息列表 */
getList() {
this.loading = true;
this.queryParams.templateSource = "WE_CHAT_APPLET"
listTemplate(this.queryParams).then(response => {
this.templateList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
Departmentlist() {
this.loading = true;
this.querydepartmen.templateSource = "WE_CHAT_APPLET"
listWechatTemplateNum(this.querydepartmen).then(response => {
this.DepartmentoList = response.data;
let sum = 0;
this.DepartmentoList.forEach((item) => {
if (item.countNum != null) {
sum += item.countNum;
}
this.count = sum;
});
this.loading = false;
});
},
//
itemdata(item) {
if (item) {
this.itemname = item.id
this.departmentName = item.departmentName
this.loading = true;
this.queryParams.departmentId = item.id
this.getList()
} else {
this.queryParams.departmentId = ''
this.itemname = null
this.getList()
}
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams.departmentId = null;
this.itemname = null;
this.resetForm("queryForm");
this.handleQuery();
},
}
};
</script>
<style lang="scss" scoped>
::v-deep .el-input-number .el-input__inner {
text-align: left;
}
.app-container {
display: inline-block;
padding: 0 !important;
}
.left {
height: 530px;
overflow: auto;
.name {
font-weight: 700;
margin-bottom: 10px;
}
.listitem {
width: 100%;
height: 50px;
border-bottom: 1px solid #dcdfe6;
position: relative;
.count {
display: inline-block;
position: absolute;
left: 210px;
color: #a4a6aa;
top: 10px;
font-size: 13px;
}
.all {
height: 50px;
line-height: 50px;
padding-left: 13px;
}
.allactive {
background: #e8f4ff;
height: 50px;
line-height: 50px;
padding-left: 13px;
border-left: 3px solid #4d9de7;
}
}
}
.button {
display: inline-block;
position: relative;
left: 20px;
top: -11px;
}
</style>

View File

@ -0,0 +1,278 @@
<template>
<div class="app-container">
<el-button size="small" @click="classificationOpen = true" style="width: 200px;font-size:14px;text-align:left"
:style="handleselectName ? 'color:black' : 'color:#C0C4CC'">{{ handleselectName ? handleselectName :
'选择公众号模板' }}</el-button>
<el-dialog title="公众号模板选择" :visible.sync="classificationOpen" width="70%"
:before-close="classificationOpenfalse">
<el-row :gutter="20">
<!--部门数据-->
<el-col :span="6" :xs="24">
<div class="left" ref="box">
<div class="name">科室名称</div>
<div>
<el-input v-model="name" placeholder="请输入科室名称" clearable
@keyup.enter.native="handleQuery" />
</div>
<div class="listitem">
<div :class="itemname == null ? 'allactive' : 'all'" @click="itemdata()">
全部
</div>
<span class="count">{{ count }}</span>
</div>
<div class="listitem" v-for="(item, index) in DepartmentoList" :key="index"
@click="itemdata(item)">
<div :class="itemname == item.id ? 'allactive' : 'all'">
{{ item.departmentName }}
</div>
<span class="count">{{ item.countNum }}</span>
</div>
</div>
</el-col>
<!--用户数据-->
<el-col :span="18" :xs="24">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
label-width="68px">
<el-form-item label="微信模版名称" prop="wechatTemplateName" label-width="100px">
<el-input v-model="queryParams.wechatTemplateName" placeholder="请输入模版名称" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="模板ID" prop="templateId">
<el-input v-model="queryParams.templateId" placeholder="请输入模板ID" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini"
@click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-table v-loading="loading" :data="templateList" @row-dblclick="handleselect">
<el-table-column type="index" width="55" align="center" label="序号" />
<el-table-column label="微信模版名称" align="center" prop="wechatTemplateName" />
<el-table-column label="模板ID" align="center" prop="templateId" />
<el-table-column label="模板来源" align="center" prop="templateSource">
<template slot-scope="scope">
{{ scope.row.templateSource == "WE_CHAT_APPLET" ? "小程序" : "" }}
{{ scope.row.templateSource == "WE_CHAT_OFFICIAL_ACCOUNT" ? "公众号" : "" }}
</template>
</el-table-column>
<el-table-column label="适用任务类型" align="center" prop="suitTaskTypeName"
:show-overflow-tooltip="true" />
<el-table-column label="病种名称" align="center" prop="diseaseTypeName" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" @click="handleselect(scope.row)"
v-if="handleselectId != scope.row.templateId">选择</el-button>
<el-button size="mini" type="text" @click="nohandleselect(scope.row)"
v-if="handleselectId == scope.row.templateId">取消选择</el-button>
</template>
</el-table-column>
</el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList" />
</el-col>
</el-row>
</el-dialog>
</div>
</template>
<script>
import { listTemplate, getTemplate, delTemplate, addTemplate, updateTemplate, listWechatTemplateNum, typelist } from "@/api/manage/template";
export default {
name: "officialAccount",
data() {
return {
handleselectName: '',
handleselectId: '',
classificationOpen: false,
count: '',//
itemname: null,
departmentName: null,
diseaseTypeName: null,
name: '',
departmentId: null,
DepartmentoList: [],//
//
querydepartmen: {
departmentName: "",
},
options: [{
value: 'WE_CHAT_APPLET',
label: '小程序'
}, {
value: 'WE_CHAT_OFFICIAL_ACCOUNT',
label: '公众号'
},],
//
loading: false,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
templateList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
wechatTemplateName: null,
departmentId: null,
departmentName: null,
diseaseTypeId: null,
diseaseTypeName: null,
templateId: null,
templateContent: null,
templateSource: null,
templateSort: null,
templateRemark: null,
},
};
},
watch: {
name(val) {
this.querydepartmen.departmentName = val
this.Departmentlist();
}
},
created() {
this.getList();
this.Departmentlist();
},
methods: {
classificationOpenfalse() {
this.classificationOpen = false
},
nohandleselect() {
this.handleselectId = ''
this.handleselectName = ''
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
},
handleselect(item) {
this.handleselectId = item.templateId
this.handleselectName = item.wechatTemplateName
this.$emit("on-template", { templateId: item.templateId, templateName: item.wechatTemplateName, templateContent: item.textMessageContent });
this.classificationOpen = false
},
/** 查询微信模板信息列表 */
getList() {
this.loading = true;
this.queryParams.templateSource = "WE_CHAT_OFFICIAL_ACCOUNT"
listTemplate(this.queryParams).then(response => {
this.templateList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
Departmentlist() {
this.loading = true;
this.querydepartmen.templateSource = "WE_CHAT_OFFICIAL_ACCOUNT"
listWechatTemplateNum(this.querydepartmen).then(response => {
this.DepartmentoList = response.data;
let sum = 0;
this.DepartmentoList.forEach((item) => {
if (item.countNum != null) {
sum += item.countNum;
}
this.count = sum;
});
this.loading = false;
});
},
//
itemdata(item) {
if (item) {
this.itemname = item.id
this.departmentName = item.departmentName
this.loading = true;
this.queryParams.departmentId = item.id
this.getList()
} else {
this.queryParams.departmentId = ''
this.itemname = null
this.getList()
}
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams.departmentId = null;
this.itemname = null;
this.resetForm("queryForm");
this.handleQuery();
},
}
};
</script>
<style lang="scss" scoped>
::v-deep .el-input-number .el-input__inner {
text-align: left;
}
.app-container {
display: inline-block;
padding: 0 !important;
}
.left {
height: 530px;
overflow: auto;
.name {
font-weight: 700;
margin-bottom: 10px;
}
.listitem {
width: 100%;
height: 50px;
border-bottom: 1px solid #dcdfe6;
position: relative;
.count {
display: inline-block;
position: absolute;
left: 210px;
color: #a4a6aa;
top: 10px;
font-size: 13px;
}
.all {
height: 50px;
line-height: 50px;
padding-left: 13px;
}
.allactive {
background: #e8f4ff;
height: 50px;
line-height: 50px;
padding-left: 13px;
border-left: 3px solid #4d9de7;
}
}
}
.button {
display: inline-block;
position: relative;
left: 20px;
top: -11px;
}
</style>

View File

@ -50,7 +50,7 @@
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-table v-loading="loading" :data="propagandaList">
<el-table v-loading="loading" :data="propagandaList" @row-dblclick="handleselect">
<el-table-column label="序号" align="center" prop="id" type="index" />
<el-table-column label="病种名称" align="center" prop="diseaseTypeName" />
<el-table-column label="宣教名称" align="center" prop="propagandaTitle"
@ -71,9 +71,9 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" @click="handleselect(scope.row)"
v-if="handleselectId != scope.row.id">选择</el-button>
v-if="handleselectId != scope.row.propagandaCode">选择</el-button>
<el-button size="mini" type="text" @click="nohandleselect(scope.row)"
v-if="handleselectId == scope.row.id">取消选择</el-button>
v-if="handleselectId == scope.row.propagandaCode">取消选择</el-button>
</template>
</el-table-column>
</el-table>
@ -197,9 +197,9 @@ export default {
this.$emit("on-template", { templateId: '', templateName: '' });
},
handleselect(item) {
this.handleselectId = item.id
this.handleselectId = item.propagandaCode
this.handleselectName = item.propagandaTitle
this.$emit("on-template", { templateId: item.id, templateName: item.propagandaTitle });
this.$emit("on-template", { templateId: item.propagandaCode, templateName: item.propagandaTitle });
this.classificationOpen = false
},
classificationOpenfalse() {

View File

@ -40,7 +40,7 @@
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-table v-loading="loading" :data="questionList">
<el-table v-loading="loading" :data="questionList" @row-dblclick="handleselect">
<el-table-column label="序号" type="index" width="55" align="center" />
<el-table-column label="问卷模板名称" align="center" prop="questionnaireName" />
<el-table-column label="问题个数" align="center" prop="questionCount" />
@ -57,9 +57,9 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" @click="handleselect(scope.row)"
v-if="handleselectId != scope.row.id">选择</el-button>
v-if="handleselectId != scope.row.questionnaireId">选择</el-button>
<el-button size="mini" type="text" @click="nohandleselect(scope.row)"
v-if="handleselectId == scope.row.id">取消选择</el-button>
v-if="handleselectId == scope.row.questionnaireId">取消选择</el-button>
</template>
</el-table-column>
</el-table>
@ -129,9 +129,9 @@ export default {
this.$emit("on-template", { templateId: '', templateName: '' });
},
handleselect(item) {
this.handleselectId = item.id
this.handleselectId = item.questionnaireId
this.handleselectName = item.questionnaireName
this.$emit("on-template", { templateId: item.id, templateName: item.questionnaireName });
this.$emit("on-template", { templateId: item.questionnaireId, templateName: item.questionnaireName });
this.classificationOpen = false
},
classificationOpenfalse() {

View File

@ -87,20 +87,17 @@
:picker-options="{ start: '08:30', step: '00:30', end: '18:30' }" placeholder="选择时间">
</el-time-select>
</el-form-item>
</el-form>
</div>
<div class="topform">
<el-form ref="form" :inline="true" :model="form" class="form">
<el-form-item label="问卷库模板选择" prop="">
<el-form-item label="问卷库模板选择" prop=""
>
<question @on-template="questionontemplate"></question>
</el-form-item>
<el-form-item label="宣教库模板选择" prop="">
<el-form-item label="宣教库模板选择" prop="" v-if="form.taskSubdivisiontemplateType == 'PROPAGANDA'">
<propaganda @on-template="propagandaontemplate"></propaganda>
</el-form-item>
</el-form>
</div>
<div class="bottomform">
<!-- <wangeditor style="width:100%;" ref="editor" v-if="wangeditorshow" /> -->
<wangeditor style="width:100%;" ref="editor" v-if="wangeditorshow" />
<div class="card">
<div class="flex">
<div class="pushMethod">
@ -111,7 +108,7 @@
</div>
<div class="pushMethod">
模板
<message></message>
<message @on-template="messageontemplate"></message>
</div>
<div class="pushMethod">
<el-switch v-model="form.messagePushSign" active-color="#13ce66" active-value="1"
@ -123,10 +120,7 @@
<div class="text">
短信预览
</div>
<div class="textarea">
医生小助手医生提醒<el-input v-model="form.input" placeholder=""></el-input>-
<el-input v-model="form.input" placeholder="单位名称" style="width: 150px;"></el-input>
</div>
<el-input style="border:none" class="textarea" v-model="form.messagePreview"></el-input>
</div>
</div>
<div class="card">
@ -140,15 +134,11 @@
<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>
<officialAccount @on-template="officialAccountontemplate"></officialAccount>
</span>
</div>
<div class="pushMethod">
<el-switch v-model="form.value" active-color="#13ce66">
<el-switch v-model="form.officialPushSign" active-color="#13ce66">
</el-switch>
</div>
</div>
@ -156,7 +146,7 @@
<div class="text">
提醒内容
</div>
<el-input v-model="form.input" placeholder="" class="textarea"
<el-input v-model="form.officialRemindContent" placeholder="" class="textarea"
style="border: none;"></el-input>
</div>
</div>
@ -171,15 +161,11 @@
<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>
<miniProgram @on-template="miniProgramtemplate"></miniProgram>
</span>
</div>
<div class="pushMethod">
<el-switch v-model="form.value" active-color="#13ce66">
<el-switch v-model="form.appletPushSign" active-color="#13ce66">
</el-switch>
</div>
</div>
@ -262,7 +248,6 @@
</el-select>
</div>
</div> -->
</div>
</div>
</div>
@ -278,11 +263,13 @@ import wangeditor from '../components/wangEditor.vue'
import question from '../components/question.vue'
import message from '../components/message.vue'
import propaganda from '../components/propaganda.vue'
import officialAccount from '../components/officialAccount.vue'
import miniProgram from '../components/miniProgram.vue'
import {
selectTaskTypeList, taskPartitionList, taskStatusDictList
} from '@/api/system/specialDiseaseNode'
export default {
components: { wangeditor, question, propaganda, message },
components: { wangeditor, question, propaganda, message, officialAccount, miniProgram },
name: "specialDiseaseNode",
data() {
return {
@ -300,6 +287,10 @@ export default {
taskStatus: '',
secondClassifyDescribe: '',
executionTime: '',
appletPushSign: '0',
officialPushSign: '0',
messagePushSign: '0',
taskSubdivisiontemplateType: '',
},
itemindex: 0,
listindex: 0,
@ -345,6 +336,24 @@ export default {
this.form = this.lists[0].list[0]
},
methods: {
//
miniProgramtemplate(item) {
this.form.appletTemplateId = item.templateId
this.form.appletTemplateName = item.templateName
this.form.appletRemindContent = item.templateContent
},
//
messageontemplate(item) {
this.form.messageTemplateId = item.templateId
this.form.messageTemplateName = item.templateName
this.form.messagePreview = item.templateContent
},
//
officialAccountontemplate() {
this.form.officialTemplateId = item.templateId
this.form.officialTemplateName = item.templateName
this.form.officialRemindContent = item.templateContent
},
//
TemporaryStorage() {
console.log(this.lists)
@ -395,6 +404,7 @@ export default {
this.taskPartitionList.forEach(el => {
if (e == el.id) {
this.form.taskSubdivisionName = el.taskTypeName
this.form.taskSubdivisiontemplateType = el.templateType
}
})
},