rebuild all
This commit is contained in:
@@ -360,6 +360,21 @@
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
<div v-if="isViewMode && dataForm.representorName" class="implement-info-block mb20">
|
||||
<el-divider content-position="left">采购代表/评委</el-divider>
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="8" class="mb12">
|
||||
<div class="view-label">参与人员</div>
|
||||
<div class="view-value">
|
||||
{{ dataForm.representorName }}
|
||||
<el-tag v-if="dataForm.representorType" type="info" size="small" style="margin-left: 8px;">
|
||||
{{ dataForm.representorType }}
|
||||
</el-tag>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
<!-- 帮助弹窗:展示金额与规则说明 -->
|
||||
<el-dialog
|
||||
v-model="helpDialogVisible"
|
||||
@@ -631,6 +646,8 @@ const dataForm = reactive({
|
||||
fileFlowStatus: '',
|
||||
agentId: '',
|
||||
agentName: '',
|
||||
representorName:'',
|
||||
representorType: ''
|
||||
});
|
||||
/** 查看时展示的招标文件列表(实施采购上传的 type=130) */
|
||||
const viewImplementPurchaseFiles = ref<{ id: string; fileTitle?: string; createTime?: string; remark?: string }[]>([]);
|
||||
@@ -648,6 +665,8 @@ const businessDeptList = ref<any[]>([]);
|
||||
const schoolLeaderList = ref<any[]>([]);
|
||||
const purchasingManagerList = ref<any[]>([]);
|
||||
const businessLeaderList = ref<any[]>([]);
|
||||
/** 人员类型字典(采购代表/评委) */
|
||||
const representorTypeList = ref<any[]>([]);
|
||||
const loading = ref(false);
|
||||
const helpDialogVisible = ref(false);
|
||||
|
||||
@@ -724,6 +743,12 @@ const isSpecialType = (dictValue: string) => {
|
||||
return item ? dataForm.isSpecial === item.value : dataForm.isSpecial === dictValue;
|
||||
};
|
||||
|
||||
// 辅助函数:根据人员类型值获取标签(采购代表/评委类型)
|
||||
const getRepresentorTypeLabel = (value: string): string => {
|
||||
const item = representorTypeList.value.find(item => item.value === value);
|
||||
return item ? item.label : value;
|
||||
};
|
||||
|
||||
// 采购途径(与后端 purchasing_apply.purchase_channel 一致:1 自行采购 2 委托采购中心采购)
|
||||
const PURCHASE_CHANNEL = {
|
||||
SELF: '1',
|
||||
@@ -1262,6 +1287,8 @@ async function loadDetail(applyId: string | number) {
|
||||
fileFlowStatus: detail.fileFlowStatus ?? '',
|
||||
agentId: detail.agentId ?? '',
|
||||
agentName: detail.agentName ?? '',
|
||||
representorName: detail.representorName ?? '',
|
||||
representorType: detail.representorType ?? '',
|
||||
});
|
||||
setCategoryCodePath();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user