From d96a7562b2515584fac4dcb57fdbdcadc8f36fef Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期六, 03 八月 2024 17:48:23 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/tasklist/index.vue                 |   12 
 src/views/followvisit/tasklist/FollowupDetails/index.vue |    6 
 src/views/followvisit/satisfaction/particulars/index.vue |   11 
 src/views/repositoryai/verbaltrick/particulars/index.vue |   49 +--
 src/components/Regular/index.vue                         |  427 ++++++++++++++++++++------------------
 src/views/knowledge/questionbank/particulars/index.vue   |   17 +
 src/components/AskRegular/index.vue                      |    2 
 src/views/repositoryai/intention/index.vue               |    3 
 src/views/patient/propaganda/Missioncreation.vue         |   29 ++
 src/views/patient/propaganda/particty.vue                |   29 ++
 src/views/patient/propaganda/QuestionnaireTask.vue       |   29 ++
 11 files changed, 351 insertions(+), 263 deletions(-)

diff --git a/src/components/AskRegular/index.vue b/src/components/AskRegular/index.vue
index d389f14..47e9dc3 100644
--- a/src/components/AskRegular/index.vue
+++ b/src/components/AskRegular/index.vue
@@ -13,7 +13,7 @@
             </el-input> </el-form-item
         ></el-col>
         <el-col :span="12"
-          ><el-form-item label="棰勮鍊�">
+          ><el-form-item label="棰勮鎻愰啋">
             <el-radio-group v-model="radio">
               <el-radio :label="3">鏄�</el-radio>
               <el-radio :label="6">鍚�</el-radio>
diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index bab62b1..55a1010 100644
--- a/src/components/Regular/index.vue
+++ b/src/components/Regular/index.vue
@@ -1,224 +1,226 @@
 <template>
   <div>
     <div class="topicxq" v-for="item in TargetoptionList">
-      <el-row :gutter="10">
-        <el-col :span="12"
-          ><el-form-item label="閫夐」鍚嶇О">
-            <el-input
-              type="text"
-              placeholder="璇疯緭鍏ワ紙蹇呭~椤癸級"
-              v-model="item.targetvalue"
-              show-word-limit
-            >
-            </el-input> </el-form-item
-        ></el-col>
-        <el-col :span="12"
-          ><el-form-item label="棰勮鍊�">
-            <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-col
-        >
-        <el-col :span="12" v-if="intent"
-          ><el-form-item label="閫夐」鑺傜偣">
-            <el-input
-              type="text"
-              placeholder="璇疯緭鍏ヨ妭鐐�"
-              v-model="item.targetid"
-              show-word-limit
-            >
-            </el-input> </el-form-item
-        ></el-col>
-      </el-row>
-      <el-row :gutter="10" v-if="!intent">
-        <el-col :span="20"
-          ><el-form-item label="閫夐」璇存槑">
-            <el-input
-              type="text"
-              placeholder="璇疯緭鍏�"
-              v-model="item.optiondesc"
-              show-word-limit
-            >
-            </el-input> </el-form-item
-        ></el-col>
-      </el-row>
-      <el-row :gutter="10" v-if="intent">
-        <el-col :span="12"
-          ><el-form-item label="澶勭悊">
-            <el-input
-              type="text"
-              placeholder="(榛樿)鏃犲0"
-              v-model="item.text"
-              maxlength="10"
-              show-word-limit
-            >
-            </el-input> </el-form-item
-        ></el-col>
-        <el-col :span="12"
-          ><el-form-item label="閫変腑璺宠浆">
-            <el-input
-              type="text"
-              placeholder="璇疯緭鍏ラ鐩妭鐐�"
-              v-model="item.nextQuestion"
-              show-word-limit
-            >
-            </el-input> </el-form-item
-        ></el-col>
-      </el-row>
-      <el-form-item label="鍏抽敭瀛�(鍚�)" prop="desc" v-if="hasValue">
-        <div class="xinz-inf">
-          <el-tag
-            :key="crux"
-            type="success"
-            v-for="crux in item.dynamiccruxs"
-            closable
-            effect="dark"
-            :disable-transitions="false"
-            @close="handleClosecrux(crux, item, 1)"
+      <el-form :model="ruleForm" :rules="rules">
+        <el-row :gutter="10">
+          <el-col :span="12"
+            ><el-form-item prop="targetvalue" label="閫夐」鍚嶇О">
+              <el-input
+                type="text"
+                placeholder="璇疯緭鍏ワ紙蹇呭~椤癸級"
+                v-model="item.targetvalue"
+                show-word-limit
+              >
+              </el-input> </el-form-item
+          ></el-col>
+          <el-col :span="12"
+            ><el-form-item label="棰勮鎻愰啋">
+              <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-col
           >
