From 880e036a0d85cd542034794c1dac2a4e433c5553 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 03 七月 2025 10:51:04 +0800
Subject: [PATCH] 测试完成

---
 src/components/Regular/index.vue |   33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index 9e174c7..30d359f 100644
--- a/src/components/Regular/index.vue
+++ b/src/components/Regular/index.vue
@@ -1,6 +1,10 @@
 <template>
   <div>
-    <div class="topicxq" v-for="item in TargetoptionList">
+    <div
+      class="topicxq"
+      v-for="item in TargetoptionList"
+      v-if="item.isoperation != 3"
+    >
       <el-form :inline="true" :rules="rules" :model="item" label-width="80px">
         <el-row :gutter="10">
           <el-col :span="12"
@@ -46,6 +50,13 @@
               </el-input> </el-form-item
           ></el-col>
         </el-row>
+        <el-form-item label="缁撴潫瀵硅瘽">
+          <el-radio-group v-model="item.isEnd">
+            <el-radio :label="1">鏄�</el-radio>
+            <el-radio :label="0">鍚�</el-radio>
+          </el-radio-group>
+        </el-form-item>
+
         <el-row :gutter="10" v-if="intent">
           <el-col :span="12"
             ><el-form-item label="澶勭悊">
@@ -69,6 +80,18 @@
               >
               </el-input> </el-form-item
           ></el-col>
+        </el-row>
+        <el-row :gutter="10" v-if="scriptType == 1">
+          <el-form-item label="閫変腑鎻愮ず">
+            <el-input
+              style="width: 24vw"
+              type="textarea"
+              autosize
+              placeholder="璇疯緭鍏ュ唴瀹�"
+              v-model="item.prompt"
+            >
+            </el-input
+          ></el-form-item>
         </el-row>
         <el-row>
           <el-form-item label="鍏抽敭瀛�(鍚�)" prop="desc" v-if="hasValue">
@@ -174,7 +197,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>
@@ -267,6 +292,10 @@
       type: Boolean,
       default: true,
     },
+    scriptType: {
+      type: String,
+      default: "1",
+    },
     addoption: {
       type: Boolean,
       default: false,

--
Gitblit v1.9.3