From e8c62bd430b9697d3f954125b7ec9f61f18347a2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 11:19:34 +0800
Subject: [PATCH] 测试完成
---
src/components/Regular/index.vue | 41 +++++++++++++++++++++++++++--------------
1 files changed, 27 insertions(+), 14 deletions(-)
diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index c04cb3a..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="澶勭悊">
@@ -71,17 +82,17 @@
></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-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">
<div class="xinz-inf">
@@ -186,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>
@@ -281,7 +294,7 @@
},
scriptType: {
type: String,
- default: '1',
+ default: "1",
},
addoption: {
type: Boolean,
--
Gitblit v1.9.3