修改数据使用和数据交付接口联调
Showing
9 changed files
with
90 additions
and
66 deletions
| ... | @@ -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,8 +109,10 @@ const tableInfo = ref({ | ... | @@ -103,8 +109,10 @@ 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 = []; |
| 106 | for (let action in actions) { | 112 | if (scope.row.contractStatus != '06') { |
| 107 | arrBtns.push({ label: actions[action], value: action, click: btnHanldesMap[action] }); | 113 | for (let action in actions) { |
| 114 | arrBtns.push({ label: actions[action], value: action, click: btnHanldesMap[action] }); | ||
| 115 | } | ||
| 108 | } | 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; | ... | ... |
| ... | @@ -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' ? `下载详情-${route.query.name}` : (foundMode.value == 'read' ? `查看详情-${route.query.name}` : `详情-${route.query.name}`); |
| 380 | document.title = foundMode.value == 'download' ? `下载详情-${detailInfo.value?.damName}` : (foundMode.value == 'read' ? `查看详情-${detailInfo.value?.damName}` : `详情-${detailInfo.value?.damName}`); | 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' ? `下载详情-${route.query.name}` : (foundMode.value == 'read' ? `查看详情-${route.query.name}` : `详情-${route.query.name}`); |
| 383 | tab.meta.title = foundMode.value == 'download' ? `下载详情-${detailInfo.value?.damName}` : (foundMode.value == 'read' ? `查看详情-${detailInfo.value?.damName}` : `详情-${detailInfo.value?.damName}`); | ||
| 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.listingStatus != 'Y' && !item.nodeId" | 451 | <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.isGrounding != 'Y' && item.isUsed != 'Y' && !item.nodeId" |
| 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 != 3 && item.foundMode != 4 && item.listingStatus != 'Y' && item.foundMode != 5 && !item.nodeId" @click.stop="handleDataClick(item)">编辑</el-button> | 453 | <el-button plain v-if="!(item.isRegister == 'Y') && item.foundMode != 3 && item.foundMode != 4 && item.isGrounding != 'Y' && item.isUsed != 'Y' && item.foundMode != 5 && !item.nodeId" @click.stop="handleDataClick(item)">编辑</el-button> |
| 454 | <!-- <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y' && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5">上传交付物</el-button> --> | 454 | <!-- <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y' && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5">上传交付物</el-button> --> |
| 455 | <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y' || item.foundMode == 3 || item.foundMode == 4 || item.foundMode == 5 || item.nodeId || item.listingStatus == 'Y')">详情</el-button> | 455 | <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y' || item.foundMode == 3 || item.foundMode == 4 || item.foundMode == 5 || item.nodeId || item.isGrounding == 'Y' || item.isUsed == 'Y')">详情</el-button> |
| 456 | </div> | 456 | </div> |
| 457 | </div> | 457 | </div> |
| 458 | </div> | 458 | </div> | ... | ... |
| ... | @@ -273,8 +273,8 @@ onBeforeMount(() => { | ... | @@ -273,8 +273,8 @@ onBeforeMount(() => { |
| 273 | 273 | ||
| 274 | const fileKeyNames = ref({ | 274 | const fileKeyNames = ref({ |
| 275 | networkAccessQualification: '网络接入资质认证', | 275 | networkAccessQualification: '网络接入资质认证', |
| 276 | levelProtectionEvaluationResults: '等级保护(等保 2.0)测评结果', | 276 | levelProtectionEvaluationResults: '等级保护测评结果', |
| 277 | levelProtectionEvaluationExpirationTime: '等级保护(等保 2.0)测评有效期至', | 277 | levelProtectionEvaluationExpirationTime: '等级保护测评有效期至', |
| 278 | networkSecurityFilingCertificate: '网络安全产品备案证明', | 278 | networkSecurityFilingCertificate: '网络安全产品备案证明', |
| 279 | encryptionModuleAuthentication: '加密模块认证', | 279 | encryptionModuleAuthentication: '加密模块认证', |
| 280 | softwareScmStatemen: '软件供应链合规声明', | 280 | softwareScmStatemen: '软件供应链合规声明', |
| ... | @@ -364,14 +364,14 @@ const fileKeyNames = ref({ | ... | @@ -364,14 +364,14 @@ const fileKeyNames = ref({ |
| 364 | <span class="item_value"><ellipsis-tooltip :content="flowDetail.legalSocialCreditCode || '--'" | 364 | <span class="item_value"><ellipsis-tooltip :content="flowDetail.legalSocialCreditCode || '--'" |
| 365 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'legalSocialCreditCode'"></ellipsis-tooltip></span> | 365 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'legalSocialCreditCode'"></ellipsis-tooltip></span> |
| 366 | </div> | 366 | </div> |
| 367 | <div class="list_item"> | 367 | <!-- <div class="list_item"> |
| 368 | <span class="item_label">可信凭证颁发日期:</span> | 368 | <span class="item_label">可信凭证颁发日期:</span> |
| 369 | <span class="item_value">{{ flowDetail.credentialTime || '--' }}</span> | 369 | <span class="item_value">{{ flowDetail.credentialTime || '--' }}</span> |
| 370 | </div> | 370 | </div> |
| 371 | <div class="list_item"> | 371 | <div class="list_item"> |
| 372 | <span class="item_label">可信凭证证书:</span> | 372 | <span class="item_label">可信凭证证书:</span> |
| 373 | <span class="item_value link" @click="viewVoucherFile">查看</span> | 373 | <span class="item_value link" @click="viewVoucherFile">查看</span> |
| 374 | </div> | 374 | </div> --> |
| 375 | <div class="list_item is_block"> | 375 | <div class="list_item is_block"> |
| 376 | <span class="item_label">IP地址列表:</span> | 376 | <span class="item_label">IP地址列表:</span> |
| 377 | <span class="item_value">{{ flowDetail.ipAddressList?.join(',') || '--' }}</span> | 377 | <span class="item_value">{{ flowDetail.ipAddressList?.join(',') || '--' }}</span> |
| ... | @@ -474,7 +474,7 @@ const fileKeyNames = ref({ | ... | @@ -474,7 +474,7 @@ const fileKeyNames = ref({ |
| 474 | </span> | 474 | </span> |
| 475 | </div> | 475 | </div> |
| 476 | <div v-if="field == 'levelProtectionEvaluationExpirationTime'" class="list_item isFile"> | 476 | <div v-if="field == 'levelProtectionEvaluationExpirationTime'" class="list_item isFile"> |
| 477 | <span class="item_label" :style="{ width: 'auto', 'text-align': 'left' }">可信凭证颁发日期</span> | 477 | <span class="item_label" :style="{ width: 'auto', 'text-align': 'left' }">等级保护测评有效期至</span> |
| 478 | <span class="item_value">{{ flowDetail.tdsConnectorVerifiable?.[field] || '--' }}</span> | 478 | <span class="item_value">{{ flowDetail.tdsConnectorVerifiable?.[field] || '--' }}</span> |
| 479 | </div> | 479 | </div> |
| 480 | </template> | 480 | </template> | ... | ... |
| ... | @@ -88,38 +88,38 @@ const baseInfoFormItems = ref([ | ... | @@ -88,38 +88,38 @@ const baseInfoFormItems = ref([ |
| 88 | disabled: true, | 88 | disabled: true, |
| 89 | required: false, | 89 | required: false, |
| 90 | }, | 90 | }, |
| 91 | { | 91 | // { |
| 92 | type: "input", | 92 | // type: "input", |
| 93 | label: "可信凭证颁发日期", | 93 | // label: "可信凭证颁发日期", |
| 94 | field: "credentialTime", | 94 | // field: "credentialTime", |
| 95 | default: "", | 95 | // default: "", |
| 96 | placeholder: "-", | 96 | // placeholder: "-", |
| 97 | clearable: true, | 97 | // clearable: true, |
| 98 | disabled: true, | 98 | // disabled: true, |
| 99 | required: false, | 99 | // required: false, |
| 100 | col: "width-left no-margin-r", | 100 | // col: "width-left no-margin-r", |
| 101 | viewBtn: { | 101 | // viewBtn: { |
| 102 | label: "查看可信身份凭证", | 102 | // label: "查看可信身份凭证", |
| 103 | click: () => { | 103 | // click: () => { |
| 104 | const url = logonUserDetailInfo.value.trustedIdentityCredential; | 104 | // const url = logonUserDetailInfo.value.trustedIdentityCredential; |
| 105 | if (!url) { | 105 | // if (!url) { |
| 106 | return; | 106 | // return; |
| 107 | } | 107 | // } |
| 108 | onUploadFilePreview(url); | 108 | // onUploadFilePreview(url); |
| 109 | }, | 109 | // }, |
| 110 | }, | 110 | // }, |
| 111 | }, | 111 | // }, |
| 112 | { | 112 | // { |
| 113 | type: "input", | 113 | // type: "input", |
| 114 | label: "可信身份凭证url地址", | 114 | // label: "可信身份凭证url地址", |
| 115 | field: "trustedIdentityCredential", | 115 | // field: "trustedIdentityCredential", |
| 116 | default: "", | 116 | // default: "", |
| 117 | placeholder: "-", | 117 | // placeholder: "-", |
| 118 | clearable: true, | 118 | // clearable: true, |
| 119 | disabled: true, | 119 | // disabled: true, |
| 120 | visible: false, | 120 | // visible: false, |
| 121 | required: false, | 121 | // required: false, |
| 122 | }, | 122 | // }, |
| 123 | { | 123 | { |
| 124 | type: "input", | 124 | type: "input", |
| 125 | label: "IP地址列表", | 125 | label: "IP地址列表", | ... | ... |
-
Please register or sign in to post a comment