Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3fd0f68e
authored
Oct 02, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
78277973
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
41 deletions
src/api/resident.js
src/views/residentManage/inStoreManage/components/PermissionDialog.vue
src/views/systemConfig/yqStoreManage/editLaunch.vue
src/views/systemConfig/yqStoreManage/launchRecord.vue
src/views/systemConfig/yqStoreManage/yqStoreManage.vue
src/api/resident.js
View file @
3fd0f68
...
@@ -234,6 +234,12 @@ export function getResidentListApi(data) {
...
@@ -234,6 +234,12 @@ export function getResidentListApi(data) {
return
request
(
data
,
"post"
)
return
request
(
data
,
"post"
)
}
}
// 分页查询园区店员工列表(可增加特殊门店列表)
export
function
getEmployee
(
data
)
{
data
.
method
=
`dj.api.employee.yq.page`
return
request
(
data
,
"post"
)
}
// 导入员工修订工资
// 导入员工修订工资
export
function
importStaffSalaryApi
(
data
)
{
export
function
importStaffSalaryApi
(
data
)
{
data
.
method
=
`
${
path2
}
staffMonthSalary.staffSalary.import`
data
.
method
=
`
${
path2
}
staffMonthSalary.staffSalary.import`
...
...
src/views/residentManage/inStoreManage/components/PermissionDialog.vue
View file @
3fd0f68
<!-- 权限管理 -->
<!-- 权限管理 -->
<
template
>
<
template
>
<d2-dialog
title=
"权限管理"
:is-visible=
"isShow"
class=
"accountDailog"
@
closeDialog=
"handleClose"
width=
"
85
0px"
<d2-dialog
title=
"权限管理"
:is-visible=
"isShow"
class=
"accountDailog"
@
closeDialog=
"handleClose"
width=
"
60
0px"
@
confirmDialog=
"handleAddConfirm"
>
@
confirmDialog=
"handleAddConfirm"
>
<div
class=
"content"
>
<div
class=
"content"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-suffix=
":"
label-width=
"140px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-suffix=
":"
label-width=
"140px"
>
...
@@ -8,7 +8,8 @@
...
@@ -8,7 +8,8 @@
<el-select
multiple
collapse-tags
v-model=
"form.staffIds"
value-key=
"id"
filterable
remote
reserve-keyword
<el-select
multiple
collapse-tags
v-model=
"form.staffIds"
value-key=
"id"
filterable
remote
reserve-keyword
placeholder=
"请选择员工(多选)"
style=
"width: 350px"
:remote-method=
"remoteMethod"
@
change=
"changeOpt"
placeholder=
"请选择员工(多选)"
style=
"width: 350px"
:remote-method=
"remoteMethod"
@
change=
"changeOpt"
:loading=
"loading"
>
:loading=
"loading"
>
<el-option
v-for=
"(item, index) in options"
:key=
"item.id"
:label=
"item.staffName"
:value=
"item"
>
<el-option
class=
"option"
v-for=
"(item, index) in options"
:key=
"item.id"
:label=
"item.staffName"
:value=
"item"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -24,7 +25,7 @@
...
@@ -24,7 +25,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getResidentListApi
,
getPermissionsList
,
addBatchPermissions
}
from
"@api/resident"
import
{
getResidentListApi
,
getPermissionsList
,
addBatchPermissions
,
getEmployee
}
from
"@api/resident"
import
{
deepClone
}
from
'@/common/util'
import
{
deepClone
}
from
'@/common/util'
import
{
merchantClassifyList
}
from
'@/common/constants'
import
{
merchantClassifyList
}
from
'@/common/constants'
export
default
{
export
default
{
...
@@ -123,8 +124,8 @@ export default {
...
@@ -123,8 +124,8 @@ export default {
})
})
},
},
getResidentList
()
{
getResidentList
()
{
get
ResidentListApi
({
get
Employee
({
pageSize
:
1
0
,
pageSize
:
2
0
,
currentPage
:
1
currentPage
:
1
}).
then
(
res
=>
{
}).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
...
@@ -176,7 +177,7 @@ export default {
...
@@ -176,7 +177,7 @@ export default {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
var
params
=
{
currentPage
:
1
,
pageSize
:
100
,
staffName
:
queryString
,
}
var
params
=
{
currentPage
:
1
,
pageSize
:
100
,
staffName
:
queryString
,
}
get
ResidentListApi
(
params
).
then
(
res
=>
{
get
Employee
(
params
).
then
(
res
=>
{
const
list
=
this
.
form
.
staffIds
||
[]
const
list
=
this
.
form
.
staffIds
||
[]
const
options
=
[...
list
,
...
res
.
list
||
[]]
const
options
=
[...
list
,
...
res
.
list
||
[]]
// // 对数据对象去重过滤
// // 对数据对象去重过滤
...
@@ -275,4 +276,8 @@ export default {
...
@@ -275,4 +276,8 @@ export default {
font-size
:
12px
;
font-size
:
12px
;
color
:
#666666
;
color
:
#666666
;
}
}
.option
{
width
:
26%
;
}
</
style
>
</
style
>
src/views/systemConfig/yqStoreManage/editLaunch.vue
View file @
3fd0f68
This diff is collapsed.
Click to expand it.
src/views/systemConfig/yqStoreManage/launchRecord.vue
View file @
3fd0f68
This diff is collapsed.
Click to expand it.
src/views/systemConfig/yqStoreManage/yqStoreManage.vue
View file @
3fd0f68
<!-- 服务商管理 -->
<!-- 服务商管理 -->
<
template
>
<
template
>
<d2-container
class=
"service-manage"
>
<d2-container
class=
"service-manage"
>
<div
class=
"header"
<div
class=
"header"
slot=
"header"
>
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
label-width=
"100px"
:search-form=
"searchForm"
<d2-search
ref=
"showSearch"
:form-data=
"showFormData"
/>
class=
"show-search"
label-width=
"100px"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
size=
"small"
type=
"primary"
>
查询
查询
</el-button>
</el-button>
<el-button
size=
"small"
<el-button
size=
"small"
@
click=
"handleReset"
>
@
click=
"handleReset"
>
重置
重置
</el-button>
</el-button>
</div>
</div>
...
@@ -25,28 +18,17 @@
...
@@ -25,28 +18,17 @@
<span
slot=
"left"
>
园区店服务商关联列表
</span>
<span
slot=
"left"
>
园区店服务商关联列表
</span>
<auth-button
category=
"Button"
/>
<auth-button
category=
"Button"
/>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"serviceStoreTable"
<d2-table
ref=
"serviceStoreTable"
:search-form=
"searchForm"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
:search-form=
"searchForm"
:before-search-fn=
"beforeSearchFn"
>
:table-params=
"tableParams"
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
</auth-button>
</auth-button>
</d2-table>
</d2-table>
<qrcode-dialog
:q-rcode-visible=
"qRcodeVisible"
<qrcode-dialog
:q-rcode-visible=
"qRcodeVisible"
:info=
"recordInfo"
v-if=
"qRcodeVisible"
:info=
"recordInfo"
@
dialogClose=
"dialogClose"
/>
v-if=
"qRcodeVisible"
@
dialogClose=
"dialogClose"
/>
</div>
</div>
<wxQRcodeDialog
:q-rcode-visible
.
sync=
"QRcodeDialog"
<wxQRcodeDialog
:q-rcode-visible
.
sync=
"QRcodeDialog"
v-if=
"QRcodeDialog"
:merchant-info=
"recordInfo"
/>
v-if=
"QRcodeDialog"
<scene-entry-dialog
:scene-entry-visible=
"sceneEntryVisible"
:info=
"recordInfo"
v-if=
"sceneEntryVisible"
:merchant-info=
"recordInfo"
/>
@
dialogClose=
"sceneDialogClose"
/>
<scene-entry-dialog
:scene-entry-visible=
"sceneEntryVisible"
:info=
"recordInfo"
v-if=
"sceneEntryVisible"
@
dialogClose=
"sceneDialogClose"
/>
</d2-container>
</d2-container>
</
template
>
</
template
>
...
@@ -131,6 +113,10 @@ export default {
...
@@ -131,6 +113,10 @@ export default {
prop
:
'yqCode'
prop
:
'yqCode'
},
},
{
{
label
:
'园区店号'
,
prop
:
'merchantId'
},
{
label
:
'模式'
,
label
:
'模式'
,
prop
:
''
,
prop
:
''
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
...
@@ -149,10 +135,7 @@ export default {
...
@@ -149,10 +135,7 @@ export default {
label
:
'主服务商'
,
label
:
'主服务商'
,
prop
:
'partnerMerchantName'
prop
:
'partnerMerchantName'
},
},
{
label
:
'园区店号'
,
prop
:
'merchantId'
},
{
{
label
:
'登录账户'
,
label
:
'登录账户'
,
prop
:
'accountName'
prop
:
'accountName'
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment