diff --git a/.env.development b/.env.development index b2cda0a..a45d0bd 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,8 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统 ENV = 'development' # 金鸡湖现代服务业品牌管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.0.118:9040' -# VUE_APP_BASE_API = 'http://39.101.188.84:9040' +# VUE_APP_BASE_API = 'http://192.168.0.118:9040' +VUE_APP_BASE_API = 'http://39.101.188.84:9040' # VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' # 路由懒加载 diff --git a/.env.production b/.env.production index 928897b..b1a6f2b 100644 --- a/.env.production +++ b/.env.production @@ -6,7 +6,7 @@ ENV = 'production' # 金鸡湖现代服务业品牌管理系统/生产环境 # VUE_APP_BASE_API = '/prod-api' -# VUE_APP_BASE_API = 'http://39.101.188.84:9040' +VUE_APP_BASE_API = 'http://39.101.188.84:9040' # VUE_APP_BASE_API = 'http://192.114.0.197/api' -VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' +# VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' diff --git a/package.json b/package.json index c139ea9..6bb626c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202408010854", + "version": "1.0.202408012042", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/api/workflow/model.js b/src/api/workflow/model.js new file mode 100644 index 0000000..4c9a70c --- /dev/null +++ b/src/api/workflow/model.js @@ -0,0 +1,17 @@ +import request from '@/utils/request' + +export function saveModel(data) { + return request({ + url: '/workflow/model/save', + method: 'post', + data: data + }) +} + +// 获取流程模型流程图 +export function getBpmnXml(modelId) { + return request({ + url: '/workflow/model/bpmnXml/' + modelId, + method: 'get' + }) +} \ No newline at end of file diff --git a/src/assets/styles/public.scss b/src/assets/styles/public.scss index 4d19a4f..3aaca27 100644 --- a/src/assets/styles/public.scss +++ b/src/assets/styles/public.scss @@ -2104,7 +2104,7 @@ } } } - .headline-one-header, .headline-two-header { + .headline-one-header { margin: 20px 0; font-family: AlibabaPuHuiTiM; font-size: 16px; @@ -2113,6 +2113,40 @@ font-family: ArialB; } } + .headline-two-header { + display: flex; + align-items: center; + justify-content: space-between; + margin: 20px 0; + .work-industry-condition { + display: flex; + align-items: flex-end; + .industry-condition { + font-family: AlibabaPuHuiTiM; + font-size: 16px; + color: #666666; + span { + font-family: ArialB; + } + } + .industry-condition-statistics { + font-family: AlibabaPuHuiTiR; + font-size: 12px; + color: #999999; + line-height: 18px; + } + } + .rightBtn { + font-family: PingFang-SC-Medium; + font-weight: 500; + font-size: 12px; + color: #0086FF; + font-style: normal; + cursor: pointer; + text-decoration-line: underline; + text-transform: none; + } + } } } .main-row-three-bottombox { @@ -2246,7 +2280,7 @@ // flex: 1; margin-bottom: 10px; height: 50%; - height: calc((100% - 45px) / 2); + height: calc((100% - 55px) / 2); display: flex; .capital-proportion,.capital-declare { margin-right: 10px; @@ -2342,18 +2376,17 @@ } // 企业荣誉资质 .two-tables { - flex: 1; display: grid; grid-template-columns: 1fr; row-gap: 10px; margin-top: 10px; + overflow-y: scroll; .table-items { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background-color: #fff; - overflow-y: scroll; .two-left { font-family: AlibabaPuHuiTiM; font-size: 16px; @@ -2405,7 +2438,7 @@ overflow-y: auto; display: grid; grid-template-columns: 1fr; - row-gap: 15px; + row-gap: 20px; .promoteProject-box-div { background: #FFFFFF; padding: 14px; @@ -2481,6 +2514,9 @@ border-radius: 10px; margin-bottom: 10px; padding: 10px 20px; + .main-left { + height: 100%; + } .left-header { margin-bottom: 10px; display: flex; @@ -3652,6 +3688,16 @@ text-transform: none; cursor: pointer; } + .project-trace-table-type { + font-weight: 500; + font-size: 14px; + } + .red { + color: #FD5F5F; + } + .green { + color: #4EB997; + } th { font-weight: bold; @@ -3675,6 +3721,19 @@ background-color: #F6F9FD; } } + .dataMap-work-table { + .workDialog-btns { + display: flex; + justify-content: center; + align-items: center; + .project-trace-table-number { + margin-right: 5px; + } + } + td { + border-bottom: 1px solid #D9D9D9; + } + } .my-pagination-container { margin-top: 10px; diff --git a/src/components/ProcessDesigner/index.vue b/src/components/ProcessDesigner/index.vue index 0eadee9..e1dba7a 100644 --- a/src/components/ProcessDesigner/index.vue +++ b/src/components/ProcessDesigner/index.vue @@ -48,6 +48,16 @@ export default { BpmnProcessDesigner, BmpnProcessPenal }, + // watch:{ + // bpmnXml:{ + // handler(newValue) { + // if(newValue) { + // this.xmlString = newValue; + // } + // }, + // immediate:true + // } + // }, data () { return { // height: document.documentElement.clientHeight - 94.5 + "px;", diff --git a/src/components/TreeSelect/index.vue b/src/components/TreeSelect/index.vue new file mode 100644 index 0000000..2b49c9a --- /dev/null +++ b/src/components/TreeSelect/index.vue @@ -0,0 +1,306 @@ + + + + + + + + + + + + + + + diff --git a/src/plugins/package/penal/PropertiesPanel.vue b/src/plugins/package/penal/PropertiesPanel.vue index 4d88c83..1bb5998 100644 --- a/src/plugins/package/penal/PropertiesPanel.vue +++ b/src/plugins/package/penal/PropertiesPanel.vue @@ -19,7 +19,7 @@ 任务 - + 多实例 @@ -47,7 +47,7 @@ diff --git a/src/plugins/package/penal/task/task-components/ReceiveTask.vue b/src/plugins/package/penal/task/task-components/ReceiveTask.vue new file mode 100644 index 0000000..282f238 --- /dev/null +++ b/src/plugins/package/penal/task/task-components/ReceiveTask.vue @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + 确 认 + + + + + + diff --git a/src/plugins/package/penal/task/task-components/ScriptTask.vue b/src/plugins/package/penal/task/task-components/ScriptTask.vue new file mode 100644 index 0000000..34ed9fd --- /dev/null +++ b/src/plugins/package/penal/task/task-components/ScriptTask.vue @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/plugins/package/penal/task/task-components/ServiceTask.vue b/src/plugins/package/penal/task/task-components/ServiceTask.vue new file mode 100644 index 0000000..213cad5 --- /dev/null +++ b/src/plugins/package/penal/task/task-components/ServiceTask.vue @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/plugins/package/penal/task/task-components/UserTask.vue b/src/plugins/package/penal/task/task-components/UserTask.vue new file mode 100644 index 0000000..a059589 --- /dev/null +++ b/src/plugins/package/penal/task/task-components/UserTask.vue @@ -0,0 +1,525 @@ + + + + 审批人设置 + + 指定用户 + 角色 + 部门 + 发起人 + + + + + + {{userText}} + + + 添加用户 + + + + + + + + + + + + + + + + + 多实例审批方式 + + + 无 + 会签(需所有审批人同意) + 或签(一名审批人同意即可) + + + + + + + 顺序审批: + + + + + + + + + + + + + 部门列表 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/utils/generator/config.js b/src/utils/generator/config.js index 197ad46..63f0297 100644 --- a/src/utils/generator/config.js +++ b/src/utils/generator/config.js @@ -377,7 +377,7 @@ export const selectComponents = [ label: '上传', tag: 'el-upload', tagIcon: 'upload', - action: process.env.VUE_APP_BASE_API+"/common/upload", + action: "/common/upload", defaultValue: null, labelWidth: null, disabled: false, @@ -393,9 +393,9 @@ export const selectComponents = [ multiple: false, regList: [], changeTag: true, - document: process.env.VUE_APP_BASE_API+"/common/upload", + document: "/common/upload", headers:{ - Authorization:'Bearer ' + getToken() + Authorization:"" }, } ] diff --git a/src/views/ServiceAndDevelopment/index.vue b/src/views/ServiceAndDevelopment/index.vue index d6791db..3f23398 100644 --- a/src/views/ServiceAndDevelopment/index.vue +++ b/src/views/ServiceAndDevelopment/index.vue @@ -33,10 +33,10 @@ @@ -77,12 +77,11 @@ append-to-body > - {{ infoFrom.title }} + {{ addFrom.title }} - 发布人:{{ infoFrom.createBy }} - 发布时间:{{ infoFrom.enterTime }} + 副标题:{{ addFrom.subheading }} - + - 【统计数据截至:2024-01】 + 【统计数据截至:{{ time }}】 @@ -65,9 +65,9 @@ 智能提醒 - >> 更多记录 + >> 更多记录 - + @@ -112,6 +112,9 @@ + + 暂无 + @@ -126,7 +129,7 @@ - 【{{ item.matter }}】 + 【{{ item.enterpriseDirectory }}】 {{ (item.status == 1 ? "待初审" : item.status == 2 ? "待复审" : item.status == 3 ? "待终审" : "") }} 去审批 @@ -244,7 +247,13 @@ - 02. 行业纵深情况 + + + 02. 行业纵深情况 + + 【统计数据截至:{{ time }}】 + + 查看更多数据>> @@ -284,6 +293,9 @@ {{ info.alertContent }} + + + @@ -293,7 +305,12 @@ import { selectAll, workSearch } from "@/api/jin_ji_hu/home" import { chiefAll, changeIsRead } from "@/api/jin_ji_hu/intelligentReminder" import homeIndex from "@/views/home/index.vue" import echartData from '@/views/dataCloudMap/components/echartData.vue' -import { echartDataTwo, echartDataThree, TableOne, TableTwo, TableThree, TableFour, echartDataFour, echartDataFive, TableFive, TableSix, TableSeven, TableEight } from "./components" +import { echartDataTwo, echartDataThree, + TableOne, TableTwo, TableThree, TableFour, echartDataFour, + echartDataFive, TableFive, TableSix, TableSeven, TableEight, + zhinengtixing, daibanrenwu +} from "./components" +import collectDialog from '@/views/dataCloudMap/components/collectDialog.vue' export default { dicts: ["project_small_type"], components:{ @@ -310,7 +327,10 @@ export default { TableFive, TableSix, TableSeven, - TableEight + TableEight, + collectDialog, + zhinengtixing, + daibanrenwu }, data() { return { @@ -347,19 +367,39 @@ export default { name: "按季度", }, ], + time:"", } }, mounted(){ if(this.userType == '02') { this.getList(); this.govRemind(); + this.time = this.getNowFormatDate(); } }, methods:{ + // 获取最新年月日 + getNowFormatDate() { + let date = new Date(), + year = date.getFullYear(), //获取完整的年份(4位) + month = date.getMonth() + 1, //获取当前月份(0-11,0代表1月) + strDate = date.getDate() // 获取当前日(1-31) + if (month < 10) month = `0${month}` // 如果月份是个位数,在前面补0 + if (strDate < 10) strDate = `0${strDate}` // 如果日是个位数,在前面补0 + return `${year}-${month}-${strDate}` + }, + // 行业纵深情况查看详情按钮 + industryBtn(){ + this.$refs.collectDialog.open(); + }, active(e) { this.activeIndex = e; this.$refs.echartData.getService(e); }, + // 智能提醒 + zhinengtixingBtn(){ + this.$refs.zhinengtixing.open(); + }, // 待审批 getList(){ this.loading = true; @@ -395,10 +435,11 @@ export default { // 更多记录 MoreRecords(type,status){ if(type == 'all') { - this.$router.push({ - name: 'PendingReview', - params: { approvalStatusStr: "" } - }) + // this.$router.push({ + // name: 'PendingReview', + // params: { approvalStatusStr: "" } + // }) + this.$refs.daibanrenwu.open(); } else { this.$router.push({ name: 'PendingReview', diff --git a/vue.config.js b/vue.config.js index 405310d..a7a80de 100644 --- a/vue.config.js +++ b/vue.config.js @@ -19,7 +19,7 @@ module.exports = { // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上 // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 // demo/JinJiHu - publicPath: process.env.NODE_ENV === "production" ? "./" : "/", + publicPath: process.env.NODE_ENV === "production" ? "/demo/JinJiHu" : "/", // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist) outputDir: "dist", // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)