变更详情页面完成
This commit is contained in:
@@ -225,7 +225,7 @@ const local: App.I18n.Schema = {
|
||||
404: '页面不存在',
|
||||
500: '服务器错误',
|
||||
details: '详情',
|
||||
details_closedoc: '资料关闭详情',
|
||||
details_closedoc: '资料关闭',
|
||||
details_index: '变更详情',
|
||||
changepassword: '修改密码',
|
||||
home: '首页',
|
||||
|
||||
@@ -108,7 +108,8 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
path: '/details/closedoc',
|
||||
component: 'view.details_closedoc',
|
||||
meta: {
|
||||
title: '资料关闭详情',
|
||||
// activeMenu: 'my_mytask',
|
||||
title: '资料关闭',
|
||||
i18nKey: 'route.details_closedoc',
|
||||
constant: true,
|
||||
hideInMenu: true
|
||||
|
||||
+443
-804
File diff suppressed because it is too large
Load Diff
@@ -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