Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
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
office
haoban-4
Commits
31c99e47
Commit
31c99e47
authored
Dec 21, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更新load
parent
1278ac15
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
13 deletions
+22
-13
store-auth-detail.vue
src/components/company/store-auth-detail.vue
+7
-4
new-auth-merchant.vue
src/views/business/new-auth-merchant.vue
+6
-3
create-audit-group.vue
src/views/review-center/create-audit-group.vue
+4
-3
create-audit-item.vue
src/views/review-center/create-audit-item.vue
+5
-3
No files found.
src/components/company/store-auth-detail.vue
View file @
31c99e47
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 09:14:54
* @LastEditors: 无尘
* @LastEditTime: 2020-
09-09 15:49:11
* @LastEditTime: 2020-
12-21 09:35:56
-->
<!--
绑定详情-变更
...
...
@@ -18,7 +18,7 @@
<el-tab-pane
label=
"绑定门店"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"共享门店"
name=
"second"
></el-tab-pane>
</el-tabs>
<div
class=
"store-change-body"
>
<div
class=
"store-change-body"
v-loading=
"loading"
>
<div
class=
"flex "
>
<div
class=
"change-stores flex-1"
>
<div
class=
"font-14 color-303133 text-center m-b-20"
>
变更前
</div>
...
...
@@ -71,7 +71,8 @@ export default {
showData
:
{
range
:
[],
auditRange
:
[]
}
},
loading
:
false
};
},
mounted
()
{
...
...
@@ -119,11 +120,13 @@ export default {
*/
getTableList
()
{
const
that
=
this
;
that
.
loading
=
true
;
let
para
=
{
storeRangeAuditId
:
that
.
storeRangeAuditId
,
};
getAuditLogDetail
(
para
)
.
then
(
res
=>
{
that
.
loading
=
false
;
if
(
!!
res
.
result
.
bindRange
)
{
res
.
result
.
bindRange
=
JSON
.
parse
(
res
.
result
.
bindRange
);
}
else
{
...
...
@@ -151,7 +154,7 @@ export default {
};
})
.
catch
(
function
(
error
)
{
that
.
loading
=
false
;
});
}
},
...
...
src/views/business/new-auth-merchant.vue
View file @
31c99e47
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-12-
17 17:32:45
* @LastEditTime: 2020-12-
21 09:43:29
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -19,7 +19,7 @@
</div>
<div
v-if=
"activeStep == 0"
class=
"auth-tip-body"
>
<auth-tip
class=
"m-t-30"
></auth-tip>
<el-form
:model=
"authForm"
:rules=
"rules"
ref=
"authForm"
label-width=
"110px"
class=
"dialog-form m-t-20"
@
submit
.
native
.
prevent
>
<el-form
:model=
"authForm"
v-loading=
"loading"
:rules=
"rules"
ref=
"authForm"
label-width=
"110px"
class=
"dialog-form m-t-20"
@
submit
.
native
.
prevent
>
<el-form-item
prop=
"enterpriseId"
>
<span
slot=
"label"
>
<el-tooltip
class=
"item"
effect=
"dark"
placement=
"top-start"
>
...
...
@@ -160,6 +160,7 @@ export default {
path
:
''
}
],
loading
:
false
,
wxEnterpriseId
:
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
)).
wxEnterpriseId
:
''
,
auditorName
:
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
)).
staffName
:
''
,
activeStep
:
'0'
,
...
...
@@ -462,12 +463,14 @@ export default {
*/
getData
()
{
const
that
=
this
;
that
.
loading
=
true
;
let
para
=
{
enterpriseId
:
that
.
$route
.
query
.
enterpriseId
,
wxEnterpriseId
:
that
.
wxEnterpriseId
,
};
getAuthDetail
(
para
)
.
then
(
res
=>
{
that
.
loading
=
false
;
if
(
res
.
code
==
'0000'
)
{
if
(
!!
res
.
result
.
bindRange
)
{
res
.
result
.
bindRange
=
JSON
.
parse
(
res
.
result
.
bindRange
);
...
...
@@ -485,7 +488,7 @@ export default {
}
})
.
catch
(
function
(
error
)
{
that
.
loading
=
false
;
});
}
}
...
...
src/views/review-center/create-audit-group.vue
View file @
31c99e47
<
template
>
<el-form
:model=
"groupData"
:rules=
"groupDataRules"
ref=
"groupData"
label-width=
"110px"
class=
"group-detail"
>
<el-form
:model=
"groupData"
v-loading=
"loading"
:rules=
"groupDataRules"
ref=
"groupData"
label-width=
"110px"
class=
"group-detail"
>
<el-form-item
label=
"审核组名称"
prop=
"auditGroupName"
>
<el-input
placeholder=
"请输入内容"
...
...
@@ -19,7 +19,7 @@
</dm-transfer>
</el-form-item>
<el-form-item
style=
"margin-top: 50px"
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"onSave"
>
{{
groupData
.
auditGroupId
?
'保存'
:
'确认新建'
}}
</el-button>
<el-button
type=
"primary"
@
click=
"onSave"
>
{{
groupData
.
auditGroupId
?
'保存'
:
'确认新建'
}}
</el-button>
</el-form-item>
</el-form>
</
template
>
...
...
@@ -78,13 +78,14 @@ export default {
});
},
getGroupDetail
(
auditGroupId
)
{
this
.
loading
=
true
;
auditGroupDetail
({
auditGroupId
}).
then
(
res
=>
{
const
{
auditGroupName
,
auditGroupId
,
auditPerson
}
=
res
.
result
||
{};
Object
.
assign
(
this
.
groupData
,
{
auditGroupName
,
auditGroupId
});
if
(
Array
.
isArray
(
auditPerson
))
{
this
.
groupData
.
auditPerson
=
auditPerson
.
map
(
el
=>
el
.
staffId
);
}
});
})
.
finally
(()
=>
this
.
loading
=
false
)
;
},
// 新建、编辑受审组的保存
onSave
()
{
...
...
src/views/review-center/create-audit-item.vue
View file @
31c99e47
<
template
>
<el-form
class=
"create-audit-item"
:model=
"auditData"
:rules=
"auditDataRules"
ref=
"auditData"
label-width=
"110px"
>
<el-form
class=
"create-audit-item"
v-loading=
"loading"
:model=
"auditData"
:rules=
"auditDataRules"
ref=
"auditData"
label-width=
"110px"
>
<el-form-item
label=
"审核组名称"
prop=
"auditGroupIds"
>
<el-select
v-model=
"auditData.auditGroupIds"
multiple
collapse-tags
style=
"width: 480px"
>
<el-option
v-for=
"el in auditGroupList"
:key=
"el.auditGroupId"
:value=
"el.auditGroupId"
:label=
"el.auditGroupName"
></el-option>
...
...
@@ -14,7 +14,7 @@
</el-checkbox-group>
</el-form-item>
<el-form-item
style=
"margin-top: 50px"
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"onSave"
>
{{
auditData
.
auditItemId
?
'保存'
:
'确认新建'
}}
</el-button>
<el-button
type=
"primary"
@
click=
"onSave"
>
{{
auditData
.
auditItemId
?
'保存'
:
'确认新建'
}}
</el-button>
</el-form-item>
</el-form>
</
template
>
...
...
@@ -62,6 +62,7 @@ export default {
});
},
getAuditItemDetail
(
auditItemId
)
{
this
.
loading
=
true
;
auditItemDetail
({
auditItemId
}).
then
(
res
=>
{
const
{
auditItemId
,
auditGroupId
,
auditTypes
}
=
res
.
result
||
{};
this
.
auditData
.
auditItemId
=
auditItemId
;
...
...
@@ -72,7 +73,7 @@ export default {
if
(
typeof
auditGroupId
==
'string'
||
typeof
auditGroupId
==
'number'
)
{
this
.
auditData
.
auditGroupIds
=
[
auditGroupId
];
}
});
})
.
finally
(()
=>
this
.
loading
=
false
)
;
},
// 新建、编辑审核事项保存
onSave
()
{
...
...
@@ -84,6 +85,7 @@ export default {
auditTypes
:
auditTypes
.
join
(
','
),
wxEnterpriseId
};
this
.
loading
=
true
;
if
(
auditItemId
)
{
params
.
auditItemId
=
auditItemId
;
editAuditItem
(
params
).
then
(
succ
.
bind
(
this
,
'保存成功!'
)).
finally
(()
=>
this
.
loading
=
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