From 8742aa1ca9a96e75c18d4f9e3c52bddd8e190898 Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期一, 05 八月 2024 11:38:14 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/flow_web --- src/views/dmx/IntelligentAgent/components/editAgent.vue | 74 ++++++++++++------------------------- 1 files changed, 24 insertions(+), 50 deletions(-) diff --git a/src/views/dmx/IntelligentAgent/components/editAgent.vue b/src/views/dmx/IntelligentAgent/components/editAgent.vue index 6e140ad..8cd8458 100644 --- a/src/views/dmx/IntelligentAgent/components/editAgent.vue +++ b/src/views/dmx/IntelligentAgent/components/editAgent.vue @@ -19,57 +19,31 @@ title-align="start" fullscreen > - <div class="main-container"> - <div class="main-container-lf"> - <div style="padding: 10px; font-size: 16px; background: #eeeeee" - >鏅鸿兘浣撻厤缃�</div - > - <div style="display: flex; width: 100%" :style="{ height: height }"> - <div style="width: 50%; height: 100%"> - <div style="padding: 10px; font-size: 12px; color: #2a2a2b" - >鏅鸿兘浣撶敾鍍�</div - > - <div> - <a-textarea - v-model="system" - placeholder="" - disabled - style="height: 400px; background: #ffffff; color: #666666" - /> - </div> + <div class="main-container"> + <div class="main-container-lf"> + <div style="padding: 10px;font-size: 16px;">鏅鸿兘浣撻厤缃�</div> + <div style="display: flex;width: 100%;" :style="{height:height}"> + <div style="width: 50%;height: 100%"> + <div style="padding: 10px;font-size: 12px;color: #2a2a2b;">鏅鸿兘浣撶敾鍍�</div> + <div> + <a-textarea v-model="system" placeholder="" disabled style="height: 400px;color: #666666" /> </div> - <div style="background: #eeeeee; width: 50%"> - <a-form - ref="formRef" - :rules="rules" - :model="form" - @submit="handleSubmit" - layout="vertical" - > - <a-collapse :default-active-key="['1']"> - <a-collapse-item - header="鍩虹淇℃伅" - key="0" - v-if="typeAngint == 'edit'" - > - <a-input - v-model="form.name" - placeholder="璇疯緭鍏ユ櫤鑳戒綋鍚嶇О" - style="width: 200px; margin-top: 10px" - /> - </a-collapse-item> - <a-collapse-item header="AI妯″瀷閰嶇疆" key="1"> - <a-space direction="vertical" size="large"> - <a-select - :size="'large'" - v-model="form.llm_id" - :style="{ width: '25rem' }" - placeholder="璇烽�夋嫨 ..." - > - <a-optgroup - :label="index" - v-for="(item, index) in modelList" - :key="index" + + </div> + <div style="width: 50%;border: 1px solid var(--color-neutral-3);"> + <a-form ref="formRef" :rules="rules" :model="form" @submit="handleSubmit" layout="vertical" > + <a-collapse :default-active-key="['1']"> + <a-collapse-item header="鍩虹淇℃伅" key="0" v-if="typeAngint == 'edit'"> + <a-input v-model="form.name" placeholder="璇疯緭鍏ユ櫤鑳戒綋鍚嶇О" style="width:200px;margin-top: 10px" /> + </a-collapse-item> + <a-collapse-item header="AI妯″瀷閰嶇疆" key="1"> + <a-space direction="vertical" size="large"> + <a-select :size="'large'" v-model="form.llm_id" :style="{width:'25rem'}" placeholder="璇烽�夋嫨 ..."> + <a-optgroup :label="index" v-for="(item,index) in modelList" :key=index> + <a-option + v-for="(obj) in item" + :key='obj.fid' + :value="obj.llm_id" > <a-option v-for="obj in item" -- Gitblit v1.8.0