-            {{ crux }}
-          </el-tag>
-          <el-select
-            v-model="inputValue"
-            v-if="item.inputVisible"
-            @change="handleInputConfirm(item)"
-            filterable
-            remote
-            allow-create
-            reserve-keyword
-            default-first-option
-            :loading="loading"
-            placeholder="璇烽�夋嫨"
-          >
-            <el-option
-              v-for="items in regular"
-              :key="items.label"
-              :label="items.label"
-              :value="items.label"
+          <el-col :span="12" v-if="intent"
+            ><el-form-item label="閫夐」鑺傜偣">
+              <el-input
+                type="text"
+                placeholder="璇疯緭鍏ヨ妭鐐�"
+                v-model="item.targetid"
+                show-word-limit
+              >
+              </el-input> </el-form-item
+          ></el-col>
+        </el-row>
+        <el-row :gutter="10" v-if="!intent">
+          <el-col :span="20"
+            ><el-form-item label="閫夐」璇存槑">
+              <el-input
+                type="text"
+                placeholder="璇疯緭鍏�"
+                v-model="item.optiondesc"
+                show-word-limit
+              >
+              </el-input> </el-form-item
+          ></el-col>
+        </el-row>
+        <el-row :gutter="10" v-if="intent">
+          <el-col :span="12"
+            ><el-form-item label="澶勭悊">
+              <el-input
+                type="text"
+                placeholder="(榛樿)鏃犲0"
+                v-model="item.text"
+                maxlength="10"
+                show-word-limit
+              >
+              </el-input> </el-form-item
+          ></el-col>
+          <el-col :span="12"
+            ><el-form-item label="閫変腑璺宠浆">
+              <el-input
+                type="text"
+                placeholder="璇疯緭鍏ラ鐩妭鐐�"
+                v-model="item.nextQuestion"
+                show-word-limit
+              >
+              </el-input> </el-form-item
+          ></el-col>
+        </el-row>
+        <el-form-item label="鍏抽敭瀛�(鍚�)" prop="desc" v-if="hasValue">
+          <div class="xinz-inf">
+            <el-tag
+              :key="crux"
+              type="success"
+              v-for="crux in item.dynamiccruxs"
+              closable
+              effect="dark"
+              :disable-transitions="false"
+              @close="handleClosecrux(crux, item, 1)"
             >
-            </el-option>
-          </el-select>
-          <el-button
-            v-else
-            class="button-new-tag"
-            size="small"
-            @click="showInput(item)"
-            >+ 鏂板</el-button
-          >
-        </div>
-      </el-form-item>
-      <el-form-item label="鍏抽敭瀛�(闈�)" prop="desc" v-if="hasValue">
-        <div class="xinz-inf">
-          <el-tag
-            :key="crux"
-            type="warning"
-            v-for="crux in item.nodynamiccruxs"
-            closable
-            effect="dark"
-            :disable-transitions="false"
-            @close="handleClosecrux(crux, item, 2)"
-          >
-            {{ crux }}
-          </el-tag>
-          <el-select
-            v-model="inputValue"
-            v-if="item.noinputVisible"
-            @change="handleInputConfirm(item)"
-            filterable
-            remote
-            allow-create
-            reserve-keyword
-            default-first-option
-            :loading="loading"
-            placeholder="璇烽�夋嫨"
-          >
-            <el-option
-              v-for="items in noregular"
-              :key="items.value"
-              :label="items.label"
-              :value="items.label"
+              {{ crux }}
+            </el-tag>
+            <el-select
+              v-model="inputValue"
+              v-if="item.inputVisible"
+              @change="handleInputConfirm(item)"
+              filterable
+              remote
+              allow-create
+              reserve-keyword
+              default-first-option
+              :loading="loading"
+              placeholder="璇烽�夋嫨"
             >
