Browse Source

助手回到过去,取消自动审批

master
xueyinfei 1 month ago
parent
commit
62a21c526f
  1. 8
      vue-fastapi-frontend/src/views/aichat/aichat.vue

8
vue-fastapi-frontend/src/views/aichat/aichat.vue

@ -212,7 +212,7 @@
style="display: flex; flex-direction: column"
>
<div v-for="robot in autoProcess.robots" @click.prevent="toggleRobot(robot)" class="autoProcessClass" style="cursor: pointer">
<el-checkbox :key="robot" :label="robot" :value="robot"></el-checkbox>
<el-checkbox :key="robot" :label="robot + '自动批准'" :value="robot"></el-checkbox>
</div>
</el-checkbox-group>
</template>
@ -308,7 +308,7 @@ const autoProcess = ref({
checkAll: false,
isIndeterminate: false,
autoArray:[],
robots:['数据治理管理专家自动批准','元数据专家自动批准','数据标准专家自动批准','数据安全专家自动批准','数据分析专家自动批准','数据模型专家自动批准','数据质量专家自动批准','智能导航专家自动审批'],
robots:['数据治理管理专家','元数据专家','数据标准专家','数据安全专家','数据分析专家','数据模型专家','数据质量专家','智能导航专家'],
})
const popoverVisible = ref(false)
const currentMachine = ref([])
@ -342,6 +342,10 @@ function setScrollBottom() {
function confirmReturn(item,index){
DeleteChatList(item.chatId).then(res=>{
const index = autoProcess.value.autoArray.indexOf("item.interrupt.robot");
if (index !== -1) {
autoProcess.value.autoArray.splice(index, 1);
}
chatList.value.splice(index, chatList.value.length - index);
let reqData = {
"user_id": cache.local.get("username"),

Loading…
Cancel
Save