| src/views/system/evaluationTag/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/userContent/contentCenter/agreementVersion.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/userContent/contentCenter/api.txt | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/userContent/contentCenter/components/AgreementListForm.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/system/evaluationTag/index.vue
@@ -12,6 +12,7 @@ import { fetchSystemSetting, updateEvaluatePopupStatus } from '@/service/api/system' import Pagination from '@/components/common/Pagination.vue' import SearchPanel from '@/components/custom/SearchPanel.vue' import OperationLogModal from '@/components/custom/OperationLogModal.vue' interface FilterState { labelContent: string @@ -44,6 +45,7 @@ const originalConfigData = ref<EvaluationTagConfig | null>(null) const isStatusSelectOpen = ref(false) const showTagModal = ref(false) const showOperationLogModal = ref(false) const editingTagId = ref<string | null>(null) const modalTitle = ref('新增评价标签') const draggingTagId = ref<string | null>(null) @@ -356,6 +358,10 @@ } modalTitle.value = '新增标签' showTagModal.value = true } function handleOpenOperationLog() { showOperationLogModal.value = true } function handleEditTag(row: EvaluationTagItem) { @@ -780,11 +786,16 @@ <n-card class="robotaxi-table-card" :bordered="false"> <template #header> <div class="flex items-center justify-end"> <NButton type="primary" v-permission="2026061532" secondary @click="handleAddTag"> 新增 <n-flex justify="space-between"> <NButton @click="handleOpenOperationLog"> 操作日志 </NButton> </div> <div class="flex items-center justify-end"> <NButton type="primary" secondary @click="handleAddTag"> 新增 </NButton> </div> </n-flex> </template> <div class="table-area"> @@ -839,6 +850,7 @@ :saving="tagModalSaving" @save="handleSaveTagForm" /> <OperationLogModal v-model:show="showOperationLogModal" :business-type="59" /> </div> </template> src/views/userContent/contentCenter/agreementVersion.vue
@@ -316,6 +316,17 @@ return '' } async function loadAgreementName(nameId: string) { if (!nameId) return const res = await getLoginAgreementDetail(nameId) if (res?.code === 200 && res.data) { agreementName.value = res.data.name || String(route.query.title || agreementName.value || '') return } agreementName.value = String(route.query.title || agreementName.value || '') } async function loadVersionList() { const nameId = getAgreementNameId() if (pageMode.value !== 'edit' || !nameId) { @@ -339,7 +350,12 @@ return } const records = res.data.records || [] agreementName.value = records[0]?.name || String(route.query.title || agreementName.value || '') if (records.length > 0) { agreementName.value = records[0]?.name || String(route.query.title || agreementName.value || '') } else { await loadAgreementName(nameId) } versionList.value = normalizeRemoteList(records) total.value = Number(res.data.total || 0) deletedIds.value = [] @@ -559,15 +575,10 @@ } const nameId = getAgreementNameId() if (!nameId) { message.warning('当前协议缺少nameId,无法保存') return } saving.value = true try { const saveRes = await saveLoginAgreement({ id: nameId, id: nameId || undefined, name: agreementName.value.trim(), type: agreementType.value, }) src/views/userContent/contentCenter/api.txt
File was deleted src/views/userContent/contentCenter/components/AgreementListForm.vue
@@ -180,6 +180,7 @@ query: { mode: 'edit', nameId: String(row.nameId), title: row.title || res.data.name || '', }, }) }