6f7adb70 by lihua

修复数据产品上架详情

1 parent 9922cafa
...@@ -24,6 +24,7 @@ import { ElMessage, ElMessageBox } from "element-plus"; ...@@ -24,6 +24,7 @@ import { ElMessage, ElMessageBox } from "element-plus";
24 import { passFlowData, rejectFlowData, revokeFlowData, isMyFirstNode } from "@/api/modules/workFlowService"; 24 import { passFlowData, rejectFlowData, revokeFlowData, isMyFirstNode } from "@/api/modules/workFlowService";
25 import { onUploadFilePreview, onUploadFileDownload } from '@/api/modules/common'; 25 import { onUploadFilePreview, onUploadFileDownload } from '@/api/modules/common';
26 import useDataAssetStore from "@/store/modules/dataAsset"; 26 import useDataAssetStore from "@/store/modules/dataAsset";
27 import { TableColumnWidth } from '@/utils/enum';
27 28
28 const router = useRouter(); 29 const router = useRouter();
29 const route = useRoute(); 30 const route = useRoute();
...@@ -46,6 +47,13 @@ const fullscreenLoading = ref(false); ...@@ -46,6 +47,13 @@ const fullscreenLoading = ref(false);
46 const isTruncated = ref(false); 47 const isTruncated = ref(false);
47 const isExpanded = ref(false); 48 const isExpanded = ref(false);
48 49
50 /** 数据产品登记的产品信息详情 */
51 const publicDataProductsMainRSVO: any = ref({});
52
53 const isJSZQ = computed(() => {
54 return !!detailInfo.value.publicDataProductsMainRSVO?.guid;
55 })
56
49 /** 交付物结果数据 */ 57 /** 交付物结果数据 */
50 const deliveryDetailInfo: any = ref([]); 58 const deliveryDetailInfo: any = ref([]);
51 59
...@@ -99,9 +107,9 @@ const registerDetailTableInfo = ref({ ...@@ -99,9 +107,9 @@ const registerDetailTableInfo = ref({
99 rowKey: 'guid', 107 rowKey: 'guid',
100 height: 220, 108 height: 220,
101 loading: false, 109 loading: false,
102 fields: [ { label: "序号", type: "index", width: 56, align: "center" }, 110 fields: [{ label: "序号", type: "index", width: 56, align: "center" },
103 { label: "事项", field: "title", width: 160, align: "left" }, 111 { label: "事项", field: "title", width: 160, align: "left" },
104 { label: "对接主体", field: "institutionName", width: 240, align: "left" }, 112 { label: "对接主体", field: "institutionName", width: 240, align: "left" },
105 ], 113 ],
106 data: <any>[], 114 data: <any>[],
107 showPage: false, 115 showPage: false,
...@@ -113,16 +121,19 @@ const registerDetailTableInfo = ref({ ...@@ -113,16 +121,19 @@ const registerDetailTableInfo = ref({
113 label: "查看详情", value: "detail", click: (scope) => { 121 label: "查看详情", value: "detail", click: (scope) => {
114 let row = scope.row; 122 let row = scope.row;
115 if (row.type == 'asset') { 123 if (row.type == 'asset') {
116 router.push({ 124 isJSZQ.value ? router.push({
125 name: 'registerInfoJSZQDetail',
126 query: { guid: row.guid, name: detailInfo.value.damName, tenantGuid: row.tenantGuid, tenantName: row.tenantName, type: 'asset' }
127 }) : router.push({
117 name: 'registerInfoDetail', 128 name: 'registerInfoDetail',
118 query: { guid: row.guid, name: detailInfo.value.damName, tenantGuid: row.tenantGuid, tenantName: row.tenantName, type: 'asset' } 129 query: { guid: row.guid, name: detailInfo.value.damName, tenantGuid: row.tenantGuid, tenantName: row.tenantName, type: 'asset' }
119 }); 130 });
120 } else if (row.type == 'qualityEvaluate') { 131 } else if (row.type == 'qualityEvaluate') {
121 if (row.registerApproveState == 'Y') { 132 if (row.registerApproveState == 'Y') {
122 row.dataSource == '1' ? router.push({ 133 isJSZQ.value ? router.push({
123 name: 'registerJSZQDetail', 134 name: 'registerJSZQDetail',
124 query: { guid: row.registerGuid, evaGuid: row.guid, type: 'qualityEvaluate', tenantGuid: row.tenantGuid, tenantName: row.tenantName } 135 query: { guid: row.registerGuid, evaGuid: row.guid, type: 'qualityEvaluate', tenantGuid: row.tenantGuid, tenantName: row.tenantName }
125 }) : router.push({ 136 }) : router.push({
126 name: 'registerDetail', 137 name: 'registerDetail',
127 query: { guid: row.registerGuid, evaGuid: row.guid, type: 'qualityEvaluate', tenantGuid: row.tenantGuid, tenantName: row.tenantName } 138 query: { guid: row.registerGuid, evaGuid: row.guid, type: 'qualityEvaluate', tenantGuid: row.tenantGuid, tenantName: row.tenantName }
128 }); 139 });
...@@ -134,10 +145,10 @@ const registerDetailTableInfo = ref({ ...@@ -134,10 +145,10 @@ const registerDetailTableInfo = ref({
134 } 145 }
135 } else if (row.type == 'costAssess') { 146 } else if (row.type == 'costAssess') {
136 if (row.registerApproveState == 'Y') { 147 if (row.registerApproveState == 'Y') {
137 row.dataSource == '1' ? router.push({ 148 isJSZQ.value ? router.push({
138 name: 'registerValueJSZQDetail', 149 name: 'registerValueJSZQDetail',
139 query: { guid: row.registerGuid, costAssessGuid: row.guid, type: 'costAssess', tenantGuid: row.tenantGuid, tenantName: row.tenantName } 150 query: { guid: row.registerGuid, costAssessGuid: row.guid, type: 'costAssess', tenantGuid: row.tenantGuid, tenantName: row.tenantName }
140 }) : router.push({ 151 }) : router.push({
141 name: 'registerValueDetail', 152 name: 'registerValueDetail',
142 query: { guid: row.registerGuid, costAssessGuid: row.guid, type: 'costAssess', tenantGuid: row.tenantGuid, tenantName: row.tenantName } 153 query: { guid: row.registerGuid, costAssessGuid: row.guid, type: 'costAssess', tenantGuid: row.tenantGuid, tenantName: row.tenantName }
143 }); 154 });
...@@ -179,11 +190,16 @@ const getDetailInfo = () => { ...@@ -179,11 +190,16 @@ const getDetailInfo = () => {
179 if (res.code == proxy.$passCode) { 190 if (res.code == proxy.$passCode) {
180 const data = res.data || {}; 191 const data = res.data || {};
181 detailInfo.value = data; 192 detailInfo.value = data;
193 publicDataProductsMainRSVO.value = detailInfo.value.publicDataProductsMainRSVO || {};
182 // detailInfo.value.damTypeName = damTypes.find(d => d.value == detailInfo.value.damType)?.label; 194 // detailInfo.value.damTypeName = damTypes.find(d => d.value == detailInfo.value.damType)?.label;
183 detailInfo.value.dataSourcesName = dataSourcesList.find(d => d.value == detailInfo.value.dataSources)?.label; 195 detailInfo.value.dataSourcesName = dataSourcesList.find(d => d.value == detailInfo.value.dataSources)?.label;
184 baseInfoFormItems.value.forEach(item => { 196 if (!isJSZQ.value) {
185 item.default = detailInfo.value[item.field] 197 baseInfoFormItems.value.forEach(item => {
186 }); 198 item.default = detailInfo.value[item.field]
199 });
200 }
201 inputParamsTableInfo.value.data = publicDataProductsMainRSVO.value?.reqParamListRSVOS || [];
202 respParamsTableInfo.value.data = publicDataProductsMainRSVO.value?.respParamListRSVOS || [];
187 if (fullPath === route.fullPath) { 203 if (fullPath === route.fullPath) {
188 document.title = `详情-${data.damName}`; 204 document.title = `详情-${data.damName}`;
189 } 205 }
...@@ -274,7 +290,7 @@ const getDetailInfo = () => { ...@@ -274,7 +290,7 @@ const getDetailInfo = () => {
274 if (data.qualityEvaluationRSVO) { 290 if (data.qualityEvaluationRSVO) {
275 registerDetailTableInfo.value.data.push(Object.assign({}, data.qualityEvaluationRSVO, { 291 registerDetailTableInfo.value.data.push(Object.assign({}, data.qualityEvaluationRSVO, {
276 title: "质量评估", 292 title: "质量评估",
277 type: 'qualityEvaluate' 293 type: 'qualityEvaluate'
278 })); 294 }));
279 } 295 }
280 if (data.costAssessmentRSVO) { 296 if (data.costAssessmentRSVO) {
...@@ -372,7 +388,7 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => { ...@@ -372,7 +388,7 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => {
372 const handleTableViewData = (scope) => { 388 const handleTableViewData = (scope) => {
373 let row = scope.row; 389 let row = scope.row;
374 router.push({ 390 router.push({
375 // name: 'damTableDataView', 391 // name: 'damTableDataView',
376 path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog/damTableDataView' : '/data-asset/register-catalog/damTableDataView', 392 path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog/damTableDataView' : '/data-asset/register-catalog/damTableDataView',
377 query: { 393 query: {
378 guid: row.guid, 394 guid: row.guid,
...@@ -1109,6 +1125,58 @@ const viewDeliveryFile = (file) => { ...@@ -1109,6 +1125,58 @@ const viewDeliveryFile = (file) => {
1109 onUploadFileDownload(file); 1125 onUploadFileDownload(file);
1110 } 1126 }
1111 1127
1128 const activeTabName = ref('reqParamList');
1129
1130 /** 入参表格信息 */
1131 const inputParamsTableInfo = ref({
1132 id: "input-params-table",
1133 height: '214px',
1134 fields: [
1135 { label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" },
1136 { label: "参数英文", field: "fieldEnName", width: 140, },
1137 { label: "参数中文", field: "fieldCnName", width: 140, },
1138 { label: "参数类型", field: "fieldValueTypeName", width: 140, },
1139 {
1140 label: "是否必填", field: "fieldMandatory", width: 100, getName: (scope) => {
1141 return scope.row.fieldMandatory == 'Y' ? '是' : '否';
1142 }
1143 },
1144 { label: "参数描述", field: "fieldComment", width: 140, },
1145 { label: "展示层级顺序", field: "levelCode", width: 120, align: 'right', type: 'chnum' },
1146 ],
1147 data: [],
1148 showPage: false,
1149 actionInfo: {
1150 show: false,
1151 },
1152 loading: false
1153 });
1154
1155 /** 出参表格信息 */
1156 const respParamsTableInfo = ref({
1157 id: "resp-params-table",
1158 height: '214px',
1159 fields: [
1160 { label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" },
1161 { label: "参数英文", field: "fieldEnName", width: 140, },
1162 { label: "参数中文", field: "fieldCnName", width: 140, },
1163 { label: "参数类型", field: "fieldValueTypeName", width: 140, },
1164 {
1165 label: "是否必填", field: "fieldMandatory", width: 100, getName: (scope) => {
1166 return scope.row.fieldMandatory == 'Y' ? '是' : '否';
1167 }
1168 },
1169 { label: "参数描述", field: "fieldComment", width: 140, },
1170 { label: "展示层级顺序", field: "levelCode", width: 120, align: 'right', type: 'chnum' },
1171 ],
1172 data: [],
1173 showPage: false,
1174 actionInfo: {
1175 show: false,
1176 },
1177 loading: false
1178 });
1179
1112 </script> 1180 </script>
1113 1181
1114 <template> 1182 <template>
...@@ -1119,16 +1187,18 @@ const viewDeliveryFile = (file) => { ...@@ -1119,16 +1187,18 @@ const viewDeliveryFile = (file) => {
1119 <div class="left-img"></div> 1187 <div class="left-img"></div>
1120 <div class="right-main"> 1188 <div class="right-main">
1121 <div class="asset-title"> 1189 <div class="asset-title">
1122 <div style="display: flex;align-items: center;"> 1190 <div style="display: flex;align-items: center;width: 100%">
1123 <div @click="handleClick" :class="{ 'foundMode': detailInfo.foundMode == '2', 'title1': true }">{{ 1191 <div @click="handleClick" :class="{ 'foundMode': detailInfo.foundMode == '2', 'title1': true }"><ellipsis-tooltip :content="detailInfo.damName ?? '--'"
1124 detailInfo.damName ?? '--' }}</div> 1192 class-name="w100f" :refName="'tooltipOver' + 'damName'"></ellipsis-tooltip></div>
1125 <div class="dataLabel">{{ detailInfo.damTypeName }}</div> 1193 <div class="dataLabel">{{ detailInfo.damTypeName }}</div>
1126 <div class="dataLabel">{{ detailInfo.subjectDomainName || detailInfo.subjectDomain }}</div> 1194 <div class="dataLabel" v-show="detailInfo.subjectDomain">{{ detailInfo.subjectDomainName ||
1195 detailInfo.subjectDomain }}</div>
1127 <div class="dataLabel dataLabel1" v-if="detailInfo.databaseType">{{ detailInfo.databaseType }}</div> 1196 <div class="dataLabel dataLabel1" v-if="detailInfo.databaseType">{{ detailInfo.databaseType }}</div>
1128 <div class="dataLabel dataLabel1">{{ detailInfo.dataSourcesName }}</div> 1197 <div class="dataLabel dataLabel1">{{ detailInfo.dataSourcesName }}</div>
1129 </div> 1198 </div>
1130 </div> 1199 </div>
1131 <div class="applicationScenarios">{{ '权利主体:' + detailInfo.rightMainName }}</div> 1200 <div v-show="detailInfo.rightMainName" class="applicationScenarios">{{ '权利主体:' + detailInfo.rightMainName }}
1201 </div>
1132 <div class="applicationScenarios" 1202 <div class="applicationScenarios"
1133 :style="{ 'margin-right': (isTruncated && !isExpanded) ? '30px' : '0px', WebkitLineClamp: (!isTruncated ? 'inherit' : (isExpanded ? 'inherit' : 1)), WebkitBoxOrient: 'vertical' }"> 1203 :style="{ 'margin-right': (isTruncated && !isExpanded) ? '30px' : '0px', WebkitLineClamp: (!isTruncated ? 'inherit' : (isExpanded ? 'inherit' : 1)), WebkitBoxOrient: 'vertical' }">
1134 {{'覆盖地域:' + (detailInfo.coverageArea?.[0]?.[0] == 'all' ? '全国' : (detailInfo.coverageAreaName?.map(c => 1204 {{'覆盖地域:' + (detailInfo.coverageArea?.[0]?.[0] == 'all' ? '全国' : (detailInfo.coverageAreaName?.map(c =>
...@@ -1141,7 +1211,97 @@ const viewDeliveryFile = (file) => { ...@@ -1141,7 +1211,97 @@ const viewDeliveryFile = (file) => {
1141 </div> 1211 </div>
1142 </div> 1212 </div>
1143 <ContentWrap id="id-assetContent" title="基础信息" description="" style="margin: 0 16px"> 1213 <ContentWrap id="id-assetContent" title="基础信息" description="" style="margin: 0 16px">
1144 <Form ref="baseInfoFormRef" :itemList="baseInfoFormItems" formId="base-info-form" /> 1214 <Form v-if="!isJSZQ" ref="baseInfoFormRef" :itemList="baseInfoFormItems" formId="base-info-form" />
1215 <div v-else class="list_panel">
1216 <div class="list_item">
1217 <span class="item_label">产品编码:</span>
1218 <span class="item_value"><ellipsis-tooltip :content="publicDataProductsMainRSVO?.productCode || '--'"
1219 class-name="w100f mr8-i" :refName="'tooltipOver' + 'productCode'"></ellipsis-tooltip></span>
1220 </div>
1221 <div class="list_item">
1222 <span class="item_label">产品类型:</span>
1223 <span class="item_value">{{ publicDataProductsMainRSVO?.productTypeName }}</span>
1224 </div>
1225 <div class="list_item">
1226 <span class="item_label">是否需要信息主体授权:</span>
1227 <span class="item_value">{{ publicDataProductsMainRSVO?.authLevel == 'Y' ? '是' : '否' }}</span>
1228 </div>
1229 <div class="list_item">
1230 <span class="item_label">更新频率:</span>
1231 <span class="item_value">{{ publicDataProductsMainRSVO?.updateFrequencyName || '--' }}</span>
1232 </div>
1233 <div class="list_item">
1234 <span class="item_label">产品发布机构:</span>
1235 <span class="item_value"><ellipsis-tooltip :content="publicDataProductsMainRSVO?.productPublisherName || '--'"
1236 class-name="w100f mr8-i" :refName="'tooltipOver' + 'productPublisherName'"></ellipsis-tooltip></span>
1237 </div>
1238 <div class="list_item">
1239 <span class="item_label">领域:</span>
1240 <span class="item_value">{{ publicDataProductsMainRSVO?.domainName || '--' }}</span>
1241 </div>
1242 <div class="list_item">
1243 <span class="item_label">应用场景:</span>
1244 <span class="item_value"><ellipsis-tooltip :content="publicDataProductsMainRSVO?.scenarioName || '--'"
1245 class-name="w100f mr8-i" :refName="'tooltipOver' + 'scenarioName'"></ellipsis-tooltip></span>
1246 </div>
1247 <div class="list_item" v-show="publicDataProductsMainRSVO?.domain == '003'">
1248 <span class="item_label">所属科室:</span>
1249 <span class="item_value">{{ publicDataProductsMainRSVO?.medDepartmentCodeName || '--' }}</span>
1250 </div>
1251 <div class="list_item" v-show="publicDataProductsMainRSVO?.domain == '003'">
1252 <span class="item_label">所属疾病:</span>
1253 <span class="item_value">{{ publicDataProductsMainRSVO?.diseaseName || '--' }}</span>
1254 </div>
1255 <div class="list_item" v-show="publicDataProductsMainRSVO?.domain == '003'">
1256 <span class="item_label">数据规模(条):</span>
1257 <span class="item_value">{{ changeNum(publicDataProductsMainRSVO?.dataScale || 0, 0) }}</span>
1258 </div>
1259 <div class="list_item" v-show="publicDataProductsMainRSVO?.domain == '003'">
1260 <span class="item_label">病例总数(例):</span>
1261 <span class="item_value">{{ changeNum(publicDataProductsMainRSVO?.caseNumber || 0, 0) }}</span>
1262 </div>
1263 <div class="list_item" v-show="publicDataProductsMainRSVO?.domain == '004'">
1264 <span class="item_label">所属主题:</span>
1265 <span class="item_value">{{ publicDataProductsMainRSVO?.subjectDomainName || '--' }}</span>
1266 </div>
1267 <div class="list_item">
1268 <span class="item_label">数据来源:</span>
1269 <span class="item_value">{{ publicDataProductsMainRSVO?.dataSourcesName || '--' }}</span>
1270 </div>
1271 <div class="list_item">
1272 <span class="item_label">数据覆盖范围:</span>
1273 <span class="item_value"><ellipsis-tooltip :content="!publicDataProductsMainRSVO?.dataCoverage?.length ? '--' : (publicDataProductsMainRSVO?.dataCoverage[0] == '1' ?
1274 '全国' : publicDataProductsMainRSVO?.dataCoverageName.join(',')
1275 )" class-name="w100f mr8-i" :refName="'tooltipOver' + 'dataCoverage'"></ellipsis-tooltip></span>
1276 </div>
1277 <div class="list_item">
1278 <span class="item_label">产品应用方向:</span>
1279 <span class="item_value">{{ publicDataProductsMainRSVO?.productDirectionName || '--' }}</span>
1280 </div>
1281 <div class="list_item">
1282 <span class="item_label">版本名称:</span>
1283 <span class="item_value"><ellipsis-tooltip :content="publicDataProductsMainRSVO?.versionName || '--'"
1284 class-name="w100f mr8-i" :refName="'tooltipOver' + 'versionName'"></ellipsis-tooltip></span>
1285 </div>
1286 <div class="list_item is_block">
1287 <span class="item_label">产品关键词:</span>
1288 <span class="item_value">{{ publicDataProductsMainRSVO.productKeywords?.join(',') || '--' }}</span>
1289 </div>
1290 <div class="list_item is_block">
1291 <span class="item_label">产品描述:</span>
1292 <span class="item_value">{{ publicDataProductsMainRSVO?.productDesc || '--' }}</span>
1293 </div>
1294 </div>
1295 </ContentWrap>
1296 <ContentWrap v-if="isJSZQ" id="id-paramsInfo" title="入参出参信息" description="" style="margin: 16px 16px 16px">
1297 <el-tabs v-model="activeTabName" class="param-tabs">
1298 <el-tab-pane label="入参信息" name="reqParamList">
1299 <Table ref="inputParamsTableRef" :tableInfo="inputParamsTableInfo" class="fiveRow-table" />
1300 </el-tab-pane>
1301 <el-tab-pane label="出参信息" name="respParamList">
1302 <Table ref="respParamsTableRef" :tableInfo="respParamsTableInfo" class="fiveRow-table" />
1303 </el-tab-pane>
1304 </el-tabs>
1145 </ContentWrap> 1305 </ContentWrap>
1146 <ContentWrap id="id-table" title="资源表" v-if="detailInfo.damCatalogTableInfo?.length" description="" 1306 <ContentWrap id="id-table" title="资源表" v-if="detailInfo.damCatalogTableInfo?.length" description=""
1147 style="margin: 16px 16px 16px"> 1307 style="margin: 16px 16px 16px">
...@@ -1328,7 +1488,7 @@ const viewDeliveryFile = (file) => { ...@@ -1328,7 +1488,7 @@ const viewDeliveryFile = (file) => {
1328 <div class="list_item" :style="{ width: '60%' }"> 1488 <div class="list_item" :style="{ width: '60%' }">
1329 <span class="item_label">评价对象范围:</span> 1489 <span class="item_label">评价对象范围:</span>
1330 <span class="item_value">{{ evaDetailInfo.evaluationRangeStart + '~' + evaDetailInfo.evaluationRangeEnd 1490 <span class="item_value">{{ evaDetailInfo.evaluationRangeStart + '~' + evaDetailInfo.evaluationRangeEnd
1331 }}</span> 1491 }}</span>
1332 </div> 1492 </div>
1333 <div class="list_item is_block"> 1493 <div class="list_item is_block">
1334 <span class="item_label">质量评价结果:</span> 1494 <span class="item_label">质量评价结果:</span>
...@@ -1458,7 +1618,8 @@ const viewDeliveryFile = (file) => { ...@@ -1458,7 +1618,8 @@ const viewDeliveryFile = (file) => {
1458 </div> 1618 </div>
1459 </ContentWrap> 1619 </ContentWrap>
1460 1620
1461 <ContentWrap v-if="route.query.type == 'asset' && registerDetailTableInfo.data.length > 0" id="id-registerDetail" title="登记评估上架交易" description="" style="margin: 16px 16px 16px"> 1621 <ContentWrap v-if="route.query.type == 'asset' && registerDetailTableInfo.data.length > 0" id="id-registerDetail"
1622 title="登记评估上架交易" description="" style="margin: 16px 16px 16px">
1462 <Table :table-info="registerDetailTableInfo"></Table> 1623 <Table :table-info="registerDetailTableInfo"></Table>
1463 </ContentWrap> 1624 </ContentWrap>
1464 1625
...@@ -1503,7 +1664,7 @@ const viewDeliveryFile = (file) => { ...@@ -1503,7 +1664,7 @@ const viewDeliveryFile = (file) => {
1503 v-if="toolBtns.length && (route.query.type == 'qualityEvaluate' || route.query.type == 'costAssess' || route.query.type == 'asset')"> 1664 v-if="toolBtns.length && (route.query.type == 'qualityEvaluate' || route.query.type == 'costAssess' || route.query.type == 'asset')">
1504 <div class="btns"> 1665 <div class="btns">
1505 <el-button v-for="btn in toolBtns" :type="btn.type" :plain="btn.plain" @click="btnClick(btn)">{{ btn.label 1666 <el-button v-for="btn in toolBtns" :type="btn.type" :plain="btn.plain" @click="btnClick(btn)">{{ btn.label
1506 }}</el-button> 1667 }}</el-button>
1507 </div> 1668 </div>
1508 </div> 1669 </div>
1509 <Dialog :dialogInfo="passDialogInfo" @btnClick="passDialogBtnClick" @inputChange=passDialogInputChange /> 1670 <Dialog :dialogInfo="passDialogInfo" @btnClick="passDialogBtnClick" @inputChange=passDialogInputChange />
...@@ -1677,6 +1838,7 @@ const viewDeliveryFile = (file) => { ...@@ -1677,6 +1838,7 @@ const viewDeliveryFile = (file) => {
1677 letter-spacing: 0; 1838 letter-spacing: 0;
1678 line-height: 30px; 1839 line-height: 30px;
1679 font-weight: 600; 1840 font-weight: 600;
1841 max-width: calc(100% - 250px);
1680 } 1842 }
1681 1843
1682 .dataLabel { 1844 .dataLabel {
...@@ -1842,4 +2004,21 @@ const viewDeliveryFile = (file) => { ...@@ -1842,4 +2004,21 @@ const viewDeliveryFile = (file) => {
1842 flex-direction: column; 2004 flex-direction: column;
1843 } 2005 }
1844 } 2006 }
2007
2008 :deep(.param-tabs.el-tabs) {
2009 margin-top: -8px;
2010
2011 .el-tabs__header {
2012 margin-bottom: 8px;
2013 }
2014
2015 .el-tabs__item {
2016 height: 32px;
2017
2018 &:nth-child(2) {
2019 padding-left: 16px;
2020 }
2021
2022 }
2023 }
1845 </style> 2024 </style>
......
...@@ -2200,6 +2200,9 @@ const saveDraft = () => { ...@@ -2200,6 +2200,9 @@ const saveDraft = () => {
2200 } 2200 }
2201 fullscreenLoading.value = true; 2201 fullscreenLoading.value = true;
2202 if (guid) { 2202 if (guid) {
2203 if (!params.damGuid) {
2204 params.damGuid = detailInfo.value.damGuid;
2205 }
2203 params.guid = guid; 2206 params.guid = guid;
2204 registerUpdate(params).then((res: any) => { 2207 registerUpdate(params).then((res: any) => {
2205 fullscreenLoading.value = false; 2208 fullscreenLoading.value = false;
...@@ -2400,6 +2403,9 @@ const save = () => { ...@@ -2400,6 +2403,9 @@ const save = () => {
2400 } 2403 }
2401 fullscreenLoading.value = true; 2404 fullscreenLoading.value = true;
2402 if (guid) { 2405 if (guid) {
2406 if (!params.damGuid) {
2407 params.damGuid = detailInfo.value.damGuid;
2408 }
2403 params.guid = guid; 2409 params.guid = guid;
2404 registerUpdate(params).then((res: any) => { 2410 registerUpdate(params).then((res: any) => {
2405 fullscreenLoading.value = false; 2411 fullscreenLoading.value = false;
......
...@@ -1975,7 +1975,7 @@ const rejectDialogBtnClick = (btn, info) => { ...@@ -1975,7 +1975,7 @@ const rejectDialogBtnClick = (btn, info) => {
1975 <span class="item_label">数据时间范围:</span> 1975 <span class="item_label">数据时间范围:</span>
1976 <span class="item_value">{{ timeRangeInfo || '--' }}</span> 1976 <span class="item_value">{{ timeRangeInfo || '--' }}</span>
1977 </div> 1977 </div>
1978 <div class="list_item"> 1978 <div v-show="flowDetail.dataSource != '1'" class="list_item">
1979 <span class="item_label">交付方式:</span> 1979 <span class="item_label">交付方式:</span>
1980 <span class="item_value">{{ flowDetail.deliveryWayName || '--' }}</span> 1980 <span class="item_value">{{ flowDetail.deliveryWayName || '--' }}</span>
1981 </div> 1981 </div>
...@@ -1983,7 +1983,7 @@ const rejectDialogBtnClick = (btn, info) => { ...@@ -1983,7 +1983,7 @@ const rejectDialogBtnClick = (btn, info) => {
1983 <span class="item_label">定价方式:</span> 1983 <span class="item_label">定价方式:</span>
1984 <span class="item_value">{{ priceWayInfo || '--' }}</span> 1984 <span class="item_value">{{ priceWayInfo || '--' }}</span>
1985 </div> 1985 </div>
1986 <div class="list_item"> 1986 <div v-show="flowDetail.dataSource != '1'" class="list_item">
1987 <span class="item_label">定价金额:</span> 1987 <span class="item_label">定价金额:</span>
1988 <span class="item_value">{{ prcieInfo || '--' }}</span> 1988 <span class="item_value">{{ prcieInfo || '--' }}</span>
1989 </div> 1989 </div>
...@@ -2012,11 +2012,11 @@ const rejectDialogBtnClick = (btn, info) => { ...@@ -2012,11 +2012,11 @@ const rejectDialogBtnClick = (btn, info) => {
2012 }}</span> 2012 }}</span>
2013 </span> 2013 </span>
2014 </div> 2014 </div>
2015 <div class="list_item is_block"> 2015 <div v-show="flowDetail.dataSource != '1'" class="list_item is_block">
2016 <span class="item_label">收费说明:</span> 2016 <span class="item_label">收费说明:</span>
2017 <span class="item_value">{{ flowDetail.feeDesc || '--' }}</span> 2017 <span class="item_value">{{ flowDetail.feeDesc || '--' }}</span>
2018 </div> 2018 </div>
2019 <div class="list_item1 is_block1"> 2019 <div v-show="flowDetail.dataSource != '1'" class="list_item1 is_block1">
2020 <div class="file_item" v-if="flowDetail.productPic && flowDetail.productPic.name"> 2020 <div class="file_item" v-if="flowDetail.productPic && flowDetail.productPic.name">
2021 <span class="item_label">产品图片:</span> 2021 <span class="item_label">产品图片:</span>
2022 <span class="item_value"> 2022 <span class="item_value">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!