52c346a5 by lihua

修改数据使用和数据交付接口联调

1 parent c821a49d
...@@ -359,8 +359,9 @@ onMounted(() => { ...@@ -359,8 +359,9 @@ onMounted(() => {
359 (item.getName?.(scope) === '--' || item.getName?.(scope) === null) ? '' : 'text_btn', 359 (item.getName?.(scope) === '--' || item.getName?.(scope) === null) ? '' : 'text_btn',
360 item.class, 360 item.class,
361 scope.row.cellClass, 361 scope.row.cellClass,
362 item?.disabled?.(scope) == true ? 'is-regular' : ''
362 ]" 363 ]"
363 @click="(item.click && !item.disabled && !scope.row.disabled) ? item.click(scope, { label: item.label, value: item.value }) : handleClick(scope, { label: item.label, value: item.value })" 364 @click="(item.click && item.disabled != 'Y' && scope.row.disabled != 'Y') ? item.click(scope, { label: item.label, value: item.value }) : handleClick(scope, { label: item.label, value: item.value })"
364 v-preReClick>{{ item.getName ? item.getName(scope) : scope.row[item.field] 365 v-preReClick>{{ item.getName ? item.getName(scope) : scope.row[item.field]
365 }}</span> 366 }}</span>
366 <span v-else>--</span> 367 <span v-else>--</span>
...@@ -635,6 +636,9 @@ onMounted(() => { ...@@ -635,6 +636,9 @@ onMounted(() => {
635 handleClick(scope, { label: '添加子菜单', value: 'menu' }) 636 handleClick(scope, { label: '添加子菜单', value: 'menu' })
636 " v-preReClick>添加子菜单</span> 637 " v-preReClick>添加子菜单</span>
637 </template> 638 </template>
639 <template v-else-if="!actionInfo.btns?.length">
640 <span>--</span>
641 </template>
638 </template> 642 </template>
639 </el-table-column> 643 </el-table-column>
640 <template #append> 644 <template #append>
......
...@@ -39,7 +39,7 @@ service.interceptors.request.use( ...@@ -39,7 +39,7 @@ service.interceptors.request.use(
39 "Content-Type": "multipart/form-data", 39 "Content-Type": "multipart/form-data",
40 }); 40 });
41 config.headers.Authorization = localStorage.getItem('token'); 41 config.headers.Authorization = localStorage.getItem('token');
42 config.headers['x-real-ip'] = localStorage.getItem('ipAddress'); 42 config.headers['real-ip'] = localStorage.getItem('ipAddress');
43 return config; 43 return config;
44 } 44 }
45 if (config.method == "postjsond") { 45 if (config.method == "postjsond") {
...@@ -49,19 +49,19 @@ service.interceptors.request.use( ...@@ -49,19 +49,19 @@ service.interceptors.request.use(
49 }); 49 });
50 config.data = JSON.stringify(config.data); 50 config.data = JSON.stringify(config.data);
51 config.headers.Authorization = localStorage.getItem('token'); 51 config.headers.Authorization = localStorage.getItem('token');
52 config.headers['x-real-ip'] = localStorage.getItem('ipAddress'); 52 config.headers['real-ip'] = localStorage.getItem('ipAddress');
53 return config; 53 return config;
54 } 54 }
55 if (config.responseType == "blob") { 55 if (config.responseType == "blob") {
56 // 文件流,文件名称相同时会判定同一个请求。 56 // 文件流,文件名称相同时会判定同一个请求。
57 const userStore = useUserStore(); 57 const userStore = useUserStore();
58 config.headers.Authorization = localStorage.getItem('token'); 58 config.headers.Authorization = localStorage.getItem('token');
59 config.headers['x-real-ip'] = localStorage.getItem('ipAddress'); 59 config.headers['real-ip'] = localStorage.getItem('ipAddress');
60 return config; 60 return config;
61 } 61 }
62 if (config.method === 'obsuploadrequest') { 62 if (config.method === 'obsuploadrequest') {
63 config.method = 'put'; 63 config.method = 'put';
64 config.headers['x-real-ip'] = localStorage.getItem('ipAddress'); 64 config.headers['real-ip'] = localStorage.getItem('ipAddress');
65 return config; 65 return config;
66 } 66 }
67 // /** 67 // /**
...@@ -81,7 +81,7 @@ service.interceptors.request.use( ...@@ -81,7 +81,7 @@ service.interceptors.request.use(
81 /** 若是门户的url,则不做重复请求处理,会出现不同标签页都需要查同一个字典参数列表的 */ 81 /** 若是门户的url,则不做重复请求处理,会出现不同标签页都需要查同一个字典参数列表的 */
82 if (config.url.indexOf('/portal/portal')) { 82 if (config.url.indexOf('/portal/portal')) {
83 config.headers.Authorization = localStorage.getItem('token'); 83 config.headers.Authorization = localStorage.getItem('token');
84 config.headers['x-real-ip'] = localStorage.getItem('ipAddress'); 84 config.headers['real-ip'] = localStorage.getItem('ipAddress');
85 return config; 85 return config;
86 } 86 }
87 /** 87 /**
...@@ -118,7 +118,7 @@ service.interceptors.request.use( ...@@ -118,7 +118,7 @@ service.interceptors.request.use(
118 }); 118 });
119 119
120 config.headers.Authorization = localStorage.getItem('token'); 120 config.headers.Authorization = localStorage.getItem('token');
121 config.headers['x-real-ip'] = localStorage.getItem('ipAddress'); 121 config.headers['real-ip'] = localStorage.getItem('ipAddress');
122 return config; 122 return config;
123 }; 123 };
124 /** 若是刷新token的请求,则不需要等refreshToken完成。 */ 124 /** 若是刷新token的请求,则不需要等refreshToken完成。 */
......
...@@ -24,29 +24,37 @@ const tableDataLoading = ref(false); ...@@ -24,29 +24,37 @@ const tableDataLoading = ref(false);
24 24
25 const tableFields: any = ref([]); 25 const tableFields: any = ref([]);
26 26
27 const isError = ref(false);
28
27 const getData = () => { 29 const getData = () => {
28 tableData.value = []; 30 tableData.value = [];
29 tableDataLoading.value = true; 31 tableDataLoading.value = true;
30 if (route.query.useGuid) { 32 if (route.query.useGuid) {
33 isError.value = false;
31 queryUseData({ 34 queryUseData({
32 userGuid: route.query.useGuid, 35 userGuid: route.query.useGuid,
33 subjectGuid: route.query.guid 36 subjectGuid: route.query.guid
34 }).then((res: any) => { 37 }).then((res: any) => {
38 isError.value = false;
35 tableDataLoading.value = false; 39 tableDataLoading.value = false;
36 if (res.code == proxy.$passCode) { 40 if (res.code == proxy.$passCode) {
37 tableData.value = res.data.datas || []; 41 tableData.value = res.data.datas || [];
38 tableFields.value = res.data.fields || []; 42 tableFields.value = res.data.fields || [];
39 } else { 43 } else {
44 isError.value = true
40 ElMessage.error(res.msg); 45 ElMessage.error(res.msg);
41 } 46 }
42 }); 47 });
43 } else { 48 } else {
49 isError.value = false;
44 queryData(route.query.guid).then((res: any) => { 50 queryData(route.query.guid).then((res: any) => {
45 tableDataLoading.value = false; 51 tableDataLoading.value = false;
46 if (res.code == proxy.$passCode) { 52 if (res.code == proxy.$passCode) {
53 isError.value = false;
47 tableData.value = res.data.datas || []; 54 tableData.value = res.data.datas || [];
48 tableFields.value = res.data.fields || []; 55 tableFields.value = res.data.fields || [];
49 } else { 56 } else {
57 isError.value = true;
50 ElMessage.error(res.msg); 58 ElMessage.error(res.msg);
51 } 59 }
52 }); 60 });
...@@ -134,7 +142,7 @@ const formatterPreviewDate = (row, info) => { ...@@ -134,7 +142,7 @@ const formatterPreviewDate = (row, info) => {
134 142
135 <template> 143 <template>
136 <div class="table_tool_wrap" v-loading="tableDataLoading"> 144 <div class="table_tool_wrap" v-loading="tableDataLoading">
137 <span v-if="!tableFields.length || !tableData.length" class="tips_text">未导入数据时,该表数据为空。</span> 145 <span v-if="!isError && (!tableFields.length || !tableData.length)" class="tips_text">未导入数据时,该表数据为空。</span>
138 <el-table ref="tableRef" v-show="tableFields.length" :data="tableData" :highlight-current-row="true" stripe border 146 <el-table ref="tableRef" v-show="tableFields.length" :data="tableData" :highlight-current-row="true" stripe border
139 tooltip-effect="light" height="100%" row-key="guid" :style="{ width: '100%', height: 'calc(100% - 36px)' }"> 147 tooltip-effect="light" height="100%" row-key="guid" :style="{ width: '100%', height: 'calc(100% - 36px)' }">
140 <template v-for="(item, index) in (tableFields || [])"> 148 <template v-for="(item, index) in (tableFields || [])">
......
...@@ -179,6 +179,7 @@ const tableFields = ref([ ...@@ -179,6 +179,7 @@ const tableFields = ref([
179 }, 179 },
180 { label: "核验时间", field: "verifyTime", width: 170 }, 180 { label: "核验时间", field: "verifyTime", width: 170 },
181 { label: "交付时间", field: "deliveryTime", width: 170 }, 181 { label: "交付时间", field: "deliveryTime", width: 170 },
182 { label: "合约状态", field: "contractStatus", type: "tag", width: 96, align: 'center' },
182 ]); 183 ]);
183 184
184 const page = ref({ 185 const page = ref({
...@@ -207,6 +208,10 @@ const tableInfo = ref({ ...@@ -207,6 +208,10 @@ const tableInfo = ref({
207 btns: (scope) => { 208 btns: (scope) => {
208 let btns: any = []; 209 let btns: any = [];
209 let row = scope.row; 210 let row = scope.row;
211 let contractStatus = row.contractStatus;
212 if (contractStatus == '06') {
213 return btns;
214 }
210 let deliveryStatus = row.deliveryStatus; 215 let deliveryStatus = row.deliveryStatus;
211 if (deliveryStatus == 2) {//已交付有删除按钮 216 if (deliveryStatus == 2) {//已交付有删除按钮
212 btns.push({ 217 btns.push({
......
...@@ -43,7 +43,12 @@ const page = ref({ ...@@ -43,7 +43,12 @@ const page = ref({
43 const tableFields = ref([ 43 const tableFields = ref([
44 { label: "序号", type: "index", width: 56, align: "center" }, 44 { label: "序号", type: "index", width: 56, align: "center" },
45 { 45 {
46 label: "数据产品名称", field: "dataProductName", width: 160, type: "text_btn", columClass: 'text_btn', value: "detail", click: (scope) => { 46 label: "数据产品名称", field: "dataProductName", width: 160, type: "text_btn", columClass: 'text_btn', value: "detail", disabled: (scope) => {
47 return scope.row.contractStatus == '06';
48 }, click: (scope) => {
49 if (scope.row.contractStatus == '06') {
50 return;
51 }
47 router.push({ 52 router.push({
48 name: 'usageCatalogDetail', 53 name: 'usageCatalogDetail',
49 query: { 54 query: {
...@@ -57,10 +62,10 @@ const tableFields = ref([ ...@@ -57,10 +62,10 @@ const tableFields = ref([
57 }, 62 },
58 { 63 {
59 label: "合约名称", field: "contractName", width: 170, type: "text_btn", columClass: 'text_btn', value: "detail1", disabled: (scope) => { 64 label: "合约名称", field: "contractName", width: 170, type: "text_btn", columClass: 'text_btn', value: "detail1", disabled: (scope) => {
60 return scope.row.isDistribute == 'N'; 65 return scope.row.isDistribute == 'Y';
61 }, click: (scope) => { 66 }, click: (scope) => {
62 let isDistribute = scope.row.isDistribute; 67 let isDistribute = scope.row.isDistribute;
63 if (isDistribute == 'N') { 68 if (isDistribute == 'Y') {
64 return; 69 return;
65 } 70 }
66 //履约中的合约状态 71 //履约中的合约状态
...@@ -82,6 +87,7 @@ const tableFields = ref([ ...@@ -82,6 +87,7 @@ const tableFields = ref([
82 }, 87 },
83 { label: "交付方", field: "deliveryPartyName", width: 220 }, 88 { label: "交付方", field: "deliveryPartyName", width: 220 },
84 { label: "交付时间", field: "deliveryTime", width: 170 }, 89 { label: "交付时间", field: "deliveryTime", width: 170 },
90 { label: "合约状态", field: "contractStatus", type: "tag", width: 96, align: 'center' },
85 ]); 91 ]);
86 92
87 const currTableData: any = ref({}); 93 const currTableData: any = ref({});
...@@ -103,9 +109,11 @@ const tableInfo = ref({ ...@@ -103,9 +109,11 @@ const tableInfo = ref({
103 btns: (scope) => { 109 btns: (scope) => {
104 let actions = scope.row.actions || {}; 110 let actions = scope.row.actions || {};
105 let arrBtns: any = []; 111 let arrBtns: any = [];
112 if (scope.row.contractStatus != '06') {
106 for (let action in actions) { 113 for (let action in actions) {
107 arrBtns.push({ label: actions[action], value: action, click: btnHanldesMap[action] }); 114 arrBtns.push({ label: actions[action], value: action, click: btnHanldesMap[action] });
108 } 115 }
116 }
109 arrBtns.push({ label: '日志', value: 'log', click: btnHanldesMap['log'] }); 117 arrBtns.push({ label: '日志', value: 'log', click: btnHanldesMap['log'] });
110 return arrBtns; 118 return arrBtns;
111 } 119 }
......
...@@ -212,11 +212,11 @@ const getDetailInfo = () => { ...@@ -212,11 +212,11 @@ const getDetailInfo = () => {
212 inputParamsTableInfo.value.data = publicDataProductsMainRSVO.value?.reqParamListRSVOS || []; 212 inputParamsTableInfo.value.data = publicDataProductsMainRSVO.value?.reqParamListRSVOS || [];
213 respParamsTableInfo.value.data = publicDataProductsMainRSVO.value?.respParamListRSVOS || []; 213 respParamsTableInfo.value.data = publicDataProductsMainRSVO.value?.respParamListRSVOS || [];
214 if (fullPath === route.fullPath) { 214 if (fullPath === route.fullPath) {
215 document.title = `详情-${data.damName}`; 215 document.title = foundMode.value == 'download' ? `下载详情-${data.damName}` : (foundMode.value == 'read' ? `查看详情-${data.damName}` : `详情-${data.damName}`);
216 } 216 }
217 let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath); 217 let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath);
218 if (tab) { 218 if (tab) {
219 tab.meta.title = `详情-${data.damName}`; 219 tab.meta.title = foundMode.value == 'download' ? `下载详情-${data.damName}` : (foundMode.value == 'read' ? `查看详情-${data.damName}` : `详情-${data.damName}`);;
220 } 220 }
221 isTextTruncated(); 221 isTextTruncated();
222 if (detailInfo.value.isRegister == 'Y') { 222 if (detailInfo.value.isRegister == 'Y') {
...@@ -348,11 +348,12 @@ const productTableInfo = ref({ ...@@ -348,11 +348,12 @@ const productTableInfo = ref({
348 actionInfo: { 348 actionInfo: {
349 label: "操作", 349 label: "操作",
350 type: "btn", 350 type: "btn",
351 show: !detailInfo.value.nodeId && (route.query.foundMode == 'read' || route.query.foundMode == 'download'),
351 isMore: false, 352 isMore: false,
352 width: 130, 353 width: 130,
353 btns: (scope) => { 354 btns: (scope) => {
354 let arrBtns: any = []; 355 let arrBtns: any = [];
355 //若是使用方,则换一个api地址 356 //若是使用方,则换一个api地址。使用操作是查看时可以查看
356 arrBtns.push({ 357 arrBtns.push({
357 label: '查看', value: 'view', click: (scope) => { 358 label: '查看', value: 'view', click: (scope) => {
358 router.push({ 359 router.push({
...@@ -375,13 +376,11 @@ onBeforeMount(() => { ...@@ -375,13 +376,11 @@ onBeforeMount(() => {
375 }); 376 });
376 377
377 onActivated(() => { 378 onActivated(() => {
378 if (detailInfo.value?.damName) {
379 if (fullPath === route.fullPath) { 379 if (fullPath === route.fullPath) {
380 document.title = foundMode.value == 'download' ? `下载详情-${detailInfo.value?.damName}` : (foundMode.value == 'read' ? `查看详情-${detailInfo.value?.damName}` : `详情-${detailInfo.value?.damName}`); 380 document.title = foundMode.value == 'download' ? `下载详情-${route.query.name}` : (foundMode.value == 'read' ? `查看详情-${route.query.name}` : `详情-${route.query.name}`);
381 let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath); 381 let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath);
382 if (tab) { 382 if (tab) {
383 tab.meta.title = foundMode.value == 'download' ? `下载详情-${detailInfo.value?.damName}` : (foundMode.value == 'read' ? `查看详情-${detailInfo.value?.damName}` : `详情-${detailInfo.value?.damName}`); 383 tab.meta.title = foundMode.value == 'download' ? `下载详情-${route.query.name}` : (foundMode.value == 'read' ? `查看详情-${route.query.name}` : `详情-${route.query.name}`);
384 }
385 } 384 }
386 } 385 }
387 if (assetStore.isRefreshDamCatalog) { 386 if (assetStore.isRefreshDamCatalog) {
......
...@@ -181,11 +181,11 @@ const tableBtnClick = (scope, btn) => { ...@@ -181,11 +181,11 @@ const tableBtnClick = (scope, btn) => {
181 181
182 const handleDataClick = (item) => { 182 const handleDataClick = (item) => {
183 //同步过来的要显示详情页面。 183 //同步过来的要显示详情页面。
184 if (item.nodeId || item.listingStatus == 'Y') { 184 if (item.nodeId || item.isGrounding == 'Y' || item.isUsed == 'Y') {
185 router.push({ 185 router.push({
186 // name: "registerCatalogDetail", 186 // name: "registerCatalogDetail",
187 path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail', 187 path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail',
188 query: { guid: item.guid, type: "asset", dataSources: props.dataSources, foundMode: item.foundMode }, 188 query: { guid: item.guid, type: "asset", dataSources: props.dataSources, foundMode: item.foundMode, name: item.damName },
189 }); 189 });
190 return; 190 return;
191 } 191 }
...@@ -199,7 +199,7 @@ const handleDataClick = (item) => { ...@@ -199,7 +199,7 @@ const handleDataClick = (item) => {
199 router.push({ 199 router.push({
200 // name: "registerCatalogDetail", 200 // name: "registerCatalogDetail",
201 path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail', 201 path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail',
202 query: { guid: item.guid, type: "asset", dataSources: props.dataSources, foundMode: item.foundMode }, 202 query: { guid: item.guid, type: "asset", dataSources: props.dataSources, foundMode: item.foundMode, name: item.damName },
203 }); 203 });
204 } 204 }
205 }; 205 };
...@@ -448,11 +448,11 @@ const handleUploadClose = (itemGuid) => { ...@@ -448,11 +448,11 @@ const handleUploadClose = (itemGuid) => {
448 </div> 448 </div>
449 <div class="v-bottom"> 449 <div class="v-bottom">
450 <!-- TODO,只有数据交付之后才可以编辑和删除 --> 450 <!-- TODO,只有数据交付之后才可以编辑和删除 -->
451 <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2 || item.foundMode == 4 || item.foundMode == 5) && !item.nodeId && item.listingStatus != 'Y'" 451 <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2 || item.foundMode == 4 || item.foundMode == 5) && !item.nodeId && item.isGrounding != 'Y' && item.isUsed != 'Y'"
452 @click.stop="tableBtnClick(item, 'delete')">删除</el-button> 452 @click.stop="tableBtnClick(item, 'delete')">删除</el-button>
453 <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 4) && !item.nodeId && item.listingStatus != 'Y'" @click.stop="handleDataClick(item)">编辑</el-button> 453 <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 4) && !item.nodeId && item.isGrounding != 'Y' && item.isUsed != 'Y'" @click.stop="handleDataClick(item)">编辑</el-button>
454 <!-- <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y'">上传交付物</el-button> --> 454 <!-- <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y'">上传交付物</el-button> -->
455 <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y') || item.nodeId">详情</el-button> 455 <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y') || item.nodeId || item.isGrounding == 'Y' || item.isUsed == 'Y'">详情</el-button>
456 </div> 456 </div>
457 </div> 457 </div>
458 </div> 458 </div>
......
...@@ -274,8 +274,8 @@ onBeforeMount(() => { ...@@ -274,8 +274,8 @@ onBeforeMount(() => {
274 274
275 const fileKeyNames = ref({ 275 const fileKeyNames = ref({
276 networkAccessQualification: '网络接入资质认证', 276 networkAccessQualification: '网络接入资质认证',
277 levelProtectionEvaluationResults: '等级保护(等保 2.0)测评结果', 277 levelProtectionEvaluationResults: '等级保护测评结果',
278 levelProtectionEvaluationExpirationTime: '等级保护(等保 2.0)测评有效期至', 278 levelProtectionEvaluationExpirationTime: '等级保护测评有效期至',
279 networkSecurityFilingCertificate: '网络安全产品备案证明', 279 networkSecurityFilingCertificate: '网络安全产品备案证明',
280 encryptionModuleAuthentication: '加密模块认证', 280 encryptionModuleAuthentication: '加密模块认证',
281 softwareScmStatemen: '软件供应链合规声明', 281 softwareScmStatemen: '软件供应链合规声明',
...@@ -331,14 +331,14 @@ const fileKeyNames = ref({ ...@@ -331,14 +331,14 @@ const fileKeyNames = ref({
331 <span class="item_value"><ellipsis-tooltip :content="flowDetail.legalSocialCreditCode || '--'" 331 <span class="item_value"><ellipsis-tooltip :content="flowDetail.legalSocialCreditCode || '--'"
332 class-name="w100f mr8-i" :refName="'tooltipOver' + 'legalSocialCreditCode'"></ellipsis-tooltip></span> 332 class-name="w100f mr8-i" :refName="'tooltipOver' + 'legalSocialCreditCode'"></ellipsis-tooltip></span>
333 </div> 333 </div>
334 <div class="list_item"> 334 <!-- <div class="list_item">
335 <span class="item_label">可信凭证颁发日期:</span> 335 <span class="item_label">可信凭证颁发日期:</span>
336 <span class="item_value">{{ flowDetail.credentialTime || '--' }}</span> 336 <span class="item_value">{{ flowDetail.credentialTime || '--' }}</span>
337 </div> 337 </div>
338 <div class="list_item"> 338 <div class="list_item">
339 <span class="item_label">可信凭证证书:</span> 339 <span class="item_label">可信凭证证书:</span>
340 <span class="item_value link" @click="viewVoucherFile">查看</span> 340 <span class="item_value link" @click="viewVoucherFile">查看</span>
341 </div> 341 </div> -->
342 <div class="list_item is_block"> 342 <div class="list_item is_block">
343 <span class="item_label">IP地址列表:</span> 343 <span class="item_label">IP地址列表:</span>
344 <span class="item_value">{{ flowDetail.ipAddressList?.join(',') || '--' }}</span> 344 <span class="item_value">{{ flowDetail.ipAddressList?.join(',') || '--' }}</span>
...@@ -441,7 +441,7 @@ const fileKeyNames = ref({ ...@@ -441,7 +441,7 @@ const fileKeyNames = ref({
441 </span> 441 </span>
442 </div> 442 </div>
443 <div v-if="field == 'levelProtectionEvaluationExpirationTime'" class="list_item isFile"> 443 <div v-if="field == 'levelProtectionEvaluationExpirationTime'" class="list_item isFile">
444 <span class="item_label" :style="{ width: 'auto', 'text-align': 'left' }">可信凭证颁发日期</span> 444 <span class="item_label" :style="{ width: 'auto', 'text-align': 'left' }">等级保护测评有效期至</span>
445 <span class="item_value">{{ flowDetail.tdsConnectorVerifiable?.[field] || '--' }}</span> 445 <span class="item_value">{{ flowDetail.tdsConnectorVerifiable?.[field] || '--' }}</span>
446 </div> 446 </div>
447 </template> 447 </template>
......
...@@ -89,38 +89,38 @@ const baseInfoFormItems = ref([ ...@@ -89,38 +89,38 @@ const baseInfoFormItems = ref([
89 disabled: true, 89 disabled: true,
90 required: false, 90 required: false,
91 }, 91 },
92 { 92 // {
93 type: "input", 93 // type: "input",
94 label: "可信凭证颁发日期", 94 // label: "可信凭证颁发日期",
95 field: "credentialTime", 95 // field: "credentialTime",
96 default: "", 96 // default: "",
97 placeholder: "-", 97 // placeholder: "-",
98 clearable: true, 98 // clearable: true,
99 disabled: true, 99 // disabled: true,
100 required: false, 100 // required: false,
101 col: "width-left no-margin-r", 101 // col: "width-left no-margin-r",
102 viewBtn: { 102 // viewBtn: {
103 label: "查看可信身份凭证", 103 // label: "查看可信身份凭证",
104 click: () => { 104 // click: () => {
105 const url = logonUserDetailInfo.value.trustedIdentityCredential; 105 // const url = logonUserDetailInfo.value.trustedIdentityCredential;
106 if (!url) { 106 // if (!url) {
107 return; 107 // return;
108 } 108 // }
109 onUploadFilePreview(url); 109 // onUploadFilePreview(url);
110 }, 110 // },
111 }, 111 // },
112 }, 112 // },
113 { 113 // {
114 type: "input", 114 // type: "input",
115 label: "可信身份凭证url地址", 115 // label: "可信身份凭证url地址",
116 field: "trustedIdentityCredential", 116 // field: "trustedIdentityCredential",
117 default: "", 117 // default: "",
118 placeholder: "-", 118 // placeholder: "-",
119 clearable: true, 119 // clearable: true,
120 disabled: true, 120 // disabled: true,
121 visible: false, 121 // visible: false,
122 required: false, 122 // required: false,
123 }, 123 // },
124 { 124 {
125 type: "input", 125 type: "input",
126 label: "IP地址列表", 126 label: "IP地址列表",
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!