🔥 移除合规对账功能
This commit is contained in:
@@ -102,17 +102,10 @@
|
||||
<el-link v-if="canHcsRepush(row)" type="warning" @click="handleHcsRepush(row)">
|
||||
{{ hcsRepushingId === row.id ? '推送中…' : '推送合规' }}
|
||||
</el-link>
|
||||
<el-link v-if="canHcsRecon(row)" type="info" @click="openHcsRecon(row)">合规对账</el-link>
|
||||
<el-link v-if="canDelete(row)" type="danger" @click="removeRow(row)">删除</el-link>
|
||||
</template>
|
||||
</avue-crud>
|
||||
|
||||
<hcs-recon-dialog
|
||||
v-model="hcsReconVisible"
|
||||
title="合同合规对账"
|
||||
:loader="hcsReconLoader"
|
||||
/>
|
||||
|
||||
<empty-pagination
|
||||
:page="page"
|
||||
@size-change="sizeChange"
|
||||
@@ -1043,7 +1036,7 @@ import NProgress from 'nprogress';
|
||||
import 'nprogress/nprogress.css';
|
||||
import { exportBlob } from '@/api/common';
|
||||
import * as api from '@/api/business/contract-manage';
|
||||
import { repush as hcsRepush, reconContract, getRisk } from '@/api/business/hcs';
|
||||
import { repush as hcsRepush, getRisk } from '@/api/business/hcs';
|
||||
import { getMkPublicDetail } from '@/api/mk-process';
|
||||
import { getList as getProjectList } from '@/api/business/project-apply';
|
||||
import { getList as getCustomerArchiveList } from '@/api/vehicle/customer-archive';
|
||||
@@ -1061,7 +1054,6 @@ import ContractAttachmentSection, {
|
||||
attachmentUrl as sharedAttachmentUrl,
|
||||
normalizeContractFileRows,
|
||||
} from './components/contract-attachment-section.vue';
|
||||
import HcsReconDialog from './components/hcs-recon-dialog.vue';
|
||||
import HcsContractPanel from './components/hcs-contract-panel.vue';
|
||||
import PdfPreview from '@/components/pdf-preview/main.vue';
|
||||
import { ElImageViewer, ElCascader } from 'element-plus';
|
||||
@@ -1219,7 +1211,6 @@ export default {
|
||||
ContractAttachmentSection,
|
||||
BillingPlanEditor,
|
||||
ChangeRecordDetailDialog,
|
||||
HcsReconDialog,
|
||||
HcsContractPanel,
|
||||
ElImageViewer,
|
||||
OpenFileViewer,
|
||||
@@ -1327,8 +1318,6 @@ export default {
|
||||
detailRow: {},
|
||||
// 合规(HCS)推送/对账状态
|
||||
hcsRepushingId: null,
|
||||
hcsReconVisible: false,
|
||||
hcsReconLoader: null,
|
||||
detailContractFileRows: [],
|
||||
detailAttachmentRows: [],
|
||||
detailBillingPlanRows: [],
|
||||
@@ -1646,9 +1635,6 @@ export default {
|
||||
row.hcsSyncStatus !== 'synced'
|
||||
);
|
||||
},
|
||||
canHcsRecon(row) {
|
||||
return ['approved', 'change_approved'].includes(row.approvalStatus);
|
||||
},
|
||||
handleHcsRepush(row) {
|
||||
if (this.hcsRepushingId) return;
|
||||
this.$confirm('确定推送该数据到合同合规系统?', '提示', {
|
||||
@@ -1674,14 +1660,6 @@ export default {
|
||||
});
|
||||
});
|
||||
},
|
||||
openHcsRecon(row) {
|
||||
if (!row.contractNo) {
|
||||
this.$message.warning('该合同无合同编号,无法对账');
|
||||
return;
|
||||
}
|
||||
this.hcsReconLoader = () => reconContract(row.contractNo);
|
||||
this.hcsReconVisible = true;
|
||||
},
|
||||
canEdit(row) {
|
||||
return (
|
||||
this.hasPermission(`${this.config.permission}_edit`) &&
|
||||
|
||||
Reference in New Issue
Block a user