xg
This commit is contained in:
parent
2cc4c336da
commit
f056fe35af
@ -149,7 +149,7 @@
|
|||||||
<el-form-item
|
<el-form-item
|
||||||
label="问卷库模板选择"
|
label="问卷库模板选择"
|
||||||
prop=""
|
prop=""
|
||||||
v-if="form.templateType == 'QUESTIONNAIRE'"
|
v-if="form.taskSubdivisiontemplateType == 'QUESTIONNAIRE'"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.templateName"
|
v-model="form.templateName"
|
||||||
@ -160,7 +160,7 @@
|
|||||||
<el-form-item
|
<el-form-item
|
||||||
label="宣教库模板选择"
|
label="宣教库模板选择"
|
||||||
prop=""
|
prop=""
|
||||||
v-if="form.templateType == 'PROPAGANDA'"
|
v-if="form.taskSubdivisiontemplateType == 'PROPAGANDA'"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.templateName"
|
v-model="form.templateName"
|
||||||
@ -409,7 +409,7 @@ export default {
|
|||||||
appletPushSign: '0',
|
appletPushSign: '0',
|
||||||
officialPushSign: '0',
|
officialPushSign: '0',
|
||||||
messagePushSign: '0',
|
messagePushSign: '0',
|
||||||
templateType: '',
|
taskSubdivisiontemplateType: '',
|
||||||
officialRemindContent: '',
|
officialRemindContent: '',
|
||||||
messagePreview: '',
|
messagePreview: '',
|
||||||
appletRemindContent: '',
|
appletRemindContent: '',
|
||||||
@ -583,7 +583,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.templateType = ''
|
this.form.taskSubdivisiontemplateType = ''
|
||||||
if (taskSubdivision) {
|
if (taskSubdivision) {
|
||||||
this.form.taskSubdivision = taskSubdivision
|
this.form.taskSubdivision = taskSubdivision
|
||||||
this.changetaskSubdivision(taskSubdivision, 1)
|
this.changetaskSubdivision(taskSubdivision, 1)
|
||||||
@ -600,7 +600,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.templateType = el.templateType
|
this.form.taskSubdivisiontemplateType = el.templateType
|
||||||
if (!type) {
|
if (!type) {
|
||||||
this.form.templateId = ''
|
this.form.templateId = ''
|
||||||
this.form.templateName = ''
|
this.form.templateName = ''
|
||||||
@ -630,7 +630,7 @@ export default {
|
|||||||
officialPushSign: '0',
|
officialPushSign: '0',
|
||||||
messagePushSign: '0',
|
messagePushSign: '0',
|
||||||
messagePreview: '',
|
messagePreview: '',
|
||||||
templateType: '',
|
taskSubdivisiontemplateType: '',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
@ -653,7 +653,7 @@ export default {
|
|||||||
appletRemindContent: '',
|
appletRemindContent: '',
|
||||||
appletPromptDescription: '',
|
appletPromptDescription: '',
|
||||||
messagePreview: '',
|
messagePreview: '',
|
||||||
templateType: '',
|
taskSubdivisiontemplateType: '',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
delitem(item, index) {
|
delitem(item, index) {
|
||||||
|
|||||||
@ -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.templateType == 'QUESTIONNAIRE'">
|
<el-form-item label="问卷库模板选择" prop="" v-if="form.taskSubdivisiontemplateType == '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.templateType == 'PROPAGANDA'">
|
<el-form-item label="宣教库模板选择" prop="" v-if="form.taskSubdivisiontemplateType == '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.templateType != 'QUESTIONNAIRE' && form.templateType != 'PROPAGANDA'"
|
v-if="form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && form.taskSubdivisiontemplateType != '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",
|
||||||
templateType: "",
|
taskSubdivisiontemplateType: "",
|
||||||
officialRemindContent: "",
|
officialRemindContent: "",
|
||||||
messagePreview: "",
|
messagePreview: "",
|
||||||
appletRemindContent: "",
|
appletRemindContent: "",
|
||||||
@ -437,7 +437,7 @@ export default {
|
|||||||
messagePushSign: "0",
|
messagePushSign: "0",
|
||||||
messagePreview: "",
|
messagePreview: "",
|
||||||
officialRemindContent: "",
|
officialRemindContent: "",
|
||||||
templateType: "",
|
taskSubdivisiontemplateType: "",
|
||||||
appletRemindContent: "",
|
appletRemindContent: "",
|
||||||
appletPromptDescription: "",
|
appletPromptDescription: "",
|
||||||
},
|
},
|
||||||
@ -508,7 +508,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//暂存
|
//暂存
|
||||||
TemporaryStorage() {
|
TemporaryStorage() {
|
||||||
if (this.form.templateType != 'QUESTIONNAIRE' && this.form.templateType != 'PROPAGANDA') {
|
if (this.form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && this.form.taskSubdivisiontemplateType != '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.templateType != 'QUESTIONNAIRE' && this.form.templateType != 'PROPAGANDA') {
|
if (this.form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && this.form.taskSubdivisiontemplateType != '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.templateType = "";
|
this.form.taskSubdivisiontemplateType = "";
|
||||||
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.templateType = el.templateType;
|
this.form.taskSubdivisiontemplateType = 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: "",
|
||||||
templateType: "",
|
taskSubdivisiontemplateType: "",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
@ -682,7 +682,7 @@ export default {
|
|||||||
appletRemindContent: "",
|
appletRemindContent: "",
|
||||||
appletPromptDescription: "",
|
appletPromptDescription: "",
|
||||||
messagePreview: "",
|
messagePreview: "",
|
||||||
templateType: "",
|
taskSubdivisiontemplateType: "",
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
delitem(item, index) {
|
delitem(item, index) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user