Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
c45a113e
Commit
c45a113e
authored
11 months ago
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化业务事项管理搜索
parent
456a258e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
43 deletions
+35
-43
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs2.vue
.../src/pages/basicset/business/components/businessTabs2.vue
+12
-16
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs3.vue
.../src/pages/basicset/business/components/businessTabs3.vue
+21
-25
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs4.vue
.../src/pages/basicset/business/components/businessTabs4.vue
+2
-2
No files found.
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs2.vue
View file @
c45a113e
...
@@ -13,9 +13,9 @@
...
@@ -13,9 +13,9 @@
style=
"width: 120px"
style=
"width: 120px"
v-model=
"leftSource"
v-model=
"leftSource"
class=
"select-department"
class=
"select-department"
placeholder=
"事项来源"
placeholder=
"全部来源"
allowClear
>
>
<a-select-option
value=
""
>
全部来源
</a-select-option>
<a-select-option
:value=
"0"
>
一体化添加
</a-select-option>
<a-select-option
:value=
"0"
>
一体化添加
</a-select-option>
<a-select-option
:value=
"1"
>
手动添加
</a-select-option>
<a-select-option
:value=
"1"
>
手动添加
</a-select-option>
</a-select>
</a-select>
...
@@ -24,12 +24,10 @@
...
@@ -24,12 +24,10 @@
style=
"min-width: 120px"
style=
"min-width: 120px"
v-model=
"leftDept"
v-model=
"leftDept"
class=
"select-department"
class=
"select-department"
placeholder=
"
部门搜索
"
placeholder=
"
全部部门
"
optionFilterProp=
"label"
optionFilterProp=
"label"
allowClear
>
>
<a-select-option
value=
""
label=
"全部部门"
>
全部部门
</a-select-option>
<a-select-option
<a-select-option
v-for=
"v in deptList"
v-for=
"v in deptList"
:key=
"v.id"
:key=
"v.id"
...
@@ -147,9 +145,9 @@
...
@@ -147,9 +145,9 @@
style=
"width: 120px"
style=
"width: 120px"
v-model=
"rightSource"
v-model=
"rightSource"
class=
"select-department"
class=
"select-department"
placeholder=
"事项来源"
placeholder=
"全部来源"
allowClear
>
>
<a-select-option
value=
""
>
全部来源
</a-select-option>
<a-select-option
:value=
"0"
>
一体化事项
</a-select-option>
<a-select-option
:value=
"0"
>
一体化事项
</a-select-option>
<a-select-option
:value=
"1"
>
自建事项
</a-select-option>
<a-select-option
:value=
"1"
>
自建事项
</a-select-option>
</a-select>
</a-select>
...
@@ -158,12 +156,10 @@
...
@@ -158,12 +156,10 @@
style=
"min-width: 120px"
style=
"min-width: 120px"
v-model=
"rightDept"
v-model=
"rightDept"
class=
"select-department"
class=
"select-department"
placeholder=
"
部门搜索
"
placeholder=
"
全部部门
"
optionFilterProp=
"label"
optionFilterProp=
"label"
allowClear
>
>
<a-select-option
value=
""
label=
"全部部门"
>
全部部门
</a-select-option>
<a-select-option
<a-select-option
v-for=
"v in deptList"
v-for=
"v in deptList"
:key=
"v.id"
:key=
"v.id"
...
@@ -356,10 +352,10 @@ export default {
...
@@ -356,10 +352,10 @@ export default {
rightColumns
,
rightColumns
,
leftLoading
:
false
,
leftLoading
:
false
,
rightLoading
:
false
,
rightLoading
:
false
,
leftSource
:
""
,
// 左边来源
leftSource
:
undefined
,
// 左边来源
leftDept
:
""
,
// 左边部门搜索
leftDept
:
undefined
,
// 左边部门搜索
rightDept
:
""
,
// 右边部门搜索
rightDept
:
undefined
,
// 右边部门搜索
rightSource
:
""
,
// 右边来源
rightSource
:
undefined
,
// 右边来源
selectedRowKeys
:
[],
selectedRowKeys
:
[],
matterSiteData
:
[],
// 站点事项
matterSiteData
:
[],
// 站点事项
matterDataList
:
[],
//事项列表数据
matterDataList
:
[],
//事项列表数据
...
...
This diff is collapsed.
Click to expand it.
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs3.vue
View file @
c45a113e
...
@@ -48,17 +48,12 @@
...
@@ -48,17 +48,12 @@
</
template
>
</
template
>
<
template
slot=
"action"
slot-scope=
"text"
>
<
template
slot=
"action"
slot-scope=
"text"
>
<a-space>
<a-space>
<span
class=
"primary pointer"
@
click=
"handleisUnbound(true, text)"
<span
>
关联详情
</span
class=
"primary pointer"
>
@
click=
"handleisUnbound(true,text)"
<span
class=
"delete pointer"
@
click=
"handleisUnbound(false, text)"
>
关联详情
</span
>
解除
</span
>
>
<span
class=
"delete pointer"
@
click=
"handleisUnbound(false,text)"
>
解除
</span
>
</a-space>
</a-space>
</
template
>
</
template
>
</a-table>
</a-table>
...
@@ -79,12 +74,10 @@
...
@@ -79,12 +74,10 @@
style=
"min-width: 120px"
style=
"min-width: 120px"
v-model=
"deptSearch"
v-model=
"deptSearch"
class=
"select-department"
class=
"select-department"
placeholder=
"
部门搜索
"
placeholder=
"
全部部门
"
optionFilterProp=
"label"
optionFilterProp=
"label"
allowClear
>
>
<a-select-option
value=
""
label=
"全部部门"
>
全部部门
</a-select-option>
<a-select-option
<a-select-option
v-for=
"v in deptList"
v-for=
"v in deptList"
:key=
"v.id"
:key=
"v.id"
...
@@ -218,11 +211,14 @@
...
@@ -218,11 +211,14 @@
<a-modal
<a-modal
:maskClosable=
"false"
:maskClosable=
"false"
v-model=
"isUnbound"
v-model=
"isUnbound"
:title=
"checkFlag ? '关联详情'
:
'解除确认'"
:title=
"checkFlag ? '关联详情'
:
'解除确认'"
@
ok=
"handleUnbound"
@
ok=
"handleUnbound"
@
cancel=
"handleCloseUnbound"
@
cancel=
"handleCloseUnbound"
>
>
<p
v-if=
"checkFlag"
>
已关联
<span
class=
"primary"
>
{{ unboundMatterData.length }}
</span>
件事项
</p>
<p
v-if=
"checkFlag"
>
已关联
<span
class=
"primary"
>
{{ unboundMatterData.length }}
</span>
件事项
</p>
<p
v-else
>
此操作将解除
</p>
<p
v-else
>
此操作将解除
</p>
<a-form-model
:wrapper-col=
"{ span: 24 }"
>
<a-form-model
:wrapper-col=
"{ span: 24 }"
>
<a-form-model-item>
<a-form-model-item>
...
@@ -357,7 +353,7 @@ export default {
...
@@ -357,7 +353,7 @@ export default {
Leftloading
:
false
,
Leftloading
:
false
,
rightloading
:
false
,
rightloading
:
false
,
leftSearchVal
:
""
,
// 左边搜索
leftSearchVal
:
""
,
// 左边搜索
deptSearch
:
""
,
// 右边
deptSearch
:
undefined
,
// 右边
rightSearchVal
:
""
,
// 右边搜索
rightSearchVal
:
""
,
// 右边搜索
SiteBusinessData
:
[],
// 站点业务
SiteBusinessData
:
[],
// 站点业务
SiteMatterData
:
[],
//站点事项
SiteMatterData
:
[],
//站点事项
...
@@ -390,7 +386,7 @@ export default {
...
@@ -390,7 +386,7 @@ export default {
siteBusinessName
:
""
,
siteBusinessName
:
""
,
},
},
allCorrelationData
:
[],
// 关联业务事项数据
allCorrelationData
:
[],
// 关联业务事项数据
checkFlag
:
true
,
// 查看标杆
checkFlag
:
true
,
// 查看标杆
rules
:
{
rules
:
{
siteBusinessId
:
[
siteBusinessId
:
[
{
required
:
true
,
message
:
"
业务不能为空
"
,
trigger
:
"
change
"
},
{
required
:
true
,
message
:
"
业务不能为空
"
,
trigger
:
"
change
"
},
...
@@ -504,8 +500,8 @@ export default {
...
@@ -504,8 +500,8 @@ export default {
},
},
// 左边解除按钮
// 左边解除按钮
handleisUnbound
(
isCheck
,
data
)
{
handleisUnbound
(
isCheck
,
data
)
{
this
.
checkFlag
=
isCheck
this
.
checkFlag
=
isCheck
;
this
.
unboundBusinessData
=
data
;
this
.
unboundBusinessData
=
data
;
this
.
isUnbound
=
true
;
this
.
isUnbound
=
true
;
this
.
getMatterlistData
({
this
.
getMatterlistData
({
...
@@ -523,10 +519,10 @@ export default {
...
@@ -523,10 +519,10 @@ export default {
// 解除确认
// 解除确认
async
handleUnbound
(
val
=
{})
{
async
handleUnbound
(
val
=
{})
{
if
(
this
.
checkFlag
)
{
if
(
this
.
checkFlag
)
{
this
.
handleCloseUnbound
()
this
.
handleCloseUnbound
()
;
this
.
isUnbound
=
false
;
this
.
isUnbound
=
false
;
return
return
;
}
}
let
str
;
let
str
;
if
(
this
.
unboundMatterItem
.
length
>
0
)
{
if
(
this
.
unboundMatterItem
.
length
>
0
)
{
...
@@ -865,4 +861,4 @@ export default {
...
@@ -865,4 +861,4 @@ export default {
.site-business {
.site-business {
margin-bottom: 0px !important;
margin-bottom: 0px !important;
}
}
</
style
>
</
style
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs4.vue
View file @
c45a113e
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
allowClear
allowClear
v-model=
"dept"
v-model=
"dept"
class=
"select-department"
class=
"select-department"
placeholder=
"
部门搜索
"
placeholder=
"
全部部门
"
optionFilterProp=
"label"
optionFilterProp=
"label"
>
>
<a-select-option
<a-select-option
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
allowClear
allowClear
v-model=
"source"
v-model=
"source"
class=
"select-department"
class=
"select-department"
placeholder=
"
事项
来源"
placeholder=
"
全部
来源"
>
>
<a-select-option
:value=
"0"
>
一体化添加
</a-select-option>
<a-select-option
:value=
"0"
>
一体化添加
</a-select-option>
<a-select-option
:value=
"1"
>
手动添加
</a-select-option>
<a-select-option
:value=
"1"
>
手动添加
</a-select-option>
...
...
This diff is collapsed.
Click to expand it.
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