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