xg
This commit is contained in:
parent
146ac9851f
commit
3c5be6610f
@ -91,11 +91,11 @@
|
|||||||
<el-time-select v-model="form.executionTime" style="width: 120px" placeholder="选择时间">
|
<el-time-select v-model="form.executionTime" style="width: 120px" placeholder="选择时间">
|
||||||
</el-time-select>
|
</el-time-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="问卷库模板选择" prop="" v-if="form.taskSubdivisiontemplateType == 'QUESTIONNAIRE'">
|
<el-form-item label="问卷库模板选择" prop="" v-if="form.templateType == 'QUESTIONNAIRE'">
|
||||||
<question @on-template="questionontemplate" :templateId="form.templateId"
|
<question @on-template="questionontemplate" :templateId="form.templateId"
|
||||||
:templateName="form.templateName"></question>
|
:templateName="form.templateName"></question>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="宣教库模板选择" prop="" v-if="form.taskSubdivisiontemplateType == 'PROPAGANDA'">
|
<el-form-item label="宣教库模板选择" prop="" v-if="form.templateType == 'PROPAGANDA'">
|
||||||
<propaganda @on-template="propagandaontemplate" :templateId="form.templateId"
|
<propaganda @on-template="propagandaontemplate" :templateId="form.templateId"
|
||||||
:templateName="form.templateName"></propaganda>
|
:templateName="form.templateName"></propaganda>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -103,7 +103,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="bottomform">
|
<div class="bottomform">
|
||||||
<wangeditor style="width: 100%" :nodeContent="form.nodeContent" @on-nodeContent="onNodeContent"
|
<wangeditor style="width: 100%" :nodeContent="form.nodeContent" @on-nodeContent="onNodeContent"
|
||||||
v-if="form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && form.taskSubdivisiontemplateType != 'PROPAGANDA'"
|
v-if="form.templateType != 'QUESTIONNAIRE' && form.templateType != 'PROPAGANDA'"
|
||||||
ref="wangeditor" />
|
ref="wangeditor" />
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
@ -333,7 +333,7 @@ export default {
|
|||||||
appletPushSign: "0",
|
appletPushSign: "0",
|
||||||
officialPushSign: "0",
|
officialPushSign: "0",
|
||||||
messagePushSign: "0",
|
messagePushSign: "0",
|
||||||
taskSubdivisiontemplateType: "",
|
templateType: "",
|
||||||
officialRemindContent: "",
|
officialRemindContent: "",
|
||||||
messagePreview: "",
|
messagePreview: "",
|
||||||
appletRemindContent: "",
|
appletRemindContent: "",
|
||||||
@ -437,7 +437,7 @@ export default {
|
|||||||
messagePushSign: "0",
|
messagePushSign: "0",
|
||||||
messagePreview: "",
|
messagePreview: "",
|
||||||
officialRemindContent: "",
|
officialRemindContent: "",
|
||||||
taskSubdivisiontemplateType: "",
|
templateType: "",
|
||||||
appletRemindContent: "",
|
appletRemindContent: "",
|
||||||
appletPromptDescription: "",
|
appletPromptDescription: "",
|
||||||
},
|
},
|
||||||
@ -508,7 +508,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//暂存
|
//暂存
|
||||||
TemporaryStorage() {
|
TemporaryStorage() {
|
||||||
if (this.form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && this.form.taskSubdivisiontemplateType != 'PROPAGANDA') {
|
if (this.form.templateType != 'QUESTIONNAIRE' && this.form.templateType != 'PROPAGANDA') {
|
||||||
this.$refs.wangeditor.emit();
|
this.$refs.wangeditor.emit();
|
||||||
}
|
}
|
||||||
this.$confirm(
|
this.$confirm(
|
||||||
@ -565,7 +565,7 @@ export default {
|
|||||||
this.form.templateName = item.templateName;
|
this.form.templateName = item.templateName;
|
||||||
},
|
},
|
||||||
bottomclickevent(uitem, index, uindex) {
|
bottomclickevent(uitem, index, uindex) {
|
||||||
if (this.form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && this.form.taskSubdivisiontemplateType != 'PROPAGANDA') {
|
if (this.form.templateType != 'QUESTIONNAIRE' && this.form.templateType != 'PROPAGANDA') {
|
||||||
this.$refs.wangeditor.emit();
|
this.$refs.wangeditor.emit();
|
||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@ -599,7 +599,7 @@ export default {
|
|||||||
this.taskPartitionList = res.data;
|
this.taskPartitionList = res.data;
|
||||||
this.form.taskSubdivision = "";
|
this.form.taskSubdivision = "";
|
||||||
this.form.taskSubdivisionName = "";
|
this.form.taskSubdivisionName = "";
|
||||||
this.form.taskSubdivisiontemplateType = "";
|
this.form.templateType = "";
|
||||||
this.taskStatusDictList = [];
|
this.taskStatusDictList = [];
|
||||||
if (taskSubdivision) {
|
if (taskSubdivision) {
|
||||||
this.form.taskSubdivision = taskSubdivision;
|
this.form.taskSubdivision = taskSubdivision;
|
||||||
@ -621,7 +621,7 @@ export default {
|
|||||||
this.taskPartitionList.forEach((el) => {
|
this.taskPartitionList.forEach((el) => {
|
||||||
if (code == el.taskPartitionCode) {
|
if (code == el.taskPartitionCode) {
|
||||||
this.form.executionTime = el.executionTime;
|
this.form.executionTime = el.executionTime;
|
||||||
this.form.taskSubdivisiontemplateType = el.templateType;
|
this.form.templateType = el.templateType;
|
||||||
if (!type) {
|
if (!type) {
|
||||||
this.form.templateId = "";
|
this.form.templateId = "";
|
||||||
this.form.templateName = "";
|
this.form.templateName = "";
|
||||||
@ -659,7 +659,7 @@ export default {
|
|||||||
officialPushSign: "0",
|
officialPushSign: "0",
|
||||||
messagePushSign: "0",
|
messagePushSign: "0",
|
||||||
messagePreview: "",
|
messagePreview: "",
|
||||||
taskSubdivisiontemplateType: "",
|
templateType: "",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
@ -682,7 +682,7 @@ export default {
|
|||||||
appletRemindContent: "",
|
appletRemindContent: "",
|
||||||
appletPromptDescription: "",
|
appletPromptDescription: "",
|
||||||
messagePreview: "",
|
messagePreview: "",
|
||||||
taskSubdivisiontemplateType: "",
|
templateType: "",
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
delitem(item, index) {
|
delitem(item, index) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user