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 1f05d1c1
authored
Dec 06, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
导出业绩修改
1 parent
e5d12e5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
src/views/residentManage/inStoreManage/components/exportPerformanceDialog.vue
src/views/residentManage/inStoreManage/index.vue
src/views/residentManage/inStoreManage/components/exportPerformanceDialog.vue
View file @
1f05d1c
...
@@ -163,8 +163,6 @@ export default {
...
@@ -163,8 +163,6 @@ export default {
},
},
// 导出
// 导出
exportData
()
{
exportData
()
{
let
index
=
this
.
formData
.
findIndex
(
item
=>
item
.
name
==
'sceneType'
)
this
.
$set
(
this
.
formData
[
index
].
rules
[
0
],
'required'
,
true
)
this
.
$refs
.
editFormRef
?.
$refs
?.
editChildRef
?.
validate
((
valid
)
=>
{
this
.
$refs
.
editFormRef
?.
$refs
?.
editChildRef
?.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$emit
(
'handleExport'
,
this
.
infoForm
)
this
.
$emit
(
'handleExport'
,
this
.
infoForm
)
...
@@ -174,8 +172,6 @@ export default {
...
@@ -174,8 +172,6 @@ export default {
// 下载模板
// 下载模板
downloadTemplate
()
{
downloadTemplate
()
{
let
index
=
this
.
formData
.
findIndex
(
item
=>
item
.
name
==
'sceneType'
)
this
.
$set
(
this
.
formData
[
index
].
rules
[
0
],
'required'
,
false
)
this
.
$refs
.
editFormRef
?.
$refs
?.
editChildRef
?.
validate
((
valid
)
=>
{
this
.
$refs
.
editFormRef
?.
$refs
?.
editChildRef
?.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$emit
(
'handleDownloadTemplate'
,
this
.
infoForm
)
this
.
$emit
(
'handleDownloadTemplate'
,
this
.
infoForm
)
...
...
src/views/residentManage/inStoreManage/index.vue
View file @
1f05d1c
...
@@ -339,7 +339,7 @@ export default {
...
@@ -339,7 +339,7 @@ export default {
},
},
handleExport
(
infoForm
)
{
handleExport
(
infoForm
)
{
var
params
=
infoForm
var
params
=
deepClone
(
infoForm
)
if
(
params
.
staffPhoneList
?.
length
)
{
if
(
params
.
staffPhoneList
?.
length
)
{
params
.
staffPhoneList
?.
forEach
((
item
,
index
)
=>
{
params
.
staffPhoneList
?.
forEach
((
item
,
index
)
=>
{
const
staffPhone
=
`staffPhones[
${
index
}
]`
const
staffPhone
=
`staffPhones[
${
index
}
]`
...
@@ -374,7 +374,7 @@ export default {
...
@@ -374,7 +374,7 @@ export default {
// 导入修订工资模板下载
// 导入修订工资模板下载
handleDownloadTemplate
(
infoForm
)
{
handleDownloadTemplate
(
infoForm
)
{
var
params
=
infoForm
var
params
=
deepClone
(
infoForm
)
if
(
params
.
staffPhoneList
?.
length
)
{
if
(
params
.
staffPhoneList
?.
length
)
{
params
.
staffPhoneList
?.
forEach
((
item
,
index
)
=>
{
params
.
staffPhoneList
?.
forEach
((
item
,
index
)
=>
{
const
staffPhone
=
`staffPhones[
${
index
}
]`
const
staffPhone
=
`staffPhones[
${
index
}
]`
...
...
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