-            </el-option>
-          </el-select>
-          <el-button
-            v-else
-            class="button-new-tag"
-            size="small"
-            @click="showInputno(item)"
-            >+ 鏂板</el-button
-          >
-        </div>
-      </el-form-item>
-      <el-form-item label="閫夐」鏂囦欢" prop="sickness" v-if="Verbalproblem">
-        <div style="width: 40vw">
-          <el-upload
-            class="upload-demo"
-            :action="uploadImgUrl"
-            :headers="headers"
-            accept=".jpg,.png,image/*"
-            :on-success="handleChange.bind(this, item)"
-          >
-            <el-button size="small" type="primary">鐐瑰嚮涓婁紶</el-button>
-          </el-upload>
-          <div style="margin: 20px">
-            <el-image
-              style="width: 100px; height: 100px"
-              :src="item.picturePath"
-              :preview-src-list="[...item.picturePath]"
+              <el-option
+                v-for="items in regular"
+                :key="items.label"
+                :label="items.label"
+                :value="items.label"
+              >
+              </el-option>
+            </el-select>
+            <el-button
+              v-else
+              class="button-new-tag"
+              size="small"
+              @click="showInput(item)"
+              >+ 鏂板</el-button
             >
-            </el-image>
           </div>
-        </div>
-      </el-form-item>
-
-      <el-row :gutter="10">
-        <el-col :span="16" v-if="intent">
-          <el-form-item label="璇煶鏂囦欢">
+        </el-form-item>
+        <el-form-item label="鍏抽敭瀛�(闈�)" prop="adesc" v-if="hasValue">
+          <div class="xinz-inf">
+            <el-tag
+              :key="crux"
+              type="warning"
+              v-for="crux in item.nodynamiccruxs"
+              closable
+              effect="dark"
+              :disable-transitions="false"
+              @close="handleClosecrux(crux, item, 2)"
+            >
+              {{ crux }}
+            </el-tag>
+            <el-select
+              v-model="inputValue"
+              v-if="item.noinputVisible"
+              @change="handleInputConfirm(item)"
+              filterable
+              remote
+              allow-create
+              reserve-keyword
+              default-first-option
+              :loading="loading"
+              placeholder="璇烽�夋嫨"
+            >
+              <el-option
+                v-for="items in noregular"
+                :key="items.value"
+                :label="items.label"
+                :value="items.label"
+              >
+              </el-option>
+            </el-select>
+            <el-button
+              v-else
+              class="button-new-tag"
+              size="small"
+              @click="showInputno(item)"
+              >+ 鏂板</el-button
+            >
+          </div>
+        </el-form-item>
+        <el-form-item label="閫夐」鏂囦欢" prop="sickness" v-if="Verbalproblem">
+          <div style="width: 40vw">
             <el-upload
               class="upload-demo"
-              style="display: flex"
-              action="https://jsonplaceholder.typicode.com/posts/"
-              :file-list="fileList"
-              :limit="1"
-              :on-exceed="handleExceed"
+              :action="uploadImgUrl"
+              :headers="headers"
+              accept=".jpg,.png,image/*"
+              :on-success="handleChange.bind(this, item)"
             >
               <el-button size="small" type="primary">鐐瑰嚮涓婁紶</el-button>
             </el-upload>
-          </el-form-item></el-col
-        >
-        <el-col :span="intent ? 8 : 22">
-          <div style="text-align: right; padding-right: 10px">
-            <el-button
-              v-if="controlsc"
-              @click="$emit('addoption', item)"
-              type="success"
-              icon="el-icon-circle-plus-outline"
-              circle
-            ></el-button>
-            <el-button
-              type="danger"
-              icon="el-icon-delete"
-              circle
-              @click="$emit('deloption', item)"
-            ></el-button>
-            <el-button
-              v-if="controlsc"
-              @click="$emit('syioption', item)"
-              type="primary"
-              icon="el-icon-top"
-              circle
-            ></el-button>
-            <el-button
-              v-if="controlsc"
-              @click="$emit('xiayioption', item)"
-              type="primary"
-              icon="el-icon-bottom"
-              circle
-            ></el-button>
+            <div style="margin: 20px">
+              <el-image
+                style="width: 100px; height: 100px"
+                :src="item.picturePath"
+                :preview-src-list="[...item.picturePath]"
+              >
+              </el-image>
+            </div>
           </div>
