diff --git a/src/views/mediaLibrary/importPrice.vue b/src/views/mediaLibrary/importPrice.vue index 7626f75..053b0eb 100644 --- a/src/views/mediaLibrary/importPrice.vue +++ b/src/views/mediaLibrary/importPrice.vue @@ -135,42 +135,42 @@ const initImportPriceExcel = (_mediaType) => { case 0: title.value = '导入优势媒体报价' dataScopeDeptId.value = 220 - dataScopeDeptName.value = '优势媒体部' + dataScopeDeptName.value = '优势媒体事业部' break; case 1: title.value = '导入门禁报价' dataScopeDeptId.value = 219 - dataScopeDeptName.value = '网络媒体部' + dataScopeDeptName.value = '网络媒体事业部' break; case 2: title.value = '导入候车厅报价' dataScopeDeptId.value = 219 - dataScopeDeptName.value = '网络媒体部' + dataScopeDeptName.value = '网络媒体事业部' break; case 3: title.value = '导入道闸报价' dataScopeDeptId.value = 219 - dataScopeDeptName.value = '网络媒体部' + dataScopeDeptName.value = '网络媒体事业部' break; case 4: title.value = '导入地铁报价' dataScopeDeptId.value = 219 - dataScopeDeptName.value = '网络媒体部' + dataScopeDeptName.value = '网络媒体事业部' break; case 5: title.value = '导入高铁报价' dataScopeDeptId.value = 219 - dataScopeDeptName.value = '网络媒体部' + dataScopeDeptName.value = '网络媒体事业部' break; case 6: title.value = '导入写字楼报价' dataScopeDeptId.value = 219 - dataScopeDeptName.value = '网络媒体部' + dataScopeDeptName.value = '网络媒体事业部' break; case 7: title.value = '导入车库灯箱报价' dataScopeDeptId.value = 219 - dataScopeDeptName.value = '网络媒体部' + dataScopeDeptName.value = '网络媒体事业部' break; default: break; diff --git a/src/views/mediaLibrary/mediaDetail.vue b/src/views/mediaLibrary/mediaDetail.vue index 6de5f0d..b07e07b 100644 --- a/src/views/mediaLibrary/mediaDetail.vue +++ b/src/views/mediaLibrary/mediaDetail.vue @@ -62,7 +62,7 @@
- + {{ detailForm.hasLighting }} @@ -79,8 +79,8 @@ -
- +
+ {{ detailForm.mr }} @@ -92,15 +92,15 @@ -
- +
+ {{ detailForm.mediaOrientation }} -
+
@@ -143,8 +143,8 @@ -
- +
+ {{ detailForm.minPurchaseCycle }} @@ -163,10 +163,10 @@ -
+
-
+
@@ -217,7 +217,7 @@
- + {{ detailForm.invoiceType }} @@ -239,8 +239,8 @@ -
- +
+ {{ detailForm.propertyCompanyName }} @@ -262,8 +262,8 @@ -
- +
+ {{ detailForm.soleAgentAuth }} @@ -285,15 +285,15 @@ -
- +
+ {{ detailForm.industryLimit }} -
+
@@ -326,14 +326,14 @@
- + {{ detailForm.equalsMediaCompany }} -
+
@@ -342,38 +342,38 @@
- + -
- +
+ -
- +
+ -
- +
+ -
+
@@ -414,40 +414,40 @@ -
- +
+ -
- +
+ -
- +
+ -
- +
+ -
- +
+ @@ -546,14 +546,14 @@ const handlePriceTypeClick = (tab, event) => { } // 初始化 const handleChangeDept = (val) => { - if (detailForm.value.dataScopeDeptName == '优势媒体部' && competitiveOfferRef.value) competitiveOfferRef.value.getMediaPrice(detailForm.value.id, false) - if (detailForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '门禁') accessControlPriceRef.value.getMediaPrice(detailForm.value.id, false) - if (detailForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '候车厅') waitingHallPriceRef.value.getMediaPrice(detailForm.value.id, false) - if (detailForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '道闸') barrierGatePriceRef.value.getMediaPrice(detailForm.value.id, false) - if (detailForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '地铁') subwayPriceRef.value.getMediaPrice(detailForm.value.id, false) - if (detailForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '高铁') highSpeedRailwayRef.value.getMediaPrice(detailForm.value.id, false) - if (detailForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '写字楼') officeBuildingRef.value.getMediaPrice(detailForm.value.id, false) - if (detailForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '车库灯箱') garageLightBoxRef.value.getMediaPrice(detailForm.value.id, false) + if (detailForm.value.dataScopeDeptName == '优势媒体事业部' && competitiveOfferRef.value) competitiveOfferRef.value.getMediaPrice(detailForm.value.id, false) + if (detailForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '门禁') accessControlPriceRef.value.getMediaPrice(detailForm.value.id, false) + if (detailForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '候车厅') waitingHallPriceRef.value.getMediaPrice(detailForm.value.id, false) + if (detailForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '道闸') barrierGatePriceRef.value.getMediaPrice(detailForm.value.id, false) + if (detailForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '地铁') subwayPriceRef.value.getMediaPrice(detailForm.value.id, false) + if (detailForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '高铁') highSpeedRailwayRef.value.getMediaPrice(detailForm.value.id, false) + if (detailForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '写字楼') officeBuildingRef.value.getMediaPrice(detailForm.value.id, false) + if (detailForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '车库灯箱') garageLightBoxRef.value.getMediaPrice(detailForm.value.id, false) } const getMediaInfo = () => { showClose.value = true diff --git a/src/views/mediaLibrary/mediaForm.vue b/src/views/mediaLibrary/mediaForm.vue index cfd6166..971d6c0 100644 --- a/src/views/mediaLibrary/mediaForm.vue +++ b/src/views/mediaLibrary/mediaForm.vue @@ -95,7 +95,7 @@ - + - + @@ -221,7 +221,7 @@ - + @@ -240,11 +240,11 @@ -
+
-
+
- + - + @@ -361,7 +361,7 @@ - + @@ -385,7 +385,7 @@ - + - + - + - + - + - + @@ -508,35 +508,35 @@ - + - + - + - + - + { ruleForm.value.dataScopeDeptId = choseDep?.deptId ruleForm.value.dataScopeDeptName = choseDep?.deptName nextTick(() => { - if (ruleForm.value.dataScopeDeptName == '优势媒体部' && competitiveOfferRef.value) competitiveOfferRef.value.getMediaPrice(ruleForm.value.id, true) - if (ruleForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '门禁') accessControlPriceRef.value.getMediaPrice(ruleForm.value.id, true) - if (ruleForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '候车厅') waitingHallPriceRef.value.getMediaPrice(ruleForm.value.id, true) - if (ruleForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '道闸') barrierGatePriceRef.value.getMediaPrice(ruleForm.value.id, true) - if (ruleForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '地铁') subwayPriceRef.value.getMediaPrice(ruleForm.value.id, true) - if (ruleForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '高铁') highSpeedRailwayRef.value.getMediaPrice(ruleForm.value.id, true) - if (ruleForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '写字楼') officeBuildingRef.value.getMediaPrice(ruleForm.value.id, true) - if (ruleForm.value.dataScopeDeptName == '网络媒体部' && activePriceType.value == '车库灯箱') garageLightBoxRef.value.getMediaPrice(ruleForm.value.id, true) + if (ruleForm.value.dataScopeDeptName == '优势媒体事业部' && competitiveOfferRef.value) competitiveOfferRef.value.getMediaPrice(ruleForm.value.id, true) + if (ruleForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '门禁') accessControlPriceRef.value.getMediaPrice(ruleForm.value.id, true) + if (ruleForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '候车厅') waitingHallPriceRef.value.getMediaPrice(ruleForm.value.id, true) + if (ruleForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '道闸') barrierGatePriceRef.value.getMediaPrice(ruleForm.value.id, true) + if (ruleForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '地铁') subwayPriceRef.value.getMediaPrice(ruleForm.value.id, true) + if (ruleForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '高铁') highSpeedRailwayRef.value.getMediaPrice(ruleForm.value.id, true) + if (ruleForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '写字楼') officeBuildingRef.value.getMediaPrice(ruleForm.value.id, true) + if (ruleForm.value.dataScopeDeptName == '网络媒体事业部' && activePriceType.value == '车库灯箱') garageLightBoxRef.value.getMediaPrice(ruleForm.value.id, true) // 批文文件-1,独家授权文件-2,媒体行业授权文件-3,媒体归属附件-4,曾经媒体照片-5,图片上传-6,视频上传-7,盖章刊例-8, 资质文件-9, 媒体链条-10, 刊例照片-11,MR和制作要求-12 if (approvalDocumentRef.value) approvalDocumentRef.value._fileType = 1; if (exclusiveLicenseFileRef.value) exclusiveLicenseFileRef.value._fileType = 2; @@ -996,10 +996,10 @@ const handleSetCompetOfferMediaPrice = (mediaType, _priceList) => { const handleSubmit = () => { proxy.$refs["ruleFormRef"].validate(valid => { if (valid) { - if (ruleForm.value.dataScopeDeptName == '优势媒体部') { + if (ruleForm.value.dataScopeDeptName == '优势媒体事业部') { mediaFile.value = mediaFile.value.filter(item => [1, 2, 3, 5, 6, 7, 8, 9, 10, 11].includes(item.fileType)) ruleForm.value.mediaPrice = mediaPrice.value.filter(item => item.mediaType == 0) - } else if (ruleForm.value.dataScopeDeptName == '网络媒体部') { + } else if (ruleForm.value.dataScopeDeptName == '网络媒体事业部') { mediaFile.value = mediaFile.value.filter(item => [4, 5, 6, 7, 12].includes(item.fileType)) ruleForm.value.mediaPrice = mediaPrice.value.filter(item => [1, 2, 3, 4, 5, 6, 7].includes(item.mediaType)) } diff --git a/src/views/mediaTool/calibrationIndex.vue b/src/views/mediaTool/calibrationIndex.vue index f0c0638..7e88dd2 100644 --- a/src/views/mediaTool/calibrationIndex.vue +++ b/src/views/mediaTool/calibrationIndex.vue @@ -409,7 +409,7 @@ const requestDocUpload = (options) => { var formData = new FormData(); formData.append('file', file); formData.append('dataScopeDeptId', 219); - formData.append('dataScopeDeptName', '网络媒体部'); + formData.append('dataScopeDeptName', '网络媒体事业部'); proxy.$modal.loading('正在上传文件,请耐心等待...') calibraTionImport(formData).then(res => { proxy.$modal.msgSuccess("上传成功")