diff --git a/package.json b/package.json index 6bb626c..82c8025 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202408012042", + "version": "1.0.202408020854", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/views/dataCloudMap/components/headquarterEnterprise.vue b/src/views/dataCloudMap/components/headquarterEnterprise.vue index 2971c48..fdc10bc 100644 --- a/src/views/dataCloudMap/components/headquarterEnterprise.vue +++ b/src/views/dataCloudMap/components/headquarterEnterprise.vue @@ -165,13 +165,17 @@ export default { this.pagination = { ...this.pagination,...this.formInline }; this.getList(); }, - // 大类数量点击 + // 企业详情 enterpriseInfo(row){ getUserId({getCreditCode : row.tyshxydm}).then(res=>{ - this.$router.push({ - name: 'enterpriselibraryInfo', - query: { userId: res.data.id, creditCode: row.tyshxydm } - }) + if(res.data?.id) { + this.$router.push({ + name: 'enterpriselibraryInfo', + query: { userId: res.data.id, creditCode: row.tyshxydm } + }) + } else { + this.$message.error("该企业未在企业库"); + } }) }, // tab切换 diff --git a/src/views/dataCloudMap/components/serviceIndustry.vue b/src/views/dataCloudMap/components/serviceIndustry.vue index e13f08c..f59f84d 100644 --- a/src/views/dataCloudMap/components/serviceIndustry.vue +++ b/src/views/dataCloudMap/components/serviceIndustry.vue @@ -100,6 +100,11 @@ export default { }, infoClose(){ this.infoVisible = false; + this.formInline = { + qymc:"", + tyshxydm:"", + servicesType: null, + } }, getList(){ this.loading = true; @@ -140,10 +145,14 @@ export default { // 企业详情 enterpriseInfo(row){ getUserId({getCreditCode : row.tyshxydm}).then(res=>{ - this.$router.push({ - name: 'enterpriselibraryInfo', - query: { userId: res.data.id, creditCode: row.tyshxydm } - }) + if(res.data?.id) { + this.$router.push({ + name: 'enterpriselibraryInfo', + query: { userId: res.data.id, creditCode: row.tyshxydm } + }) + } else { + this.$message.error("该企业未在企业库"); + } }) }, // 修改table背景色 diff --git a/src/views/onlineDeclaration/declareAddContent/ismybuild/index.vue b/src/views/onlineDeclaration/declareAddContent/ismybuild/index.vue index 45624f6..ab25f0d 100644 --- a/src/views/onlineDeclaration/declareAddContent/ismybuild/index.vue +++ b/src/views/onlineDeclaration/declareAddContent/ismybuild/index.vue @@ -388,6 +388,15 @@ export default {