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
81d76893
Commit
81d76893
authored
Mar 09, 2022
by
袁成
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
ssh://nvwa.jiuqi.com.cn:2222/GFP/RBC/rbc-frontend
into develop-yuancheng
parents
3efe1d6d
a699f0b0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
65 additions
and
8 deletions
+65
-8
query-runner.vue
develop/@rbc/bill-runner-query/src/views/query-runner.vue
+16
-1
bill-form-runner.vue
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
+8
-5
app.config.json
develop/@rbc/welcome-page/app.config.json
+6
-1
index.demo.js
develop/@rbc/welcome-page/index.demo.js
+6
-1
package.json
develop/@rbc/welcome-page/package.json
+1
-0
about.vue
develop/@rbc/welcome-page/src/views/about.vue
+28
-0
No files found.
develop/@rbc/bill-runner-query/src/views/query-runner.vue
View file @
81d76893
<
template
>
<
template
>
<gms-query
<gms-query
:templateName=
"config.name"
:templateName=
"config.name"
v-if=
"config.name"
v-if=
"config.name
&& visible
"
:extrCondition=
"extrCondition"
:extrCondition=
"extrCondition"
:tableHeight=
"tableHeight"
:tableHeight=
"tableHeight"
></gms-query>
></gms-query>
...
@@ -29,6 +29,7 @@ export default {
...
@@ -29,6 +29,7 @@ export default {
return
{
return
{
extrCondition
:
[],
extrCondition
:
[],
tableHeight
:
height
,
tableHeight
:
height
,
visible
:
true
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -38,6 +39,20 @@ export default {
...
@@ -38,6 +39,20 @@ export default {
if
(
GMS
.
$hideContainer
.
$route
.
query
&&
GMS
.
$hideContainer
.
$route
.
query
.
param
){
if
(
GMS
.
$hideContainer
.
$route
.
query
&&
GMS
.
$hideContainer
.
$route
.
query
.
param
){
this
.
extrCondition
=
GMS
.
$hideContainer
.
$route
.
query
.
param
.
fieldQueryRelation
;
this
.
extrCondition
=
GMS
.
$hideContainer
.
$route
.
query
.
param
.
fieldQueryRelation
;
}
}
this
.
$root
.
$on
(
'updated'
,
this
.
refresh
)
},
beforeUnmount
()
{
this
.
$root
.
$off
(
'updated'
,
this
.
refresh
)
},
methods
:
{
refresh
(
visible
)
{
if
(
visible
==
'show'
)
{
this
.
visible
=
false
this
.
$nextTick
(()
=>
{
this
.
visible
=
true
})
}
},
},
},
};
};
</
script
>
</
script
>
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
View file @
81d76893
...
@@ -56,7 +56,6 @@ export default {
...
@@ -56,7 +56,6 @@ export default {
this
.
init
=
false
;
this
.
init
=
false
;
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
init
=
true
;
this
.
init
=
true
;
// this.type = 'load'
});
});
});
});
GMS
.
vbus
.
$on
(
"workflow-state-change"
,
(
val
)
=>
{
GMS
.
vbus
.
$on
(
"workflow-state-change"
,
(
val
)
=>
{
...
@@ -79,7 +78,7 @@ export default {
...
@@ -79,7 +78,7 @@ export default {
return
return
}
}
const
tem
=
this
.
curBill
&&
this
.
curBill
.
getBuillData
()
||
{}
const
tem
=
this
.
curBill
&&
this
.
curBill
.
getBuillData
()
||
{}
if
(
compareData
(
GMS
.
oldBillDataMap
[
this
.
curTagId
],
tem
))
cb
(
true
)
if
(
compareData
(
GMS
.
oldBillDataMap
[
this
.
curTagId
],
tem
)
||
this
.
state
==
'readOnly'
)
cb
(
true
)
else
{
else
{
this
.
$Modal
.
confirm
({
this
.
$Modal
.
confirm
({
title
:
"信息提示"
,
title
:
"信息提示"
,
...
@@ -96,9 +95,13 @@ export default {
...
@@ -96,9 +95,13 @@ export default {
loadFinishFun
(
bill
)
{
loadFinishFun
(
bill
)
{
this
.
curBill
=
bill
;
this
.
curBill
=
bill
;
const
billState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
const
billState
=
bill
.
getMasterData
().
getValue
(
'billState'
)
if
([
90
,
92
].
includes
(
billState
))
{
if
(
this
.
state
!=
'readOnly'
&&
[
90
,
92
].
includes
(
billState
))
{
this
.
state
=
'readOnly'
this
.
state
=
'readOnly'
;
}
this
.
init
=
false
;
this
.
$nextTick
(()
=>
{
this
.
init
=
true
;
});
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
GMS
.
oldBillData
=
bill
.
getBuillData
();
GMS
.
oldBillData
=
bill
.
getBuillData
();
if
(
!
GMS
.
oldBillDataMap
)
GMS
.
oldBillDataMap
=
{}
if
(
!
GMS
.
oldBillDataMap
)
GMS
.
oldBillDataMap
=
{}
...
...
develop/@rbc/welcome-page/app.config.json
View file @
81d76893
{
{
"name"
:
"welcome-page"
,
"name"
:
"welcome-page"
,
"title"
:
"
大屏
配置"
,
"title"
:
"
云报销
配置"
,
"author"
:
"admin"
,
"author"
:
"admin"
,
"keywords"
:
"invoice"
,
"keywords"
:
"invoice"
,
"company"
:
"久其软件"
,
"company"
:
"久其软件"
,
...
@@ -19,6 +19,11 @@
...
@@ -19,6 +19,11 @@
"title"
:
"登录页配置"
,
"title"
:
"登录页配置"
,
"icon"
:
""
,
"icon"
:
""
,
"component"
:
"LoginPage"
"component"
:
"LoginPage"
},
{
"title"
:
"系统版本"
,
"icon"
:
""
,
"component"
:
"About"
}
}
],
],
"data"
:
{
"data"
:
{
...
...
develop/@rbc/welcome-page/index.demo.js
View file @
81d76893
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
import
Vue
from
'vue'
import
Vue
from
'vue'
import
WelcomePage
from
'./src/views/welcome-page'
import
WelcomePage
from
'./src/views/welcome-page'
import
LoginPage
from
'./src/views/login-page'
import
LoginPage
from
'./src/views/login-page'
import
About
from
'./src/views/about'
// 在此处引入vuex和router,将下面导出对象改为{app: App, store: store, router: router}
// 在此处引入vuex和router,将下面导出对象改为{app: App, store: store, router: router}
...
@@ -15,6 +16,9 @@ export default {
...
@@ -15,6 +16,9 @@ export default {
},
},
LoginPage
:
{
LoginPage
:
{
app
:
LoginPage
,
app
:
LoginPage
,
}
},
About
:
{
app
:
About
,
},
}
}
\ No newline at end of file
develop/@rbc/welcome-page/package.json
View file @
81d76893
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
"serve"
:
"vue-cli-service serve"
,
"serve"
:
"vue-cli-service serve"
,
"build"
:
"vue-cli-service build"
,
"build"
:
"vue-cli-service build"
,
"build-dev"
:
"vue-cli-service build --mode development"
,
"build-dev"
:
"vue-cli-service build --mode development"
,
"build-dev-watch"
:
"vue-cli-service build --mode development --watch"
,
"lint"
:
"vue-cli-service lint"
"lint"
:
"vue-cli-service lint"
},
},
"dependencies"
:
{
"dependencies"
:
{
...
...
develop/@rbc/welcome-page/src/views/about.vue
0 → 100644
View file @
81d76893
<
template
>
<div>
{{
version
}}
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
version
:
''
,
}
},
mounted
()
{
const
appStoreServer
=
window
.
nros
.
createNewInstance
({
baseURL
:
`
${
window
.
location
.
origin
}
/`
,
})
let
times
=
new
Date
().
getTime
()
appStoreServer
.
get
(
`
${
window
.
NROS_PREFIX
||
'/'
}
version.json?times=`
+
times
).
then
((
res
)
=>
{
console
.
log
(
res
)
this
.
version
=
res
&&
res
.
data
&&
res
.
data
.
rbcVersion
})
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
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