变更详情页面完成
This commit is contained in:
@@ -711,8 +711,8 @@ defineExpose({form, questions, applyAiResult, generateLevel: useAiLevel})
|
||||
<span class="inline-flex items-center gap-1 rounded-full border border-violet-200 bg-violet-100 px-2 py-0.5 text-xs font-medium text-violet-700">
|
||||
✨ AI 生成 · 需人工确认
|
||||
</span>
|
||||
<NTag type="info" size="small">判定:{{ typeAi?.type || '工艺' }}</NTag>
|
||||
<NTag size="small">置信度:{{ typeAi ? `${Math.round(typeAi.confidence * 100)}%` : '高' }}</NTag>
|
||||
<NTag v-if="typeAi?.type" type="info" size="small">判定:{{ typeAi?.type }}</NTag>
|
||||
<NTag v-if="typeAi" size="small">置信度:{{ `${Math.round(typeAi.confidence * 100)}%` }}</NTag>
|
||||
</div>
|
||||
<div v-if="typeAi" class="space-y-3 text-sm leading-relaxed text-slate-700">
|
||||
<p><b>判定结论:</b>{{ typeAi.conclusion }}</p>
|
||||
|
||||
@@ -90,8 +90,9 @@ const opts = computed<Opt[]>(() => {
|
||||
|
||||
// 打开详情、修改重报
|
||||
const openDetail = (c: any,type:string = '') => {
|
||||
console.log(c)
|
||||
if(type==='detail'){
|
||||
routerPushByKey("details_index",{ query: { id: c.change_id.toString() } });
|
||||
routerPushByKey("details_index",{ query: { id: c.change_id.toString(),status:c.status.toString() || '' } });
|
||||
}
|
||||
if(type==='edit'){
|
||||
routerPushByKey("my_initiatechange",{ query: { id: c.change_id.toString() } });
|
||||
|
||||
Reference in New Issue
Block a user