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
0a33af53
Commit
0a33af53
authored
Feb 10, 2022
by
乔延琦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop-yuancheng' into 'develop'
Develop yuancheng See merge request GFP/RBC/rbc-frontend!37
parents
30938bc1
7e6587ac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
7 deletions
+28
-7
baseDataMixin.js
...in-billexpand/src/control/baseDataSelect/baseDataMixin.js
+4
-0
index.vue
...ms-plugin-billexpand/src/control/baseDataSelect/index.vue
+11
-3
buttonGrouop.vue
...p/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
+11
-2
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+2
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/control/baseDataSelect/baseDataMixin.js
View file @
0a33af53
...
@@ -136,6 +136,10 @@ export default {
...
@@ -136,6 +136,10 @@ export default {
hideSelected
:
{
hideSelected
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
},
isVxe
:
{
type
:
Boolean
,
default
:
false
}
}
},
},
data
()
{
data
()
{
...
...
develop/@gms/gms-plugin-billexpand/src/control/baseDataSelect/index.vue
View file @
0a33af53
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<!--
</div>
-->
<!--
</div>
-->
</el-popover>
</el-popover>
<!-- 弹框 -->
<!-- 弹框 -->
<EditModal
v-model=
"showModal"
:title=
"title"
:selection=
"selection"
:table-name=
"tableName"
:multiple=
"multiple"
:tableKey=
"tableKey"
:treeKey=
"treeKey"
:tableColumns=
"tableColumns"
:searchPlaceholder=
"searchPlaceholder"
:authType=
"authType"
:versionDate=
"versionDate"
:modalWidth=
"modalWidth"
:isLeaf=
"isLeaf"
:hideSelected=
"hideSelected"
:structtype=
"structtype"
:groupTableName=
"groupTableName"
:treeTableName=
"treeTableName"
:filterFormular=
"filterFormular"
:filterFormularSP=
"filterFormularSP"
:billdefineName=
"billdefineName"
:billId=
"billId"
:bill=
"bill"
:isFilter=
"isFilter"
:rowIndex=
"rowIndex"
@
on-ok=
"onSelectOk"
/>
<EditModal
v-
if=
"showModal"
v-
model=
"showModal"
:title=
"title"
:selection=
"selection"
:table-name=
"tableName"
:multiple=
"multiple"
:tableKey=
"tableKey"
:treeKey=
"treeKey"
:tableColumns=
"tableColumns"
:searchPlaceholder=
"searchPlaceholder"
:authType=
"authType"
:versionDate=
"versionDate"
:modalWidth=
"modalWidth"
:isLeaf=
"isLeaf"
:hideSelected=
"hideSelected"
:structtype=
"structtype"
:groupTableName=
"groupTableName"
:treeTableName=
"treeTableName"
:filterFormular=
"filterFormular"
:filterFormularSP=
"filterFormularSP"
:billdefineName=
"billdefineName"
:billId=
"billId"
:bill=
"bill"
:isFilter=
"isFilter"
:rowIndex=
"rowIndex"
@
on-ok=
"onSelectOk"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -95,6 +95,13 @@ export default {
...
@@ -95,6 +95,13 @@ export default {
this
.
getBaseDataList
()
this
.
getBaseDataList
()
},
},
},
},
structtype
:
{
handler
()
{
if
(
this
.
isVxe
)
{
this
.
getBaseDataList
()
}
}
}
},
},
mounted
()
{
mounted
()
{
addResizeListener
(
this
.
$el
,
this
.
handleResize
)
addResizeListener
(
this
.
$el
,
this
.
handleResize
)
...
@@ -180,6 +187,7 @@ export default {
...
@@ -180,6 +187,7 @@ export default {
},
},
// 获取下拉列表数据
// 获取下拉列表数据
async
getBaseDataList
()
{
async
getBaseDataList
()
{
if
(
this
.
structtype
===
-
1
)
return
const
getTreeDataMap
=
(
nodes
)
=>
{
const
getTreeDataMap
=
(
nodes
)
=>
{
nodes
.
forEach
((
node
)
=>
{
nodes
.
forEach
((
node
)
=>
{
if
(
!
node
.
hasChildren
)
{
if
(
!
node
.
hasChildren
)
{
...
@@ -203,8 +211,8 @@ export default {
...
@@ -203,8 +211,8 @@ export default {
}
}
let
groupname
=
''
let
groupname
=
''
let
treeData
=
{}
let
treeData
=
{}
if
(
Object
.
keys
(
this
.
treeDataMap
).
length
===
0
)
{
if
(
Object
.
keys
(
this
.
treeDataMap
).
length
===
0
||
this
.
structtype
===
1
)
{
let
treePostData
=
JSON
.
parse
(
JSON
.
stringify
(
postData
)
||
this
.
structtype
===
1
)
let
treePostData
=
JSON
.
parse
(
JSON
.
stringify
(
postData
))
if
(
this
.
structtype
===
1
)
{
if
(
this
.
structtype
===
1
)
{
// 获取分组树表名
// 获取分组树表名
if
(
this
.
groupTableName
.
define
.
showFields
)
{
if
(
this
.
groupTableName
.
define
.
showFields
)
{
...
...
develop/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
View file @
0a33af53
<
template
>
<
template
>
<div
ref=
"btnGroup"
class=
"btngroup-container"
:style=
"btnContainerStyle"
>
<div
ref=
"btnGroup"
class=
"btngroup-container"
:style=
"btnContainerStyle"
>
<ButtonGroup
class=
"button-group"
>
<ButtonGroup
v-if=
"buttonShow"
class=
"button-group"
>
<div
v-for=
"(item, index) in btnGroup"
:key=
"index"
>
<div
v-for=
"(item, index) in btnGroup"
:key=
"index"
>
<gms-button
:define=
"item.buttonDefine"
:context=
"context"
:billStateDisable=
"item.billStateDisable"
></gms-button>
<gms-button
:define=
"item.buttonDefine"
:context=
"context"
:billStateDisable=
"item.billStateDisable"
></gms-button>
<Divider
type=
"vertical"
/>
<Divider
type=
"vertical"
/>
...
@@ -21,7 +21,8 @@ export default {
...
@@ -21,7 +21,8 @@ export default {
bottom
:
''
bottom
:
''
},
},
btnGroup
:
[],
btnGroup
:
[],
workflowState
:
0
workflowState
:
0
,
buttonShow
:
true
}
}
},
},
watch
:
{
watch
:
{
...
@@ -31,6 +32,14 @@ export default {
...
@@ -31,6 +32,14 @@ export default {
},
},
immediate
:
true
,
immediate
:
true
,
},
},
'tmpBill.type'
:
{
handler
(
nv
)
{
if
(
nv
===
'draftLoad'
)
{
this
.
buttonShow
=
false
}
},
immediate
:
true
},
},
},
mounted
()
{
mounted
()
{
...
...
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
0a33af53
...
@@ -1328,7 +1328,7 @@ export default {
...
@@ -1328,7 +1328,7 @@ export default {
"description"
:
""
,
"description"
:
""
,
"title"
:
"财务_编辑[CW_editBill]"
,
"title"
:
"财务_编辑[CW_editBill]"
,
"value"
:
"CW_editBill"
,
"value"
:
"CW_editBill"
,
"btnDisable"
:
"billEdit;90;9
1;9
2"
"btnDisable"
:
"billEdit;90;92"
},
},
{
{
"discard"
:
false
,
"discard"
:
false
,
...
@@ -1341,7 +1341,7 @@ export default {
...
@@ -1341,7 +1341,7 @@ export default {
"description"
:
""
,
"description"
:
""
,
"title"
:
"财务_删除[CW_deleteBill]"
,
"title"
:
"财务_删除[CW_deleteBill]"
,
"value"
:
"CW_deleteBill"
,
"value"
:
"CW_deleteBill"
,
"btnDisable"
:
"billEdit;90;9
1;9
2"
"btnDisable"
:
"billEdit;90;92"
},
},
{
{
"discard"
:
false
,
"discard"
:
false
,
...
...
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