-        </el-col>
-      </el-row>
+        </el-form-item>
+
+        <el-row :gutter="10">
+          <el-col :span="16" v-if="intent">
+            <el-form-item label="璇煶鏂囦欢">
+              <el-upload
+                class="upload-demo"
+                style="display: flex"
+                action="https://jsonplaceholder.typicode.com/posts/"
+                :file-list="fileList"
+                :limit="1"
+                :on-exceed="handleExceed"
+              >
+                <el-button size="small" type="primary">鐐瑰嚮涓婁紶</el-button>
+              </el-upload>
+            </el-form-item></el-col
+          >
+          <el-col :span="intent ? 8 : 22">
+            <div style="text-align: right; padding-right: 10px">
+              <el-button
+                v-if="controlsc"
+                @click="$emit('addoption', item)"
+                type="success"
+                icon="el-icon-circle-plus-outline"
+                circle
+              ></el-button>
+              <el-button
+                type="danger"
+                icon="el-icon-delete"
+                circle
+                @click="$emit('deloption', item)"
+              ></el-button>
+              <el-button
+                v-if="controlsc"
+                @click="$emit('syioption', item)"
+                type="primary"
+                icon="el-icon-top"
+                circle
+              ></el-button>
+              <el-button
+                v-if="controlsc"
+                @click="$emit('xiayioption', item)"
+                type="primary"
+                icon="el-icon-bottom"
+                circle
+              ></el-button>
+            </div>
+          </el-col>
+        </el-row>
+      </el-form>
     </div>
   </div>
 </template>
@@ -251,6 +253,17 @@
       noregular: [],
       nodynamiccruxs: ["鍒�", "涓�"],
       dynamiccruxs: ["濂�"],
