Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
04556b04
Commit
04556b04
authored
Mar 23, 2022
by
乔延琦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop-zhouyi' into 'develop'
Develop zhouyi See merge request GFP/RBC/rbc-frontend!122
parents
67ff4697
22e70ecb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
14 deletions
+22
-14
leafletGenerationTYAction.js
...billexpand/src/query-actions/leafletGenerationTYAction.js
+2
-1
summaryGenerationTYAction.js
...billexpand/src/query-actions/summaryGenerationTYAction.js
+2
-1
index.vue
develop/@rbc/rbc-login/src/views/login/index.vue
+6
-8
bill-form-runner.vue
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
+12
-4
No files found.
develop/@gms/gms-plugin-billexpand/src/query-actions/leafletGenerationTYAction.js
View file @
04556b04
...
@@ -72,9 +72,10 @@ export default {
...
@@ -72,9 +72,10 @@ export default {
})
})
},
},
searchBillObj
(
billDefine
,
billId
,
index
)
{
searchBillObj
(
billDefine
,
billId
,
index
)
{
!
billDefine
.
startsWith
(
'bill.'
)
&&
(
billDefine
=
'bill.'
+
billDefine
)
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
GMS
.
$http
.
get
(
GMS
.
$http
.
get
(
`/gms/bill/
bill.
${
billDefine
}
/
${
billId
}
?withSubs=true`
`/gms/bill/
${
billDefine
}
/
${
billId
}
?withSubs=true`
).
then
((
data
)
=>
{
).
then
((
data
)
=>
{
if
(
data
.
status
==
200
&&
data
.
data
.
code
==
0
)
{
if
(
data
.
status
==
200
&&
data
.
data
.
code
==
0
)
{
let
obj
=
data
.
data
.
content
let
obj
=
data
.
data
.
content
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/summaryGenerationTYAction.js
View file @
04556b04
...
@@ -72,9 +72,10 @@ export default {
...
@@ -72,9 +72,10 @@ export default {
})
})
},
},
searchBillObj
(
billDefine
,
billId
,
index
)
{
searchBillObj
(
billDefine
,
billId
,
index
)
{
!
billDefine
.
startsWith
(
'bill.'
)
&&
(
billDefine
=
'bill.'
+
billDefine
)
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
GMS
.
$http
.
get
(
GMS
.
$http
.
get
(
`/gms/bill/
bill.
${
billDefine
}
/
${
billId
}
?withSubs=true`
`/gms/bill/
${
billDefine
}
/
${
billId
}
?withSubs=true`
).
then
((
data
)
=>
{
).
then
((
data
)
=>
{
if
(
data
.
status
==
200
&&
data
.
data
.
code
==
0
)
{
if
(
data
.
status
==
200
&&
data
.
data
.
code
==
0
)
{
let
obj
=
data
.
data
.
content
let
obj
=
data
.
data
.
content
...
...
develop/@rbc/rbc-login/src/views/login/index.vue
View file @
04556b04
...
@@ -117,7 +117,6 @@ export default {
...
@@ -117,7 +117,6 @@ export default {
titleColor
:
'black'
,
titleColor
:
'black'
,
Image
:
""
,
Image
:
""
,
imgLoading
:
0
,
imgLoading
:
0
,
checkLogin
:
window
.
osConfig
.
isDevelop
?
false
:
true
,
// 默认当作已经登录了,因为已经登录的时候不能再进登录页
userData
:
{
userData
:
{
username
:
""
,
username
:
""
,
password
:
""
,
password
:
""
,
...
@@ -163,12 +162,15 @@ export default {
...
@@ -163,12 +162,15 @@ export default {
mounted
()
{
mounted
()
{
if
(
!
window
.
osConfig
.
isDevelop
)
{
if
(
!
window
.
osConfig
.
isDevelop
)
{
window
.
GMS
.
util
.
nvwa
.
checkLogin
().
then
(()
=>
{
window
.
GMS
.
util
.
nvwa
.
checkLogin
().
then
(()
=>
{
this
.
checkLogin
=
true
const
url
=
new
URL
(
window
.
location
.
href
)
this
.
$Message
.
error
(
'您已登录,请先注销'
)
url
.
searchParams
.
delete
(
'nvwasys'
)
sessionStorage
.
clear
()
window
.
location
.
href
=
url
.
origin
return
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
checkLogin
=
false
})
})
}
}
document
.
addEventListener
(
'keyup'
,
this
.
onKeyUp
)
document
.
addEventListener
(
'keyup'
,
this
.
onKeyUp
)
this
.
getVerificationCode
();
this
.
getVerificationCode
();
},
},
...
@@ -238,10 +240,6 @@ export default {
...
@@ -238,10 +240,6 @@ export default {
},
},
submit
()
{
submit
()
{
if
(
this
.
checkLogin
)
{
this
.
$Message
.
error
(
'您已登录,请先注销'
)
return
}
this
.
$refs
[
"userData"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"userData"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
loginLoading
=
true
;
this
.
loginLoading
=
true
;
...
...
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
View file @
04556b04
...
@@ -33,7 +33,8 @@ export default {
...
@@ -33,7 +33,8 @@ export default {
templateName
:
""
,
templateName
:
""
,
init
:
true
,
init
:
true
,
curTagId
:
null
,
curTagId
:
null
,
hideButtonGroup
:
false
hideButtonGroup
:
false
,
forceClose
:
false
,
};
};
},
},
created
()
{
created
()
{
...
@@ -86,7 +87,7 @@ export default {
...
@@ -86,7 +87,7 @@ export default {
});
});
},
},
checkBillChange
(
cb
,
id
)
{
checkBillChange
(
cb
,
id
)
{
if
(
id
!=
this
.
curTagId
)
{
if
(
id
!=
this
.
curTagId
||
this
.
forceClose
)
{
cb
(
true
)
cb
(
true
)
return
return
}
}
...
@@ -108,7 +109,15 @@ export default {
...
@@ -108,7 +109,15 @@ export default {
});
});
}
}
},
},
loadFinishFun
(
bill
)
{
loadFinishFun
(
bill
,
err
)
{
if
(
!
GMS
.
oldBillDataMap
)
GMS
.
oldBillDataMap
=
{}
if
(
err
)
{
setTimeout
(()
=>
{
this
.
forceClose
=
true
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
'entry-tag-close'
,
nros
.
getCurrTag
())
},
0
);
return
}
this
.
curBill
=
bill
;
this
.
curBill
=
bill
;
const
billState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
const
billState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
let
readArr
=
this
.
templateName
.
endsWith
(
'_A'
)?[
92
]:[
90
,
92
];
//如果是审批界面话,90能编辑
let
readArr
=
this
.
templateName
.
endsWith
(
'_A'
)?[
92
]:[
90
,
92
];
//如果是审批界面话,90能编辑
...
@@ -121,7 +130,6 @@ export default {
...
@@ -121,7 +130,6 @@ export default {
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
GMS
.
oldBillData
=
bill
.
getBuillData
();
GMS
.
oldBillData
=
bill
.
getBuillData
();
if
(
!
GMS
.
oldBillDataMap
)
GMS
.
oldBillDataMap
=
{}
GMS
.
oldBillDataMap
[
this
.
curTagId
]
=
bill
.
getBuillData
()
GMS
.
oldBillDataMap
[
this
.
curTagId
]
=
bill
.
getBuillData
()
},
100
);
},
100
);
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment