diff --git a/.env.development b/.env.development index 302ecd1..dfee56f 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 若依管理系统 ENV = 'development' # 若依管理系统/开发环境 -VUE_APP_BASE_API = '/dev-api' +VUE_APP_BASE_API = '/API' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index b4893b0..25b1a43 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 调解系统 # 生产环境配置 ENV = 'production' diff --git a/.env.staging b/.env.staging index 361859f..68b22dc 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 调解系统 NODE_ENV = production @@ -7,4 +7,4 @@ NODE_ENV = production ENV = 'staging' # 若依管理系统/测试环境 -VUE_APP_BASE_API = '/stage-api' +VUE_APP_BASE_API = '/API' diff --git a/package.json b/package.json index 206c59e..f23bd8d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi", "version": "3.8.6", - "description": "若依管理系统", + "description": "调解系统", "author": "若依", "license": "MIT", "scripts": { diff --git a/public/favicon.ico b/public/favicon.ico index e263760..7d451c6 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/officialSeal/officialSeal.js b/src/api/officialSeal/officialSeal.js new file mode 100644 index 0000000..30f43af --- /dev/null +++ b/src/api/officialSeal/officialSeal.js @@ -0,0 +1,203 @@ +import request from '@/utils/request' + +// 查询邮件列表 +export function deptIdentifyList(data) { + return request({ + url: '/deptIdentify/list', + method: 'get', + params: data + }) +} +// 是否启用 +export function enableDept(data) { + return request({ + url: '/deptIdentify/enableDept', + method: 'post', + data: data + }) +} + +// 认证 +export function selectDeptIndefiUrl(data) { + return request({ + url: 'deptIdentify/selectDeptIndefiUrl', + method: 'post', + data: data + }) +} +// 新增机构 +export function insert(data) { + return request({ + url: '/deptIdentify/insert', + method: 'post', + data: data + }) +} +// 查询公章列表 +export function sealList(data) { + return request({ + url: '/deptIdentify/sealList', + method: 'get', + params: data + }) +} +// 启用或者禁用公章 +export function updateSealLockStatus(data) { + return request({ + url: '/deptIdentify/updateSealLockStatus', + method: 'post', + data: data + }) +} +// 删除未认证的数据 +export function deleteSeal(data) { + return request({ + url: '/deptIdentify/delete', + method: 'delete', + params: data + }) +} +// 修改机构信息 +export function sealUpdate(data) { + return request({ + url: '/deptIdentify/update', + method: 'put', + data: data + }) +} +// 新增模板 +export function insertTemplate(data) { + return request({ + url: '/deptIdentify/insertTemplate', + method: 'post', + data: data + }) +} +// 修改模板 +export function updateTemplate(data) { + return request({ + url: '/deptIdentify/updateTemplate', + method: 'post', + params: data + }) +} +// 删除模板 +export function deleteTemplate(data) { + return request({ + url: '/deptIdentify/deleteTemplate', + method: 'delete', + params: data + }) +} +// 根据机构id查询模板 +export function getTemplate(data) { + return request({ + url: '/deptIdentify/getTemplate', + method: 'get', + params: data + }) +} +// 查询机构下的经办人 +export function selectPostUserByDeptId(data) { + return request({ + url: '/deptIdentify/selectPostUserByDeptId', + method: 'get', + params: data + }) +} +// 机构绑定经办人 +export function bindHandler(data) { + return request({ + url: '/deptIdentify/bindHandler', + method: 'get', + params: data + }) +} +// 查询模板 +export function getManagerList(data) { + return request({ + url: '/template/list', + method: 'get', + params: data + }) +} +// 案件编号查新模板 +export function caseNumRuleList(data) { + return request({ + url: '/caseNumRule/list', + method: 'get', + params: data + }) +} +// 新增模板 +export function insertManager(data) { + return request({ + url: '/template/insert', + method: 'post', + data: data + }) +} +// 案件编号新增 +export function insertCaseNumRule(data) { + return request({ + url: '/caseNumRule/insertCaseNumRule', + method: 'post', + data: data + }) +} +// 删除模板 +export function deleteManager(data) { + return request({ + url: '/template/delete', + method: 'delete', + params: data + }) +} +//案件编号删除 +export function deleteCaseNumRule(data) { + return request({ + url: '/caseNumRule/deleteCaseNumRule', + method: 'post', + data: data + }) +} +// 修改模板 +export function updateManager(data) { + return request({ + url: '/template/update', + method: 'put', + data: data + }) +} +// 案件编号修改 +export function updateCaseNumRule(data) { + return request({ + url: '/caseNumRule/updateCaseNumRule', + method: 'post', + data: data + }) +} +// 查询模板id对应的设置抓取字段 +export function getFatchRuleByTemplateid(data) { + return request({ + url: '/deptIdentify/getFatchRuleByTemplateid', + method: 'post', + data: data + }) +} +// 保存抓取规则 +export function saveFatchRules(data) { + return request({ + url: '/deptIdentify/saveFatchRules', + method: 'post', + data: data + }) +} +// 模板字段列表 +export function getTemplateInfoById(data) { + return request({ + url: '/deptIdentify/getTemplateInfoById', + method: 'get', + params: data + }) +} \ No newline at end of file diff --git a/src/views/officialSeal/components/addInstitution.vue b/src/views/officialSeal/components/addInstitution.vue new file mode 100644 index 0000000..2becad4 --- /dev/null +++ b/src/views/officialSeal/components/addInstitution.vue @@ -0,0 +1,124 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/addManager.vue b/src/views/officialSeal/components/addManager.vue new file mode 100644 index 0000000..d9396b6 --- /dev/null +++ b/src/views/officialSeal/components/addManager.vue @@ -0,0 +1,94 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/addTemplate.vue b/src/views/officialSeal/components/addTemplate.vue new file mode 100644 index 0000000..ef11b15 --- /dev/null +++ b/src/views/officialSeal/components/addTemplate.vue @@ -0,0 +1,123 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/editManager.vue b/src/views/officialSeal/components/editManager.vue new file mode 100644 index 0000000..cf7db0b --- /dev/null +++ b/src/views/officialSeal/components/editManager.vue @@ -0,0 +1,90 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/editTemplate.vue b/src/views/officialSeal/components/editTemplate.vue new file mode 100644 index 0000000..e96acc5 --- /dev/null +++ b/src/views/officialSeal/components/editTemplate.vue @@ -0,0 +1,127 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/eidtInstitution.vue b/src/views/officialSeal/components/eidtInstitution.vue new file mode 100644 index 0000000..e401c82 --- /dev/null +++ b/src/views/officialSeal/components/eidtInstitution.vue @@ -0,0 +1,112 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/grabRules.vue b/src/views/officialSeal/components/grabRules.vue new file mode 100644 index 0000000..c727b99 --- /dev/null +++ b/src/views/officialSeal/components/grabRules.vue @@ -0,0 +1,288 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/sealManage.vue b/src/views/officialSeal/components/sealManage.vue new file mode 100644 index 0000000..037da7a --- /dev/null +++ b/src/views/officialSeal/components/sealManage.vue @@ -0,0 +1,117 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/temmplateList.vue b/src/views/officialSeal/components/temmplateList.vue new file mode 100644 index 0000000..13696c1 --- /dev/null +++ b/src/views/officialSeal/components/temmplateList.vue @@ -0,0 +1,58 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/uploadSeal.vue b/src/views/officialSeal/components/uploadSeal.vue new file mode 100644 index 0000000..56e2c15 --- /dev/null +++ b/src/views/officialSeal/components/uploadSeal.vue @@ -0,0 +1,128 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/officialSealList.vue b/src/views/officialSeal/officialSealList.vue new file mode 100644 index 0000000..fdc6e51 --- /dev/null +++ b/src/views/officialSeal/officialSealList.vue @@ -0,0 +1,280 @@ + + + + + \ No newline at end of file diff --git a/src/views/officialSeal/templateManagement.vue b/src/views/officialSeal/templateManagement.vue new file mode 100644 index 0000000..c100181 --- /dev/null +++ b/src/views/officialSeal/templateManagement.vue @@ -0,0 +1,182 @@ + + + + + \ No newline at end of file diff --git a/src/views/officialSeal/templateManager.vue b/src/views/officialSeal/templateManager.vue new file mode 100644 index 0000000..f560b1e --- /dev/null +++ b/src/views/officialSeal/templateManager.vue @@ -0,0 +1,140 @@ + + + + + \ No newline at end of file diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index e502b4e..0b1c637 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -2,21 +2,12 @@
- + - + @@ -27,40 +18,22 @@ - 新增 + 新增 - 展开/折叠 + 展开/折叠 - + @@ -70,28 +43,12 @@ @@ -100,7 +57,12 @@ - + + @@ -136,14 +98,26 @@ + + + + + + + + + + + - {{dict.label}} + {{ dict.label + }} @@ -168,6 +142,7 @@ export default { components: { Treeselect }, data() { return { + flag: false, // 遮罩层 loading: true, // 显示搜索条件 @@ -199,6 +174,9 @@ export default { deptName: [ { required: true, message: "部门名称不能为空", trigger: "blur" } ], + deptType: [ + { required: true, message: "部门类型不能为空", trigger: "blur" } + ], orderNum: [ { required: true, message: "显示排序不能为空", trigger: "blur" } ], @@ -216,7 +194,14 @@ export default { trigger: "blur" } ] - } + }, + options: [{ + value: 1, + label: '仲裁机构' + }, { + value: 2, + label: '金融公司' + },], }; }, created() { @@ -272,6 +257,12 @@ export default { }, /** 新增按钮操作 */ handleAdd(row) { + console.log(row, "LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL"); + if (row == 1) { + this.flag = false; + } else { + this.flag = true; + } this.reset(); if (row != undefined) { this.form.parentId = row.deptId; @@ -307,7 +298,7 @@ export default { }); }, /** 提交按钮 */ - submitForm: function() { + submitForm: function () { this.$refs["form"].validate(valid => { if (valid) { if (this.form.deptId != undefined) { @@ -328,12 +319,12 @@ export default { }, /** 删除按钮操作 */ handleDelete(row) { - this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function() { + this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function () { return delDept(row.deptId); }).then(() => { this.getList(); this.$modal.msgSuccess("删除成功"); - }).catch(() => {}); + }).catch(() => { }); } } }; diff --git a/vue.config.js b/vue.config.js index f0cff54..0d2057d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,10 +7,16 @@ function resolve(dir) { const CompressionPlugin = require('compression-webpack-plugin') -const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题 +const name = process.env.VUE_APP_TITLE || '调解系统' // 网页标题 const port = process.env.port || process.env.npm_config_port || 80 // 端口 +// const API = 'http://121.40.189.20:9001' //生产 +const API = 'http://121.40.189.20:6001' //测试 +// const API = 'http://192.168.3.18:8001' //B +// const API = 'http://192.168.3.77:9001' //Q + + // vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions // 这里只列一部分,具体配置参考文档 @@ -35,7 +41,7 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8080`, + target: API, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''