diff --git a/.env.development b/.env.development index b50304d..321b6f9 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统 ENV = 'development' # 金鸡湖现代服务业品牌管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.0.106:9040' +VUE_APP_BASE_API = 'http://192.168.0.108:9040' # VUE_APP_BASE_API = 'http://39.101.188.84:9040' # VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' diff --git a/package.json b/package.json index 70f0ec4..c6996e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202407181334", + "version": "1.0.202407191025", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/views/dataCloudMap/components/honorDialog.vue b/src/views/dataCloudMap/components/honorDialog.vue index 2ddf8ee..7ac9e9b 100644 --- a/src/views/dataCloudMap/components/honorDialog.vue +++ b/src/views/dataCloudMap/components/honorDialog.vue @@ -77,22 +77,47 @@ export default { }, // 大类数量点击 bigNumber(row){ - + if(row.count1 == 0) { + return; + } else { + this.$router.push({ + name: 'Project', + params: { projectBigType: row.projectBigType } + }) + } }, // 中类数量点击 middleNumber(row){ - + if(row.count2 == 0) { + return; + } else { + this.$router.push({ + name: 'Project', + params: { projectBigType: row.projectBigType, projectMiddleType: row.projectMiddleType } + }) + } }, // 小类数量点击 smallNumber(row){ - + if(row.count3 == 0) { + return; + } else { + this.$router.push({ + name: 'Project', + params: {projectBigType: row.projectBigType, projectMiddleType: row.projectMiddleType, projectSmallType: row.projectSmallType } + }) + } }, // 2024年新增数量点击 YrarNumber(row){ - this.$router.push({ - name: 'Project', - params: { projectYear: 2024, projectBigType: row.projectBigType, projectMiddleType: row.projectMiddleType, projectSmallType: row.projectSmallType } - }) + if(row.currentYearAdd == 0) { + return; + } else { + this.$router.push({ + name: 'Project', + params: { projectYear: 2024, projectBigType: row.projectBigType, projectMiddleType: row.projectMiddleType, projectSmallType: row.projectSmallType } + }) + } }, objectSpanMethod({ row, column, rowIndex, columnIndex }) { if (row.mergeCell.includes(column.property)) { diff --git a/src/views/home/index.vue b/src/views/home/index.vue new file mode 100644 index 0000000..0cd5cb8 --- /dev/null +++ b/src/views/home/index.vue @@ -0,0 +1,333 @@ + + + diff --git a/src/views/intelligentReminder/index.vue b/src/views/intelligentReminder/index.vue index 90b057e..8b5004b 100644 --- a/src/views/intelligentReminder/index.vue +++ b/src/views/intelligentReminder/index.vue @@ -192,7 +192,7 @@ export default { data() { let validateTime = (rule, value, callback) => { if (new Date(value) < new Date()) { - callback(new Error('选择结束时间需大于当前时间')) + callback(new Error('选择时间需大于当前时间')) } else { callback() } diff --git a/src/views/project/index.vue b/src/views/project/index.vue index d0f60e8..b65c157 100644 --- a/src/views/project/index.vue +++ b/src/views/project/index.vue @@ -347,18 +347,18 @@ export default { this.formInline.projectClassify = this.$route.params.projectId + ''; this.pagination = { ...this.pagination,...this.formInline }; } - if(this.$route.params.projectYear && this.$route.params.projectBigType && this.$route.params.projectMiddleType && this.$route.params.projectSmallType) { + if(this.$route.params.projectYear || (this.$route.params.projectBigType || this.$route.params.projectMiddleType || this.$route.params.projectSmallType)) { let arr = []; arr.push(this.$route.params.projectBigType + '') - arr.push(this.$route.params.projectMiddleType + '') - arr.push(this.$route.params.projectSmallType + '') + this.$route.params.projectMiddleType ? arr.push(this.$route.params.projectMiddleType + '') : null; + this.$route.params.projectSmallType ? arr.push(this.$route.params.projectSmallType + '') : null; this.echoCascader(arr) - this.formInline.projectYear = this.$route.params.projectYear + ''; - this.formInline.projectBigType = arr[0] - this.formInline.projectMiddleType = arr[1] - this.formInline.projectSmallType = arr[2] + this.formInline.projectYear = this.$route.params.projectYear ? this.$route.params.projectYear + '' : ''; + this.formInline.projectBigType = arr[0]; + this.formInline.projectMiddleType = arr[1] ? arr[1] : null; + this.formInline.projectSmallType = arr[2] ? arr[2] : null; this.pagination = { ...this.pagination,...this.formInline }; - this.formInline.projectClassify = arr + this.formInline.projectClassify = arr; } else { this.getDataList(); } @@ -393,15 +393,26 @@ export default { obj.value = item.dictValue; obj.label = item.dictLabel; obj.dict = item.remark; - obj.children = []; + if(!arr[1]) { + this.options.push(obj); + return; + } else { + obj.children = []; + } getAllList({dictType: item.remark}).then(resTwo=>{ resTwo.data.map((itemTwo)=>{ if(arr[1] == itemTwo.dictValue) { objTwo.value = itemTwo.dictValue; objTwo.label = itemTwo.dictLabel; objTwo.dict = itemTwo.remark; - objTwo.children = []; - obj.children.push(objTwo) + if(!arr[2]) { + obj.children.push(objTwo) + this.options.push(obj); + return; + } else { + objTwo.children = []; + obj.children.push(objTwo) + } getAllList({dictType: itemTwo.remark}).then(resThree => { resThree.data.map((itemThree)=>{ if(arr[2] == itemThree.dictValue) { @@ -479,6 +490,7 @@ export default { } clearKey(this.formInline) this.getList(); + this.getDataList(); }, // 导入按钮 importBtn(){ diff --git a/src/views/tool/build/RightPanel.vue b/src/views/tool/build/RightPanel.vue index c2760eb..9396aad 100644 --- a/src/views/tool/build/RightPanel.vue +++ b/src/views/tool/build/RightPanel.vue @@ -875,10 +875,11 @@ export default { position: absolute; right: 0; top: 0; + height: 100%; padding-top: 3px; .field-box { position: relative; - height: calc(100vh - 42px); + height: calc(100% - 42px); box-sizing: border-box; overflow: hidden; } diff --git a/src/views/tool/build/index.vue b/src/views/tool/build/index.vue index 2bd298b..fa61a4b 100644 --- a/src/views/tool/build/index.vue +++ b/src/views/tool/build/index.vue @@ -552,21 +552,21 @@ $lighterBlue: #409EFF; position: absolute; left: 0; top: 0; - height: 100vh; + height: 100%; } .left-scrollbar{ - height: calc(100vh - 42px); + height: calc(100% - 42px); overflow: hidden; } .center-scrollbar { - height: calc(100vh - 42px); + height: calc(100% - 42px); overflow: hidden; border-left: 1px solid #f1e8e8; border-right: 1px solid #f1e8e8; box-sizing: border-box; } .center-board { - height: 100vh; + height: 100%; width: auto; margin: 0 350px 0 260px; box-sizing: border-box; @@ -630,7 +630,7 @@ $lighterBlue: #409EFF; box-sizing: border-box; & > .el-form { // 69 = 12+15+42 - height: calc(100vh - 69px); + height: calc(100% - 69px); } } .drawing-board {