Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9a8ca87c
authored
2023-07-14 11:05:51 +0800
by
yuanbo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
抽取sysSqdjyw.js,修改所有引用文件
1 parent
346010c9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
89 additions
and
82 deletions
src/api/file.js
src/api/sysSqdjyw.js
src/api/system.js
src/views/system/flfg/components/addDialog.vue
src/views/system/sqywgz/components/editDialog.vue
src/views/system/sqywgz/sqywDetail.vue
src/views/system/sqywgz/sqywgz.vue
src/views/system/xttz/components/addDialog.vue
src/views/ywbl/ywsq/components/selecBdcql.vue
src/api/file.js
View file @
9a8ca87
...
...
@@ -8,3 +8,16 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap
export
function
uploadUrl
()
{
return
process
.
env
.
VUE_APP_BASE_API
+
SERVER
.
SERVERAPI
+
'/file/upload'
}
/**
* @description: 上传单个文件
* @param {*} data
* @author: renchao
*/
export
function
upload
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/file/upload'
,
method
:
'post'
,
data
})
}
...
...
src/api/sysSqdjyw.js
0 → 100644
View file @
9a8ca87
/*
* @Description: 申请登记业务规则
* @Autor: renchao
* @LastEditTime: 2023-05-16 16:02:32
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/**
* @description: 申请业务规则API-根据条件进行列表查询
* @param {*} data
* @author: renchao
*/
export
function
getSysSqdjywBysearch
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getSysSqdjywBysearch'
,
method
:
'post'
,
data
})
}
/**
* @description: 获取登记类型信息-申请业务规则
* @param {*} id
* @author: renchao
*/
export
function
getDjlxInfo
(
id
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getDjlxInfo?parentid='
+
id
,
method
:
'post'
})
}
/**
* @description: 获取登记类型信息-申请业务规则
* @param {*} id
* @author: renchao
*/
export
function
getQllxByBsmSqyw
(
id
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw='
+
id
,
method
:
'post'
})
}
/**
* @description: 读取申请登记业务信息-申请业务规则
* @param {*} bsmSqyw
* @author: renchao
*/
export
function
getSqdjywDetail
(
bsmSqyw
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getSqdjywDetail?bsmSqyw='
+
bsmSqyw
,
method
:
'get'
})
}
/**
* @description: 保存登记业务信息-申请业务规则
* @param {*} data
* @author: renchao
*/
export
function
saveSqdjyw
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/saveSqdjyw'
,
method
:
'post'
,
data
})
}
src/api/system.js
View file @
9a8ca87
...
...
@@ -8,82 +8,6 @@ import request from '@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/**
* @description: 上传单个文件
* @param {*} data
* @author: renchao
*/
export
function
upload
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/file/upload'
,
method
:
'post'
,
data
})
}
/**
* @description: 申请业务规则API-根据条件进行列表查询
* @param {*} data
* @author: renchao
*/
export
function
getSysSqdjywBysearch
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getSysSqdjywBysearch'
,
method
:
'post'
,
data
})
}
/**
* @description: 获取登记类型信息-申请业务规则
* @param {*} id
* @author: renchao
*/
export
function
getDjlxInfo
(
id
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getDjlxInfo?parentid='
+
id
,
method
:
'post'
})
}
/**
* @description: 获取登记类型信息-申请业务规则
* @param {*} id
* @author: renchao
*/
export
function
getQllxByBsmSqyw
(
id
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw='
+
id
,
method
:
'post'
})
}
/**
* @description: 读取申请登记业务信息-申请业务规则
* @param {*} bsmSqyw
* @author: renchao
*/
export
function
getSqdjywDetail
(
bsmSqyw
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getSqdjywDetail?bsmSqyw='
+
bsmSqyw
,
method
:
'get'
})
}
/**
* @description: 保存登记业务信息-申请业务规则
* @param {*} data
* @author: renchao
*/
export
function
saveSqdjyw
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/saveSqdjyw'
,
method
:
'post'
,
data
})
}
/**
* @description: 其他及附记模板-列表详情
* @param {*} data
* @author: renchao
...
...
src/views/system/flfg/components/addDialog.vue
View file @
9a8ca87
...
...
@@ -26,7 +26,7 @@
<
script
>
import
{
addSysNotice
}
from
"@/api/system.js"
import
{
upload
}
from
"@/api/
system
.js"
import
{
upload
}
from
"@/api/
file
.js"
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
...
...
src/views/system/sqywgz/components/editDialog.vue
View file @
9a8ca87
...
...
@@ -127,7 +127,7 @@ import { uploadUrl } from '@/api/file'
import
djqxsd
from
'./djqxsd.vue'
import
clgzsd
from
'./clgzsd.vue'
import
dyztsd
from
'./dyztsd.vue'
import
{
getSqdjywDetail
,
saveSqdjyw
}
from
'@/api/sys
tem
'
import
{
getSqdjywDetail
,
saveSqdjyw
}
from
'@/api/sys
Sqdjyw
'
export
default
{
components
:
{
djqxsd
,
...
...
src/views/system/sqywgz/sqywDetail.vue
View file @
9a8ca87
...
...
@@ -136,7 +136,7 @@
<
script
>
import
{
uploadUrl
}
from
'@/api/file'
import
{
upward
,
down
}
from
"@/utils/operation"
;
import
{
getDjlxInfo
,
getSqdjywDetail
,
saveSqdjyw
}
from
"@/api/sys
tem
.js"
;
import
{
getDjlxInfo
,
getSqdjywDetail
,
saveSqdjyw
}
from
"@/api/sys
Sqdjyw
.js"
;
import
{
datas
,
sendThis
}
from
"./sqywDetail"
;
export
default
{
name
:
"componentDialog"
,
...
...
src/views/system/sqywgz/sqywgz.vue
View file @
9a8ca87
...
...
@@ -40,7 +40,7 @@ import table from "@/utils/mixin/table";
import
editDialog
from
"./components/editDialog.vue"
;
import
componentDialog
from
"./sqywDetail.vue"
;
import
{
datas
,
sendThis
}
from
"./sqywgzdata"
;
import
{
getSysSqdjywBysearch
,
getDjlxInfo
}
from
"@/api/sys
tem
.js"
;
import
{
getSysSqdjywBysearch
,
getDjlxInfo
}
from
"@/api/sys
Sqdjyw
.js"
;
export
default
{
name
:
"djbcx"
,
components
:
{
...
...
src/views/system/xttz/components/addDialog.vue
View file @
9a8ca87
...
...
@@ -55,7 +55,7 @@
</
template
>
<
script
>
import
{
addSysNotice
,
updateSysNotice
}
from
"@/api/system.js"
;
import
{
upload
}
from
"@/api/
system
.js"
;
import
{
upload
}
from
"@/api/
file
.js"
;
import
{
quillEditor
}
from
"vue-quill-editor"
;
export
default
{
props
:
{
...
...
src/views/ywbl/ywsq/components/selecBdcql.vue
View file @
9a8ca87
...
...
@@ -68,7 +68,7 @@
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
{
selectQlxx
}
from
"@/api/ywbl.js"
;
import
{
startBusinessFlow
}
from
"@/api/workFlow.js"
;
import
{
getQllxByBsmSqyw
}
from
"@/api/sys
tem
.js"
;
import
{
getQllxByBsmSqyw
}
from
"@/api/sys
Sqdjyw
.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
...
...
Please
register
or
sign in
to post a comment