d2bcb2fa by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 40d0112d 613661b1
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 13:36:44 4 * @LastEditTime: 2023-05-16 13:36:44
5 */ 5 */
...@@ -8,3 +8,16 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap ...@@ -8,3 +8,16 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap
8 export function uploadUrl () { 8 export function uploadUrl () {
9 return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' 9 return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload'
10 } 10 }
11
12 /**
13 * @description: 上传单个文件
14 * @param {*} data
15 * @author: renchao
16 */
17 export function upload (data) {
18 return request({
19 url: SERVER.SERVERAPI + '/rest/file/upload',
20 method: 'post',
21 data
22 })
23 }
......
1 /*
2 * @Description: 申请登记业务规则
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 16:02:32
5 */
6
7 import request from '@/utils/request'
8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
9
10 /**
11 * @description: 申请业务规则API-根据条件进行列表查询
12 * @param {*} data
13 * @author: renchao
14 */
15 export function getSysSqdjywBysearch (data) {
16 return request({
17 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSysSqdjywBysearch',
18 method: 'post',
19 data
20 })
21 }
22
23 /**
24 * @description: 获取登记类型信息-申请业务规则
25 * @param {*} id
26 * @author: renchao
27 */
28 export function getDjlxInfo (id) {
29 return request({
30 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getDjlxInfo?parentid=' + id,
31 method: 'post'
32 })
33 }
34
35 /**
36 * @description: 获取登记类型信息-申请业务规则
37 * @param {*} id
38 * @author: renchao
39 */
40 export function getQllxByBsmSqyw (id) {
41 return request({
42 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw=' + id,
43 method: 'post'
44 })
45 }
46
47
48 /**
49 * @description: 读取申请登记业务信息-申请业务规则
50 * @param {*} bsmSqyw
51 * @author: renchao
52 */
53 export function getSqdjywDetail (bsmSqyw) {
54 return request({
55 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSqdjywDetail?bsmSqyw=' + bsmSqyw,
56 method: 'get'
57 })
58 }
59 /**
60 * @description: 保存登记业务信息-申请业务规则
61 * @param {*} data
62 * @author: renchao
63 */
64 export function saveSqdjyw (data) {
65 return request({
66 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/saveSqdjyw',
67 method: 'post',
68 data
69 })
70 }
...@@ -8,82 +8,6 @@ import request from '@/utils/request' ...@@ -8,82 +8,6 @@ import request from '@/utils/request'
8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
9 9
10 /** 10 /**
11 * @description: 上传单个文件
12 * @param {*} data
13 * @author: renchao
14 */
15 export function upload (data) {
16 return request({
17 url: SERVER.SERVERAPI + '/rest/file/upload',
18 method: 'post',
19 data
20 })
21 }
22
23 /**
24 * @description: 申请业务规则API-根据条件进行列表查询
25 * @param {*} data
26 * @author: renchao
27 */
28 export function getSysSqdjywBysearch (data) {
29 return request({
30 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSysSqdjywBysearch',
31 method: 'post',
32 data
33 })
34 }
35
36 /**
37 * @description: 获取登记类型信息-申请业务规则
38 * @param {*} id
39 * @author: renchao
40 */
41 export function getDjlxInfo (id) {
42 return request({
43 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getDjlxInfo?parentid=' + id,
44 method: 'post'
45 })
46 }
47
48 /**
49 * @description: 获取登记类型信息-申请业务规则
50 * @param {*} id
51 * @author: renchao
52 */
53 export function getQllxByBsmSqyw (id) {
54 return request({
55 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw=' + id,
56 method: 'post'
57 })
58 }
59
60
61 /**
62 * @description: 读取申请登记业务信息-申请业务规则
63 * @param {*} bsmSqyw
64 * @author: renchao
65 */
66 export function getSqdjywDetail (bsmSqyw) {
67 return request({
68 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSqdjywDetail?bsmSqyw=' + bsmSqyw,
69 method: 'get'
70 })
71 }
72 /**
73 * @description: 保存登记业务信息-申请业务规则
74 * @param {*} data
75 * @author: renchao
76 */
77 export function saveSqdjyw (data) {
78 return request({
79 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/saveSqdjyw',
80 method: 'post',
81 data
82 })
83 }
84
85
86 /**
87 * @description: 其他及附记模板-列表详情 11 * @description: 其他及附记模板-列表详情
88 * @param {*} data 12 * @param {*} data
89 * @author: renchao 13 * @author: renchao
...@@ -148,7 +72,7 @@ export function updateSysNotice (data) { ...@@ -148,7 +72,7 @@ export function updateSysNotice (data) {
148 72
149 // 获取通知列表 73 // 获取通知列表
150 /** 74 /**
151 * @description: 75 * @description:
152 * @param {*} data 76 * @param {*} data
153 * @author: renchao 77 * @author: renchao
154 */ 78 */
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
26 26
27 <script> 27 <script>
28 import { addSysNotice } from "@/api/system.js" 28 import { addSysNotice } from "@/api/system.js"
29 import { upload } from "@/api/system.js" 29 import { upload } from "@/api/file.js"
30 export default { 30 export default {
31 props: { 31 props: {
32 value: { type: Boolean, default: false }, 32 value: { type: Boolean, default: false },
...@@ -93,4 +93,4 @@ export default { ...@@ -93,4 +93,4 @@ export default {
93 </script> 93 </script>
94 <style scoped lang="scss"> 94 <style scoped lang="scss">
95 95
96 </style>
...\ No newline at end of file ...\ No newline at end of file
96 </style>
......
...@@ -127,7 +127,7 @@ import { uploadUrl } from '@/api/file' ...@@ -127,7 +127,7 @@ import { uploadUrl } from '@/api/file'
127 import djqxsd from './djqxsd.vue' 127 import djqxsd from './djqxsd.vue'
128 import clgzsd from './clgzsd.vue' 128 import clgzsd from './clgzsd.vue'
129 import dyztsd from './dyztsd.vue' 129 import dyztsd from './dyztsd.vue'
130 import { getSqdjywDetail, saveSqdjyw } from '@/api/system' 130 import { getSqdjywDetail, saveSqdjyw } from '@/api/sysSqdjyw'
131 export default { 131 export default {
132 components: { 132 components: {
133 djqxsd, 133 djqxsd,
......
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
136 <script> 136 <script>
137 import { uploadUrl } from '@/api/file' 137 import { uploadUrl } from '@/api/file'
138 import { upward, down } from "@/utils/operation"; 138 import { upward, down } from "@/utils/operation";
139 import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/system.js"; 139 import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/sysSqdjyw.js";
140 import { datas, sendThis } from "./sqywDetail"; 140 import { datas, sendThis } from "./sqywDetail";
141 export default { 141 export default {
142 name: "componentDialog", 142 name: "componentDialog",
......
...@@ -40,7 +40,7 @@ import table from "@/utils/mixin/table"; ...@@ -40,7 +40,7 @@ import table from "@/utils/mixin/table";
40 import editDialog from "./components/editDialog.vue"; 40 import editDialog from "./components/editDialog.vue";
41 import componentDialog from "./sqywDetail.vue"; 41 import componentDialog from "./sqywDetail.vue";
42 import { datas, sendThis } from "./sqywgzdata"; 42 import { datas, sendThis } from "./sqywgzdata";
43 import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/system.js"; 43 import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/sysSqdjyw.js";
44 export default { 44 export default {
45 name: "djbcx", 45 name: "djbcx",
46 components: { 46 components: {
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
55 </template> 55 </template>
56 <script> 56 <script>
57 import { addSysNotice, updateSysNotice } from "@/api/system.js"; 57 import { addSysNotice, updateSysNotice } from "@/api/system.js";
58 import { upload } from "@/api/system.js"; 58 import { upload } from "@/api/file.js";
59 import { quillEditor } from "vue-quill-editor"; 59 import { quillEditor } from "vue-quill-editor";
60 export default { 60 export default {
61 props: { 61 props: {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-13 15:26:40 4 * @LastEditTime: 2023-07-13 15:26:40
5 --> 5 -->
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
68 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 68 import { defaultParameters } from "../javascript/publicDefaultPar.js";
69 import { selectQlxx } from "@/api/ywbl.js"; 69 import { selectQlxx } from "@/api/ywbl.js";
70 import { startBusinessFlow } from "@/api/workFlow.js"; 70 import { startBusinessFlow } from "@/api/workFlow.js";
71 import { getQllxByBsmSqyw } from "@/api/system.js"; 71 import { getQllxByBsmSqyw } from "@/api/sysSqdjyw.js";
72 export default { 72 export default {
73 mixins: [table, jump], 73 mixins: [table, jump],
74 props: { 74 props: {
......