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
00bcc35b
authored
2022-11-01 18:02:40 +0800
by
夏齐
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首次登记和注销登记代码优化
1 parent
16a1288b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
17 deletions
src/api/fwsyqFlow.js
src/views/workflow/flowform.js
src/views/ywbl/fdcq2/slxx.vue
src/api/fwsyqFlow.js
View file @
00bcc35
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
// 初始化内容
export
function
Init
(
data
)
{
export
function
Init
(
data
)
{
let
apiUrl
=
""
;
switch
(
data
.
get
(
"djlx"
))
{
case
"100"
:
apiUrl
=
"
/ywbl/fdcq2lr/fristInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest
/ywbl/fdcq2lr/fristInit"
;
break
;
case
"200"
:
apiUrl
=
"
/ywbl/fdcq2lr/transferInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest
/ywbl/fdcq2lr/transferInit"
;
break
;
case
"300"
:
apiUrl
=
"
/ywbl/fdcq2lr/changeInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest
/ywbl/fdcq2lr/changeInit"
;
break
;
case
"400"
:
apiUrl
=
"
/ywbl/fdcq2lr/logoutInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest
/ywbl/fdcq2lr/logoutInit"
;
break
;
case
"500"
:
apiUrl
=
"
/ywbl/fdcq2lr/riviseInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest
/ywbl/fdcq2lr/riviseInit"
;
break
;
case
"901"
:
apiUrl
=
"
/ywbl/fdcq2lr/renewalInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest
/ywbl/fdcq2lr/renewalInit"
;
break
;
case
"902"
:
apiUrl
=
"
/ywbl/fdcq2lr/replaceInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest
/ywbl/fdcq2lr/replaceInit"
;
break
;
}
return
request
({
...
...
@@ -32,11 +32,19 @@ export function Init (data) {
data
})
}
//
初始化内容
export
function
save
Data
(
data
)
{
//
注销登记提交数据
export
function
save
LogoutData
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/fdcq2lr/save
Data'
,
url
:
'/ywbl/fdcq2lr/saveLogout
Data'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
}
// 首次登记提交
export
function
saveBatchData
(
data
)
{
return
request
({
url
:
'/ywbl/fdcq2lr/saveBatchData'
,
method
:
'post'
,
data
})
}
...
...
src/views/workflow/flowform.js
View file @
00bcc35
...
...
@@ -20,9 +20,9 @@ export function getForm(tabName, djywbm) {
case
"fwsyqslxx300"
:
form
=
require
(
"@/views/ywbl/fdcq2/slxx300.vue"
);
break
;
//
case "fwsyqslxx400":
//
form = require("@/views/ywbl/fdcq2/slxx400.vue");
//
break;
case
"fwsyqslxx400"
:
form
=
require
(
"@/views/ywbl/fdcq2/slxx400.vue"
);
break
;
case
"tdslxxCfdj"
:
form
=
require
(
"@/views/ywbl/cfdj/tdslxx.vue"
);
break
;
...
...
@@ -34,10 +34,10 @@ export function getForm(tabName, djywbm) {
break
;
case
"plslxxjfdj"
:
form
=
require
(
"@/views/ywbl/cfdj/pljfslxx.vue"
);
break
;
break
;
case
"jfslxxCfdj"
:
form
=
require
(
"@/views/ywbl/cfdj/jfslxx.vue"
);
break
;
break
;
case
"clxx"
:
form
=
require
(
"@/views/workflow/components/clxx.vue"
);
break
;
...
...
src/views/ywbl/fdcq2/slxx.vue
View file @
00bcc35
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment