From 26a9d430a32749502972a7eff771270633ce3c91 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 03 九月 2025 16:50:10 +0800
Subject: [PATCH] 测试完成
---
src/views/knowledge/questionnaire/compilequer/index.vue | 43 ++++++++++++++++++++++++++-----------------
1 files changed, 26 insertions(+), 17 deletions(-)
diff --git a/src/views/knowledge/questionnaire/compilequer/index.vue b/src/views/knowledge/questionnaire/compilequer/index.vue
index 074bb70..00a0b20 100644
--- a/src/views/knowledge/questionnaire/compilequer/index.vue
+++ b/src/views/knowledge/questionnaire/compilequer/index.vue
@@ -262,7 +262,7 @@
<el-option
class="ruleFormaa"
v-for="item in flatArray"
- :key="item.deptCode"
+ :key="item.id"
:label="item.label"
:value="item.deptCode"
>
@@ -285,7 +285,7 @@
<el-option
class="ruleFormaa"
v-for="item in flatArray"
- :key="item.deptCode"
+ :key="item.id"
:label="item.label"
:value="item.deptCode"
>
@@ -566,10 +566,10 @@
</el-form-item></el-col
>
<el-col :span="12"
- ><el-form-item label="鏄惁鍙敤">
- <el-radio-group v-model="topicobj.isenable">
+ ><el-form-item label="鏄惁闅愯棌">
+ <el-radio-group v-model="topicobj.ishide">
<el-radio
- v-for="(item, index) in usable"
+ v-for="(item, index) in hides"
:label="item.value"
>{{ item.label }}</el-radio
>
@@ -582,8 +582,8 @@
v-if="topicobj.scriptType == 1"
>
<el-radio-group v-model="topicobj.branchFlag">
- <el-radio :label="1">鏄�</el-radio>
- <el-radio :label="0">鍚�</el-radio>
+ <el-radio label="1">鏄�</el-radio>
+ <el-radio label="0">鍚�</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="閫変腑鎻愮ず" v-if="topicobj.scriptType != 1">
@@ -656,6 +656,12 @@
<el-radio-group v-model="item.isabnormal">
<el-radio :label="1">鏄�</el-radio>
<el-radio :label="0">鍚�</el-radio>
+ </el-radio-group>
+ </el-form-item>
+ <el-form-item label="鏄惁閫変腑鏀堕泦闄勫姞淇℃伅">
+ <el-radio-group v-model="item.appendflag">
+ <el-radio label="1">鏄�</el-radio>
+ <el-radio label="0">鍚�</el-radio>
</el-radio-group>
</el-form-item>
</el-row>
@@ -749,9 +755,7 @@
>
<el-button type="primary" @click="laststep()">涓婁竴姝�</el-button>
<el-button type="info" @click="closeFm('ruleForm')">鍏抽棴</el-button>
- <el-button @click="toExamine('ruleForm')"
- >淇濆瓨闂鏁版嵁</el-button
- >
+ <el-button @click="toExamine('ruleForm')">淇濆瓨闂鏁版嵁</el-button>
</div>
<!-- 闂嵎棰勮 -->
<div v-if="Editprogress == 3">
@@ -1215,8 +1219,8 @@
style="width: 100px; height: 100px"
:src="item.picturePath"
:preview-src-list="
- item.picturePath ? [item.picturePath] : []
- "
+ item.picturePath ? [item.picturePath] : []
+ "
>
</el-image>
</div>
@@ -1299,6 +1303,7 @@
svyTemplateLibScripts: [],
tempDetpRelevances: [],
svyLibTemplateTagList: [],
+ suitway: [],
scoreType: "4",
isenable: "0",
longTemp: "0",
@@ -1404,6 +1409,10 @@
usable: [
{ value: "0", label: "鍙敤" },
{ value: "1", label: "鍋滅敤" },
+ ],
+ hides: [
+ { value: 0, label: "姝e父" },
+ { value: 1, label: "闅愯棌" },
],
longtype: [
{ value: "0", label: "鏅�氫换鍔�" },
@@ -1622,8 +1631,8 @@
this.confirmillness();
this.putbelongDepts();
this.$modal.closeLoading();
- // this.$router.go(-1);
- window.location.reload();
+ this.$router.go(-1);
+ // window.location.reload();
});
} else {
this.ruleForm.isoperation = 1;
@@ -1643,8 +1652,8 @@
// 棰樼洰鏍¢獙
toExamine() {
// 閬嶅巻棰樼洰闆嗗悎
- for (let i = 0; i < this.ruleForm.svyTemplateLibScripts.length; i++) {
- const question = this.ruleForm.svyTemplateLibScripts[i];
+ for (let i = 0; i < this.ruleForm.svyTemplateLibScripts.length; i++) {
+ const question = this.ruleForm.svyTemplateLibScripts[i];
// 濡傛灉 scriptType 涓� 4锛屽垯璺宠繃褰撳墠棰樼洰
if (question.scriptType === 4) {
@@ -1675,7 +1684,7 @@
// 濡傛灉鎵�鏈夐鐩兘鏍¢獙閫氳繃锛岃繑鍥� true
console.log("鎵�鏈夐鐩牎楠岄�氳繃锛岄�夐」鍚嶇О鏃犻噸澶�");
- this.Departmenttreatment();
+ this.Departmenttreatment();
},
// 绉戝/闄㈠尯澶勭悊
--
Gitblit v1.9.3