+      rules: {
+        targetvalue: [
+          { required: true, message: "璇疯緭鍏ラ�夐」鍚嶇О", trigger: "blur" },
+          {
+            min: 1,
+            max: 20,
+            message: "闀垮害鍦� 1 鍒� 20 涓瓧绗�",
+            trigger: "blur",
+          },
+        ],
+      },
     };
   },
   props: {
diff --git a/src/views/followvisit/satisfaction/particulars/index.vue b/src/views/followvisit/satisfaction/particulars/index.vue
index a64a754..d9c0b3f 100644
--- a/src/views/followvisit/satisfaction/particulars/index.vue
+++ b/src/views/followvisit/satisfaction/particulars/index.vue
@@ -342,7 +342,7 @@
     </div>
     <!-- 娣诲姞鎮h�� -->
     <el-dialog
-      title="娣诲姞娲惧彂鎮h��"
+      title="閫夋嫨鎮h��"
       :visible.sync="dialogVisiblepatient"
       width="70%"
       :before-close="handleClosehz"
@@ -450,7 +450,6 @@
 </template>
 
 <script>
-
 import { messagelistpatient } from "@/api/patient/homepage";
 import SFtable from "@/components/SFtable"; //琛ㄦ牸缁勪欢
 
@@ -468,7 +467,7 @@
       tableLabel: [],
       // 鎮h�呰〃鍗�
       tableLabelhz: [
-      { label: "鎮h�呭悕绉�", width: "", prop: "name" },
+        { label: "鎮h�呭悕绉�", width: "", prop: "name" },
         { label: "鎬у埆", width: "", prop: "sex" },
         { label: "骞撮緞", width: "", prop: "age" },
         { label: "灏辫瘖绉戝", width: "", prop: "impTemplate" },
@@ -476,7 +475,7 @@
         { label: "鍒涘缓浜�", width: "", prop: "update_by" },
       ],
       tableLabelxj: [
-      { label: "闂ㄨ瘖缂栧彿", width: "", prop: "name" },
+        { label: "闂ㄨ瘖缂栧彿", width: "", prop: "name" },
         { label: "濮撳悕", width: "", prop: "name" },
         { label: "骞撮緞", width: "", prop: "age" },
         { label: "鑱旂郴鐢佃瘽", width: "", prop: "name" },
@@ -490,7 +489,7 @@
         { label: "鍒涘缓浜�", width: "", prop: "update_by" },
       ],
       tableLabelmz: [
-      { label: "闂ㄨ瘖缂栧彿", width: "", prop: "name" },
+        { label: "闂ㄨ瘖缂栧彿", width: "", prop: "name" },
         { label: "濮撳悕", width: "", prop: "name" },
         { label: "骞撮緞", width: "", prop: "age" },
         { label: "鑱旂郴鐢佃瘽", width: "", prop: "name" },
@@ -504,7 +503,7 @@
         { label: "鍒涘缓浜�", width: "", prop: "update_by" },
       ],
       tableLabelcy: [
-      { label: "鍛樺伐缂栧彿", width: "", prop: "name" },
+        { label: "鍛樺伐缂栧彿", width: "", prop: "name" },
         { label: "濮撳悕", width: "", prop: "name" },
         { label: "骞撮緞", width: "", prop: "age" },
         { label: "鑱旂郴鐢佃瘽", width: "", prop: "name" },
diff --git a/src/views/followvisit/tasklist/FollowupDetails/index.vue b/src/views/followvisit/tasklist/FollowupDetails/index.vue
index c597bae..f4b132f 100644
--- a/src/views/followvisit/tasklist/FollowupDetails/index.vue
+++ b/src/views/followvisit/tasklist/FollowupDetails/index.vue
@@ -825,7 +825,7 @@
     </el-dialog>
     <!-- 娣诲姞鎮h�� -->
     <el-dialog
-      title="娣诲姞娲惧彂鎮h��"
+      title="閫夋嫨鎮h��"
       :visible.sync="dialogVisiblepatient"
       width="70%"
       :before-close="handleClosehz"
@@ -992,9 +992,6 @@
 </template>
 
 <script>
-
-
-
 export default {
   data() {
     return {
@@ -1088,7 +1085,6 @@
   created() {
     this.Addsubtask();
     this.Getsubtask();
-
   },
 
   methods: {
diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue
index 205806b..356ca4a 100644
--- a/src/views/followvisit/tasklist/index.vue
+++ b/src/views/followvisit/tasklist/index.vue
@@ -35,7 +35,7 @@
           ></el-date-picker>
         </el-form-item>
 
-        <el-form-item label="妯$増鍚嶇О" prop="status">
+        <el-form-item label="鏈嶅姟椤圭洰" prop="status">
           <el-input
             v-model="topqueryParams.templatename"
             @keyup.enter.native="handleQuery"
@@ -116,13 +116,13 @@
               :columns="columns"
             ></right-toolbar> -->
       <el-table v-loading="loading" :data="userList">
-        <el-table-column
+        <!-- <el-table-column
           label="搴忓彿"
           fixed
           align="center"
           key="taskid"
           prop="taskid"
-        />
+        /> -->
 
         <el-table-column
           label="浠诲姟鍚嶇О"
@@ -139,6 +139,12 @@
           prop="taskDesc"
         />
         <el-table-column
+          label="鏈嶅姟椤圭洰"
+          align="center"
+          key="templatename"
+          prop="templatename"
+        />
+        <el-table-column
           label="寰呮墽琛�/鎬讳换鍔�"
           align="center"
           key="nickName"
diff --git a/src/views/knowledge/questionbank/particulars/index.vue b/src/views/knowledge/questionbank/particulars/index.vue
index ac445b6..8900b8b 100644
--- a/src/views/knowledge/questionbank/particulars/index.vue
+++ b/src/views/knowledge/questionbank/particulars/index.vue
@@ -132,6 +132,7 @@
                 ><el-form-item label="棰樼洰绫诲瀷">
                   <el-select
                     v-model="topicobj.scriptType"
+                    @change="changefn"
                     size="medium"
                     filterable
                     placeholder="璇烽�夋嫨鍒嗙被"
@@ -375,7 +376,7 @@
                 </el-col>
               </el-row>
               <el-row :gutter="10">
-                <el-form-item label="棰勮鍊�">
+                <el-form-item label="棰勮鎻愰啋">
                   <el-radio-group v-model="item.isabnormal">
                     <el-radio :label="1">鏄�</el-radio>
                     <el-radio :label="0">鍚�</el-radio>
@@ -591,6 +592,7 @@
       inputVisible: false,
       inputValue: "",
       currentInputId: "",
+      scriptTypels: "",
       total: 0,
       drawer: false,
       loading: false,
@@ -825,6 +827,19 @@
         this.compileissue();
       }
     },
+    // 鍒ゆ柇鎸囨爣
+    changefn(item) {
+      if (this.topicobj.targetname) {
+        this.$modal
+          .confirm("鏇存敼绫诲瀷鍚庨�夐」灏嗘竻绌烘槸鍚︾户缁紵")
+          .then(() => {
+            this.scriptTypels = this.topicobj.scriptType;
+          })
+          .catch(() => {
+            this.topicobj.scriptType=this.scriptTypels
+          });
+      }
+    },
 
     // 鍒犻櫎閫夐」
     deletexuanx(row) {
diff --git a/src/views/patient/propaganda/Missioncreation.vue b/src/views/patient/propaganda/Missioncreation.vue
index fe0480d..85e3be6 100644
--- a/src/views/patient/propaganda/Missioncreation.vue
+++ b/src/views/patient/propaganda/Missioncreation.vue
@@ -345,7 +345,7 @@
     </div>
     <!-- 娣诲姞鎮h�� -->
     <el-dialog
-      title="娣诲姞娲惧彂鎮h��"
+      title="閫夋嫨鎮h��"
       :visible.sync="dialogVisiblepatient"
       width="70%"
       :before-close="handleClosehz"
@@ -367,7 +367,7 @@
                 <el-input v-model="patientqueryParams.name"></el-input>
               </el-form-item>
 
-              <el-form-item label="灏辫瘖绉戝" prop="status">
+              <!-- <el-form-item label="灏辫瘖绉戝" prop="status">
                 <el-select
                   v-model="patientqueryParams.topic"
                   placeholder="璇烽�夋嫨"
@@ -386,7 +386,7 @@
                     </el-option>
                   </el-option-group>
                 </el-select>
-              </el-form-item>
+              </el-form-item> -->
 
               <el-form-item>
                 <el-button
@@ -961,6 +961,29 @@
       this.overallCase.forEach((item) => {
         this.allpids.push(item.patid);
       });
+      if (this.patientqueryParams.allhosp == 1) {
+        this.tableLabelhz = [
+          { label: "搴忓彿", width: "", prop: "patid" },
+          { label: "鎮h�呭悕绉�", width: "", prop: "name" },
+          { label: "鎬у埆", width: "", prop: "sex" },
+          { label: "骞撮緞", width: "", prop: "age" },
+          { label: "涓讳换鍖诲笀", width: "", prop: "drname" },
+          { label: "灏辫瘖绉戝", width: "", prop: "deptName" },
+          { label: "鍏ラ櫌鏃ユ湡", width: "", prop: "inhosptime" },
+          { label: "鍒涘缓浜�", width: "", prop: "createBy" },
+        ];
+      } else if (this.patientqueryParams.allhosp == 2) {
+        this.tableLabelhz = [
+          { label: "搴忓彿", width: "", prop: "patid" },
+          { label: "鎮h�呭悕绉�", width: "", prop: "name" },
+          { label: "鎬у埆", width: "", prop: "sex" },
+          { label: "骞撮緞", width: "", prop: "age" },
+          { label: "璇婃柇", width: "", prop: "diagname" },
+          { label: "灏辫瘖绉戝", width: "", prop: "deptName" },
+          { label: "鍏ラ櫌鏃ユ湡", width: "", prop: "inhosptime" },
+          { label: "鍒涘缓浜�", width: "", prop: "createBy" },
+        ];
+      }
       if (this.allpids[0]) {
         this.patientqueryParams.pids = this.allpids;
         console.log(this.patientqueryParams.pids);
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 189b1fe..2a871f3 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -389,7 +389,7 @@
     </div>
     <!-- 娣诲姞鎮h�� -->
     <el-dialog
-      title="娣诲姞娲惧彂鎮h��"
+      title="閫夋嫨鎮h��"
       :visible.sync="dialogVisiblepatient"
       width="70%"
       :before-close="handleClosehz"
@@ -411,7 +411,7 @@
                 <el-input v-model="patientqueryParams.name"></el-input>
               </el-form-item>
 
-              <el-form-item label="灏辫瘖绉戝" prop="status">
+              <!-- <el-form-item label="灏辫瘖绉戝" prop="status">
                 <el-select
                   v-model="patientqueryParams.topic"
                   placeholder="璇烽�夋嫨"
@@ -430,7 +430,7 @@
                     </el-option>
                   </el-option-group>
                 </el-select>
-              </el-form-item>
+              </el-form-item> -->
 
               <el-form-item>
                 <el-button
@@ -1046,6 +1046,29 @@
       this.overallCase.forEach((item) => {
         this.allpids.push(item.patid);
       });
+      if (this.patientqueryParams.allhosp == 1) {
+        this.tableLabelhz = [
+          { label: "搴忓彿", width: "", prop: "patid" },
+          { label: "鎮h�呭悕绉�", width: "", prop: "name" },
+          { label: "鎬у埆", width: "", prop: "sex" },
+          { label: "骞撮緞", width: "", prop: "age" },
+          { label: "涓讳换鍖诲笀", width: "", prop: "drname" },
+          { label: "灏辫瘖绉戝", width: "", prop: "deptName" },
+          { label: "鍏ラ櫌鏃ユ湡", width: "", prop: "inhosptime" },
+          { label: "鍒涘缓浜�", width: "", prop: "createBy" },
+        ];
+      } else if (this.patientqueryParams.allhosp == 2) {
+        this.tableLabelhz = [
+          { label: "搴忓彿", width: "", prop: "patid" },
+          { label: "鎮h�呭悕绉�", width: "", prop: "name" },
+          { label: "鎬у埆", width: "", prop: "sex" },
+          { label: "骞撮緞", width: "", prop: "age" },
+          { label: "璇婃柇", width: "", prop: "diagname" },
+          { label: "灏辫瘖绉戝", width: "", prop: "deptName" },
+          { label: "鍏ラ櫌鏃ユ湡", width: "", prop: "inhosptime" },
+          { label: "鍒涘缓浜�", width: "", prop: "createBy" },
+        ];
+      }
       if (this.allpids[0]) {
         this.patientqueryParams.pids = this.allpids;
         console.log(this.patientqueryParams.pids);
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index eb521a4..5e5d0b4 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -389,7 +389,7 @@
     </div>
     <!-- 娣诲姞鎮h�� -->
     <el-dialog
-      title="娣诲姞娲惧彂鎮h��"
+      title="閫夋嫨鎮h��"
       :visible.sync="dialogVisiblepatient"
       width="70%"
       :before-close="handleClosehz"
@@ -411,7 +411,7 @@
                 <el-input v-model="patientqueryParams.name"></el-input>
               </el-form-item>
 
-              <el-form-item label="灏辫瘖绉戝" prop="status">
+              <!-- <el-form-item label="灏辫瘖绉戝" prop="status">
                 <el-select
                   v-model="patientqueryParams.scriptTopic"
                   placeholder="璇烽�夋嫨"
@@ -430,7 +430,7 @@
                     </el-option>
                   </el-option-group>
                 </el-select>
-              </el-form-item>
+              </el-form-item> -->
 
               <el-form-item>
                 <el-button
@@ -999,6 +999,29 @@
       this.overallCase.forEach((item) => {
         this.allpids.push(item.patid);
       });
+      if (this.patientqueryParams.allhosp == 1) {
+        this.tableLabelhz = [
+          { label: "搴忓彿", width: "", prop: "patid" },
+          { label: "鎮h�呭悕绉�", width: "", prop: "name" },
+          { label: "鎬у埆", width: "", prop: "sex" },
+          { label: "骞撮緞", width: "", prop: "age" },
+          { label: "涓讳换鍖诲笀", width: "", prop: "drname" },
+          { label: "灏辫瘖绉戝", width: "", prop: "deptName" },
+          { label: "鍏ラ櫌鏃ユ湡", width: "", prop: "inhosptime" },
+          { label: "鍒涘缓浜�", width: "", prop: "createBy" },
+        ];
+      } else if (this.patientqueryParams.allhosp == 2) {
+        this.tableLabelhz = [
+          { label: "搴忓彿", width: "", prop: "patid" },
+          { label: "鎮h�呭悕绉�", width: "", prop: "name" },
+          { label: "鎬у埆", width: "", prop: "sex" },
+          { label: "骞撮緞", width: "", prop: "age" },
+          { label: "璇婃柇", width: "", prop: "diagname" },
+          { label: "灏辫瘖绉戝", width: "", prop: "deptName" },
+          { label: "鍏ラ櫌鏃ユ湡", width: "", prop: "inhosptime" },
+          { label: "鍒涘缓浜�", width: "", prop: "createBy" },
+        ];
+      }
       if (this.allpids[0]) {
         this.patientqueryParams.pids = this.allpids;
         console.log(this.patientqueryParams.pids);
diff --git a/src/views/repositoryai/intention/index.vue b/src/views/repositoryai/intention/index.vue
index 5950bd3..8091499 100644
--- a/src/views/repositoryai/intention/index.vue
+++ b/src/views/repositoryai/intention/index.vue
@@ -806,7 +806,7 @@
     this.valuetypelb = store.getters.askvaluetype;
     this.languagelist = store.getters.languagelist;
     this.qyoptions = store.getters.askvaluetype;
-    this.usable = store.getters.usable;
+    this.usable = store.getters.usable;  
   },
   methods: {
     /** 鏌ヨ鎸囨爣鍒楄〃 */
@@ -876,6 +876,7 @@
       });
       // 鎶婃暟缁勯噸鏂拌浆鎹负瀛楃涓插苟璧嬪��
       inputValueArr = inputValueArr.join("");
+
       console.log(inputValueArr);
       if (this.currentInputId == "targetdesc") {
         this.indexform.targetdesc = inputValueArr;
diff --git a/src/views/repositoryai/verbaltrick/particulars/index.vue b/src/views/repositoryai/verbaltrick/particulars/index.vue
index 5b51012..7c2cdb0 100644
--- a/src/views/repositoryai/verbaltrick/particulars/index.vue
+++ b/src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -537,14 +537,16 @@
               <el-col :span="12">
                 <el-form-item label="娴嬭瘯杈撳叆" prop="targetvalue">
                   <el-input
-                    v-model="testvalue"
+                    v-model="indexform.content"
                     placeholder="璇疯緭鍏ユ祴璇曞唴瀹�"
                     maxlength="40"
                   />
                 </el-form-item>
               </el-col>
               <el-col :span="4">
-                <el-button type="success">寮�濮嬫祴璇�</el-button>
+                <el-button type="success" @click="testtagerlist"
+                  >寮�濮嬫祴璇�</el-button
+                >
               </el-col>
             </el-row>
             <div style="margin-bottom: 20px">
@@ -750,7 +752,6 @@
     getverbaltrick() {
       let id = this.$route.query.id;
       if (id) {
-        
         getverbaltrick({ id: id }).then((res) => {
           this.indexform = res.data;
 
@@ -820,33 +821,21 @@
       }
     },
 
-    // targetchange(res) {
-    //   console.log(res);
-    //   gettargetInfo({ id: res }).then((res) => {
-    //     console.log(res.rows[0]);
-    //     this.$modal
-    //       .confirm('鏄惁娣诲姞"' + res.rows[0].targetname + '"鎸囨爣鐨勯�夐」锛�')
-    //       .then(() => {
-    //         this.indexform.valueType = res.rows[0].valueType;
-    //         this.indexform.scriptType = res.rows[0].scriptType;
-    //         this.indexform.scriptTopic = res.rows[0].targetname;
-    //         this.indexform.targetname = res.rows[0].targetname;
-    //         this.indexform.targetid = res.rows[0].id;
-    //         this.indexform.targetdesc = res.rows[0].targetdesc;
-    //         this.indexform.isAvailable = "0";
-    //         this.indexform.language = "鏅�氳瘽";
-    //         this.indexform.isenable = res.rows[0].isenable;
-    //         this.$forceUpdate();
-    //         res.rows[0].targetoptionList.forEach((item) => {
-    //           item.isoperation = 1;
-    //           this.indexform.ivrLibaScriptTargetoptionList.push(item);
-    //         });
-    //       })
-    //       .catch(() => {
-    //         this.$modal.msgSuccess("宸插彇娑�");
-    //       });
-    //   });
-    // },
+    testtagerlist() {
+      if (this.indexform.content) {
+        let data = this.indexform;
+        data.targetoptionList =
+          this.indexform.ivrLibaScriptTargetoptionList.concat(this.dellist);
+        testtagerlist(data).then((res) => {
+          this.$modal.msgSuccess("娴嬭瘯鎴愬姛");
+          this.testgovalue = res.msg;
+          this.getList();
+        });
+      } else {
+        this.$modal.msgError("璇峰~鍐欐祴璇曞唴瀹�");
+        return;
+      }
+    },
     // 閫夋嫨鎸囨爣
     selectlabel(row) {
       this.$modal

--
Gitblit v1.9.3