1、调整取证单审计人员数据来源
2、调整工作底稿索引格式
This commit is contained in:
@@ -251,6 +251,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { PropType, reactive, ref, watch } from 'vue';
|
||||
import { message } from 'ant-design-vue';
|
||||
import { PwlProject } from '@/api/pwl/pwlProject/model';
|
||||
|
||||
type BaseInfo = {
|
||||
caseIndex?: string;
|
||||
@@ -268,6 +269,10 @@
|
||||
type: Object as PropType<BaseInfo>,
|
||||
default: () => ({})
|
||||
},
|
||||
project: {
|
||||
type: Object as PropType<PwlProject>,
|
||||
default: () => ({})
|
||||
},
|
||||
selectedRows: {
|
||||
type: Array as PropType<any[]>,
|
||||
default: () => []
|
||||
@@ -329,7 +334,12 @@
|
||||
evidenceData.evidenceBasis || form.evidenceBasis || '';
|
||||
form.handling = evidenceData.handling || form.handling || '';
|
||||
form.suggestion = evidenceData.suggestion || form.suggestion || '';
|
||||
form.auditors = evidenceData.auditors || form.auditors || '';
|
||||
// form.auditors = evidenceData.auditors || form.auditors || '';
|
||||
form.auditors = '';
|
||||
if (props.project && props.project.saleUser) {
|
||||
const saleUser = JSON.parse(props.project.saleUser);
|
||||
form.auditors = saleUser.join();
|
||||
}
|
||||
form.compileDate = evidenceData.compileDate || form.compileDate || '';
|
||||
// form.providerOpinion =
|
||||
// evidenceData.providerOpinion || form.providerOpinion || '';
|
||||
@@ -391,6 +401,16 @@
|
||||
{ deep: true }
|
||||
);
|
||||
|
||||
watch(
|
||||
() => props.project,
|
||||
() => {
|
||||
if (props.visible) {
|
||||
applyBaseInfo();
|
||||
}
|
||||
},
|
||||
{ deep: true }
|
||||
);
|
||||
|
||||
watch(
|
||||
() => props.selectedRows,
|
||||
() => {
|
||||
|
||||
@@ -340,12 +340,24 @@
|
||||
class="file-link cursor-pointer text-wrap"
|
||||
style="color: #1890ff; text-decoration: none"
|
||||
>
|
||||
{{ fileItem.fileName || '未命名文件' }}
|
||||
{{
|
||||
(record.cateIndex || '审计-[2026]-xxx') +
|
||||
'-' +
|
||||
String(fileIndex + 1).padStart(3, '0') +
|
||||
'-' +
|
||||
(fileItem.fileName || '未命名文件')
|
||||
}}
|
||||
</a>
|
||||
|
||||
<!-- 旧格式兼容 -->
|
||||
<span v-else class="cursor-pointer text-wrap">
|
||||
{{ fileItem.fileName || fileItem || '未命名文件' }}
|
||||
{{
|
||||
(record.cateIndex || '审计-[2026]-xxx') +
|
||||
'-' +
|
||||
String(fileIndex + 1).padStart(3, '0') +
|
||||
'-' +
|
||||
(fileItem.fileName || fileItem || '未命名文件')
|
||||
}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -505,6 +517,7 @@
|
||||
<EvidenceModal
|
||||
v-model:visible="evidenceModalVisible"
|
||||
:base-info="evidenceBaseInfo"
|
||||
:project="data"
|
||||
:selected-rows="evidenceSelectedRows"
|
||||
/>
|
||||
</a-drawer>
|
||||
|
||||
Reference in New Issue
Block a user