Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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-3
Commits
1180703f
Commit
1180703f
authored
May 26, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 审核参数调整
parent
82e121d8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
106 deletions
+10
-106
reviewed.vue
src/views/reviewCenter/reviewed.vue
+7
-43
unreview.vue
src/views/reviewCenter/unreview.vue
+3
-63
No files found.
src/views/reviewCenter/reviewed.vue
View file @
1180703f
...
@@ -11,11 +11,14 @@
...
@@ -11,11 +11,14 @@
<div
class=
"right-content"
>
<div
class=
"right-content"
>
<div
class=
"right-box"
>
<div
class=
"right-box"
>
<div
class=
"reviewed-body-head"
>
<div
class=
"reviewed-body-head"
>
<el-input
class=
"w-250"
maxlength=
"50"
placeholder=
"请输入提交人姓名或门店名称"
prefix-icon=
"el-icon-search"
v-model=
"searchValue"
clearable
@
clear=
"clearSearch"
@
keyup
.
native=
"value => searchEnterFun(value, searchInput)"
>
</el-input><el-select
class=
"w-130 m-l-10"
v-model=
"filterValue"
placeholder=
"全部状态"
@
change=
"getTableList"
>
<el-option
v-for=
"item in filterOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select
<el-input
class=
"w-250"
maxlength=
"50"
placeholder=
"请输入提交人姓名或门店名称"
prefix-icon=
"el-icon-search"
v-model=
"searchValue"
clearable
@
clear=
"clearSearch"
@
keyup
.
native=
"value => searchEnterFun(value, searchInput)"
></el-input>
><el-select
class=
"w-168 m-l-10"
v-model=
"filterBrand"
placeholder=
"全部品牌"
@
change=
"getTableList"
>
<el-select
class=
"w-130 m-l-10"
v-model=
"filterValue"
placeholder=
"全部状态"
@
change=
"getTableList"
>
<el-option
v-for=
"item in filterOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
<el-select
class=
"w-168 m-l-10"
placeholder=
"全部品牌"
>
<el-option
label=
"全部品牌"
value=
""
></el-option>
<el-option
label=
"全部品牌"
value=
""
></el-option>
<el-option
v-for=
"item in brandOptions"
:key=
"item.enterpriseId"
:label=
"item.enterpriseName"
:value=
"item.enterpriseId"
>
</el-option>
</el-select
</el-select>
>
<span
class=
"p-l-10 font-12 color-909399"
>
展示管理员审核记录及门店成员自助增删导购及用户关联记录
</span>
<span
class=
"p-l-10 font-12 color-909399"
>
展示管理员审核记录及门店成员自助增删导购及用户关联记录
</span>
</div>
</div>
<div
class=
"reviewed-body-content"
>
<div
class=
"reviewed-body-content"
>
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"tableData"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"tableData"
tooltip-effect=
"dark"
style=
"width: 100%"
>
...
@@ -132,11 +135,8 @@ export default {
...
@@ -132,11 +135,8 @@ export default {
name
:
'reviewed'
,
name
:
'reviewed'
,
data
()
{
data
()
{
return
{
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
'px'
,
wxEnterpriseId
:
sessionStorage
.
getItem
(
'userInfos'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)).
wxEnterpriseId
:
''
,
wxEnterpriseId
:
sessionStorage
.
getItem
(
'userInfos'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)).
wxEnterpriseId
:
''
,
filterValue
:
''
,
filterValue
:
''
,
filterBrand
:
''
,
brandOptions
:
[],
//品牌
filterOptions
:
[
filterOptions
:
[
// {
// {
// label: '待审核',
// label: '待审核',
...
@@ -187,16 +187,6 @@ export default {
...
@@ -187,16 +187,6 @@ export default {
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
20
,
pageSize
:
20
,
total
:
0
,
total
:
0
,
// info
applyInfo
:
{
// photo: '',
// applyName: '测试的',
// sex: 2,
// code: '223344545fffffffffffffff4',
// phone: '13012343333',
// job: '店长',
// store: '测试门店'
},
// store
// store
showStoreDialog
:
false
,
showStoreDialog
:
false
,
storeChangeData
:
{},
storeChangeData
:
{},
...
@@ -318,29 +308,6 @@ export default {
...
@@ -318,29 +308,6 @@ export default {
};
};
},
},
/**
/**
* 获取品牌
*/
getBrandData
()
{
const
that
=
this
;
postRequest
(
'/haoban-manage3-web/wx-enterprise-list'
,
{})
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
!!
resData
.
result
&&
!!
resData
.
result
.
length
)
{
that
.
brandOptions
=
resData
.
result
;
}
return
;
}
errMsg
.
errorMsg
(
resData
);
})
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
duration
:
1000
,
message
:
error
.
message
});
});
},
/**
* 获取列表数据
* 获取列表数据
*/
*/
getTableList
(
val
)
{
getTableList
(
val
)
{
...
@@ -357,7 +324,6 @@ export default {
...
@@ -357,7 +324,6 @@ export default {
search
:
that
.
searchValue
||
''
,
// 搜索字段
search
:
that
.
searchValue
||
''
,
// 搜索字段
pageNum
:
that
.
currentPage
,
// 当前页
pageNum
:
that
.
currentPage
,
// 当前页
pageSize
:
that
.
pageSize
,
// 一页显示个数
pageSize
:
that
.
pageSize
,
// 一页显示个数
enterpriseId
:
that
.
filterBrand
// 20190918新增品牌
};
};
getRequest
(
'/haoban-manage3-web/audit/find-page'
,
para
)
getRequest
(
'/haoban-manage3-web/audit/find-page'
,
para
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -381,9 +347,7 @@ export default {
...
@@ -381,9 +347,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
const
that
=
this
;
const
that
=
this
;
that
.
$emit
(
'showTab'
,
2
);
that
.
getTableList
();
that
.
getTableList
();
that
.
getBrandData
();
},
},
components
:
{
components
:
{
storeChange
storeChange
...
...
src/views/reviewCenter/unreview.vue
View file @
1180703f
...
@@ -12,10 +12,9 @@
...
@@ -12,10 +12,9 @@
<div
class=
"right-box"
>
<div
class=
"right-box"
>
<div
class=
"reviewed-body-head flex flex-space-between"
>
<div
class=
"reviewed-body-head flex flex-space-between"
>
<div>
<div>
<el-input
class=
"w-250"
maxlength=
"50"
placeholder=
"请输入提交人姓名或门店名称"
prefix-icon=
"el-icon-search"
v-model=
"searchValue"
clearable
@
clear=
"clearSearch"
@
keyup
.
native=
"value => searchEnterFun(value, searchInput)"
>
</el-input><el-select
v-model=
"filterValue"
placeholder=
"全部事项"
@
change=
"getTableList"
class=
"w-130 m-l-10"
>
<el-option
v-for=
"item in filterOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select
<el-input
class=
"w-250"
maxlength=
"50"
placeholder=
"请输入提交人姓名或门店名称"
prefix-icon=
"el-icon-search"
v-model=
"searchValue"
clearable
@
clear=
"clearSearch"
@
keyup
.
native=
"value => searchEnterFun(value, searchInput)"
></el-input>
><el-select
v-model=
"filterBrand"
placeholder=
"全部品牌"
@
change=
"getTableList"
class=
"w-168 m-l-10"
>
<el-select
v-model=
"filterValue"
placeholder=
"全部事项"
@
change=
"getTableList"
class=
"w-130 m-l-10"
>
<el-option
label=
"全部品牌"
value=
""
></el-option>
<el-option
v-for=
"item in filterOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
<el-option
v-for=
"item in brandOptions"
:key=
"item.enterpriseId"
:label=
"item.enterpriseName"
:value=
"item.enterpriseId"
>
</el-option>
</el-select>
</el-select>
</div>
</div>
<el-button
v-if=
"$getButtonLimit($buttonCode.multipleResolve)"
:limit-code=
"$buttonCode.multipleResolve"
type=
"primary"
@
click=
"approveAll"
>
批量同意
</el-button>
<el-button
v-if=
"$getButtonLimit($buttonCode.multipleResolve)"
:limit-code=
"$buttonCode.multipleResolve"
type=
"primary"
@
click=
"approveAll"
>
批量同意
</el-button>
...
@@ -158,8 +157,6 @@ export default {
...
@@ -158,8 +157,6 @@ export default {
wxEnterpriseId
:
sessionStorage
.
getItem
(
'userInfos'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)).
wxEnterpriseId
:
''
,
wxEnterpriseId
:
sessionStorage
.
getItem
(
'userInfos'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)).
wxEnterpriseId
:
''
,
auditName
:
sessionStorage
.
getItem
(
'userInfos'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)).
staffName
:
''
,
auditName
:
sessionStorage
.
getItem
(
'userInfos'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)).
staffName
:
''
,
filterValue
:
''
,
filterValue
:
''
,
filterBrand
:
''
,
brandOptions
:
[],
// 品牌
searchValue
:
''
,
searchValue
:
''
,
filterOptions
:
[
filterOptions
:
[
{
{
...
@@ -545,59 +542,6 @@ export default {
...
@@ -545,59 +542,6 @@ export default {
};
};
},
},
/**
/**
* 获取品牌
*/
getBrandData
()
{
const
that
=
this
;
postRequest
(
'/haoban-manage3-web/wx-enterprise-list'
,
{})
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
!!
resData
.
result
&&
!!
resData
.
result
.
length
)
{
that
.
brandOptions
=
resData
.
result
;
}
return
;
}
errMsg
.
errorMsg
(
resData
);
})
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
duration
:
1000
,
message
:
error
.
message
});
});
},
/**
* 登录 --- api
*/
toLogin
()
{
const
that
=
this
;
return
new
Promise
((
resolve
,
reject
)
=>
{
let
para
=
{};
getRequest
(
'/haoban-manage3-web/get-login-info'
,
para
)
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
resolve
(
resData
.
result
.
wxEnterpriseId
);
return
;
}
errMsg
.
errorMsg
(
resData
);
resolve
({
wxEnterpriseId
:
''
});
})
.
catch
(
function
(
error
)
{
resolve
({
wxEnterpriseId
:
''
});
that
.
$message
.
error
({
duration
:
1000
,
message
:
error
.
message
});
});
});
},
/**
* 获取列表数据
* 获取列表数据
*/
*/
getTableList
(
val
)
{
getTableList
(
val
)
{
...
@@ -614,7 +558,6 @@ export default {
...
@@ -614,7 +558,6 @@ export default {
search
:
that
.
searchValue
,
// 搜索字段
search
:
that
.
searchValue
,
// 搜索字段
pageNum
:
that
.
currentPage
,
// 当前页
pageNum
:
that
.
currentPage
,
// 当前页
pageSize
:
that
.
pageSize
,
// 一页显示个数
pageSize
:
that
.
pageSize
,
// 一页显示个数
enterpriseId
:
that
.
filterBrand
// 20190918新增品牌
};
};
getRequest
(
'/haoban-manage3-web/audit/find-page'
,
para
)
getRequest
(
'/haoban-manage3-web/audit/find-page'
,
para
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -638,10 +581,7 @@ export default {
...
@@ -638,10 +581,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
const
that
=
this
;
const
that
=
this
;
that
.
$emit
(
'showTab'
,
1
);
// that.wxEnterpriseId = await that.toLogin();
that
.
getTableList
();
that
.
getTableList
();
that
.
getBrandData
();
},
},
components
:
{
components
:
{
storeChange
,
storeChange
,
...
...
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