From 248b5e946c3365acba05168cf728a8704b0eae25 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 04 九月 2025 11:59:27 +0800
Subject: [PATCH] 测试完成
---
src/views/knowledge/questionnaire/compilequer/index.vue | 62 ++++++++++++++++++------------
1 files changed, 37 insertions(+), 25 deletions(-)
diff --git a/src/views/knowledge/questionnaire/compilequer/index.vue b/src/views/knowledge/questionnaire/compilequer/index.vue
index 6d2bd8b..dac734c 100644
--- a/src/views/knowledge/questionnaire/compilequer/index.vue
+++ b/src/views/knowledge/questionnaire/compilequer/index.vue
@@ -247,7 +247,7 @@
</el-select>
</el-form-item>
- <el-row>
+ <!-- <el-row>
<el-col :span="20"
><el-form-item label="閫傜敤绉戝" prop="region">
<el-select
@@ -292,7 +292,7 @@
</el-option>
</el-select> </el-form-item
></el-col>
- </el-row>
+ </el-row> -->
<el-form-item label="缁撴潫璇�" prop="conclusion">
<el-input
style="width: 55vw; line-height: 80px"
@@ -604,7 +604,7 @@
class="topicxq"
v-for="item in topicobj.svyLibTemplateTargetoptions"
>
- <el-row :gutter="5">
+ <el-row :gutter="10">
<el-col :span="12"
><el-form-item label="閫夐」鍚嶇О">
<el-input
@@ -659,6 +659,16 @@
</el-radio-group>
</el-form-item>
</el-row>
+ <el-row :gutter="10" v-if="topicobj.reservation == 2">
+ <el-form-item label="鍙绾︽暟">
+ <el-input
+ type="number"
+ placeholder="璇疯緭鍏ユ暟瀛�"
+ v-model="item.person"
+ >
+ </el-input>
+ </el-form-item>
+ </el-row>
<el-row :gutter="10" v-if="topicobj.branchFlag == 1">
<el-col :span="20"
><el-form-item label="涓嬮璺宠浆(搴忓彿)">
@@ -691,7 +701,9 @@
<el-image
style="width: 100px; height: 100px"
:src="item.picturePath"
- :preview-src-list="[...item.picturePath]"
+ :preview-src-list="
+ item.picturePath ? [item.picturePath] : []
+ "
>
</el-image>
</div>
@@ -1396,7 +1408,6 @@
valuetype: [],
qremark: [],
hosplist: [],
- deptlist: [],
usable: [
{ value: "0", label: "鍙敤" },
{ value: "1", label: "鍋滅敤" },
@@ -1539,22 +1550,22 @@
});
this.tempDetpRelevanceslist = [];
this.tempbelongWards = [];
- if (this.queryParamsdept.tempid) {
- depthospgetsonlist(this.queryParamsdept).then((res) => {
- if (res.code == 200) {
- let arr = res.rows;
- arr.forEach((item) => {
- if (item.deptType == 1) {
- this.deptlist.push(item);
- this.tempDetpRelevanceslist.push(item.deptCode);
- } else if (item.deptType == 2) {
- this.hosplist.push(item);
- this.tempbelongWards.push(item.deptCode);
- }
- });
- }
- });
- }
+ // if (this.queryParamsdept.tempid) {
+ // depthospgetsonlist(this.queryParamsdept).then((res) => {
+ // if (res.code == 200) {
+ // let arr = res.rows;
+ // arr.forEach((item) => {
+ // if (item.deptType == 1) {
+ // this.deptlist.push(item);
+ // this.tempDetpRelevanceslist.push(item.deptCode);
+ // } else if (item.deptType == 2) {
+ // this.hosplist.push(item);
+ // this.tempbelongWards.push(item.deptCode);
+ // }
+ // });
+ // }
+ // });
+ // }
},
// 鑾峰彇绉戝鏍�
getDeptTree() {
@@ -1676,22 +1687,23 @@
let result = this.deptlist
.filter((item) => item.deptCode == row)
.map((item) => item.id);
- console.log(result.length);
if (result.length) {
depthospgetsondel(result).then((res) => {
- if (res.code) {
+ if (res.code == 200) {
+ this.$modal.msgSuccess("鍒犻櫎绉戝鎴愬姛");
}
});
}
},
- // 鍒犻櫎鍒犻櫎瑙﹀彂
+ // 鍒犻櫎鐥呭尯瑙﹀彂
removehpsp(row) {
let result = this.hosplist
.filter((item) => item.deptCode == row)
.map((item) => item.id);
if (result.length) {
depthospgetsondel(result).then((res) => {
- if (res.code) {
+ if (res.code == 200) {
+ this.$modal.msgSuccess("鍒犻櫎鐥呭尯鎴愬姛");
}
});
}
--
Gitblit v1.9.3