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
611ddd55
Commit
611ddd55
authored
May 28, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改企业设置
parent
4421af9f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
13 deletions
+13
-13
index.html
dist/index.html
+2
-2
app.633bd9b76559aeb4a3b72b0c2293d524.css
dist/static/css/app.633bd9b76559aeb4a3b72b0c2293d524.css
+0
-0
10.d125d5ffcb67800f2c75.js
dist/static/js/10.d125d5ffcb67800f2c75.js
+2
-0
10.e1527a34851698120430.js
dist/static/js/10.e1527a34851698120430.js
+0
-2
9.4580fc194458ecf9d8f2.js
dist/static/js/9.4580fc194458ecf9d8f2.js
+2
-2
manifest.a17e8ffb9c761c754107.js
dist/static/js/manifest.a17e8ffb9c761c754107.js
+2
-2
enterpriseSet.vue
src/views/enterprise/enterpriseSet.vue
+2
-2
unreview.vue
src/views/reviewCenter/unreview.vue
+3
-3
No files found.
dist/index.html
View file @
611ddd55
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.deec2fe06d860cd85ecfeeb21676c5f8.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.0509c18ee40a6a6fd9ec.js
></script><script
type=
text/javascript
src=
./static/js/vendor.f7a33833cf6ddd412235.js
></script><script
type=
text/javascript
src=
./static/js/app.1b483576be578a2f7356.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.633bd9b76559aeb4a3b72b0c2293d524.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.a17e8ffb9c761c754107.js
></script><script
type=
text/javascript
src=
./static/js/vendor.f7a33833cf6ddd412235.js
></script><script
type=
text/javascript
src=
./static/js/app.1b483576be578a2f7356.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
deec2fe06d860cd85ecfeeb21676c5f8
.css
→
dist/static/css/app.
633bd9b76559aeb4a3b72b0c2293d524
.css
View file @
611ddd55
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/10.d125d5ffcb67800f2c75.js
0 → 100644
View file @
611ddd55
webpackJsonp
([
10
],{
"0Lwl"
:
function
(
t
,
e
){},
"2HqF"
:
function
(
t
,
e
){},
"TU+z"
:
function
(
t
,
e
){},
feRM
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
a
(
"//Fk"
),
o
=
a
.
n
(
s
),
r
=
a
(
"Ch4/"
),
n
=
{
name
:
"single-upload"
,
props
:{
videoSrc
:{
type
:
String
,
default
:
""
},
imgSrc
:{
type
:
String
,
default
:
""
},
field
:{
type
:
String
,
default
:
""
},
uploadLimit
:{
type
:[
Number
,
String
],
default
:
2
},
uploadType
:{
type
:[
Number
,
String
],
default
:
1
}},
data
:
function
(){
return
{
projectName
:
""
,
imgShowFlag
:
!
1
,
imgUrl
:
""
,
videoFlag
:
!
1
,
fileType
:
1
==
this
.
uploadType
||
2
==
this
.
uploadType
?
"jpg"
:
"mp4"
}},
beforeMount
:
function
(){
var
t
=
window
.
location
.
origin
;
-
1
!=
t
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
t
},
methods
:{
uploadUrl
:
function
(){
var
t
=
window
.
location
.
origin
,
e
=
void
0
;
return
e
=
"-1"
!=
t
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
t
,
this
.
upUrl
=
e
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
handleAvatarSuccess
:
function
(
t
,
e
,
a
){
1
==
t
.
errorCode
?(
console
.
log
(
t
),
this
.
videoFlag
=!
1
,
3
==
this
.
uploadType
?
this
.
$emit
(
"update:videoSrc"
,
t
.
result
.
url
):
this
.
$emit
(
"update:imgSrc"
,
t
.
result
.
url
)):
r
.
a
.
errorMsg
(
t
)},
beforeAvatarUpload
:
function
(
t
){
console
.
log
(
t
),
this
.
fileType
=
"image/jpeg"
===
t
.
type
?
"jpeg"
:
"image/jpg"
===
t
.
type
?
"jpg"
:
"image/png"
===
t
.
type
?
"png"
:
"video/mp4"
==
t
.
type
?
"mp4"
:
""
;
var
e
=
"image/jpeg"
===
t
.
type
||
"image/jpg"
===
t
.
type
||
"image/png"
===
t
.
type
,
a
=
"video/mp4"
==
t
.
type
,
s
=
t
.
size
/
1024
/
1024
<
this
.
uploadLimit
;
return
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
e
||
this
.
$message
.
error
(
"上传图片支持png、jpg、jpeg格式!"
),
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
s
||
this
.
$message
.
error
(
"上传图片大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
!=
this
.
uploadType
||
a
||
this
.
$message
.
error
(
"上传视频支持MP4格式!"
),
3
!=
this
.
uploadType
||
s
||
this
.
$message
.
error
(
"上传视频大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
==
this
.
uploadType
?
a
&&
s
:
e
&&
s
&&
new
o
.
a
(
function
(
e
,
a
){
var
s
=
new
FileReader
;
s
.
onload
=
function
(
t
){
var
a
=
new
Image
;
a
.
onload
=
function
(){
this
.
width
,
this
.
height
;
e
()},
a
.
src
=
t
.
target
.
result
},
s
.
readAsDataURL
(
t
)})},
showImage
:
function
(
t
){
if
(
!
t
||
""
==
t
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
t
},
hideImage
:
function
(
t
){
this
.
imgShowFlag
=
t
}}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"single-upload-wrap"
},[
a
(
"el-upload"
,{
staticClass
:
"avatar-uploader"
,
attrs
:{
action
:
t
.
uploadUrl
(),
"show-file-list"
:
!
1
,
"on-success"
:
t
.
handleAvatarSuccess
,
"before-upload"
:
t
.
beforeAvatarUpload
}},[
t
.
imgSrc
?
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
imgSrc
},
on
:{
mouseover
:
function
(
e
){
t
.
showImage
(
t
.
imgSrc
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
""
!=
t
.
videoSrc
&&
0
==
t
.
videoFlag
?
a
(
"video"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
videoSrc
}},[
t
.
_v
(
"您的浏览器不支持视频播放"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
imgSrc
||
t
.
videoSrc
?
t
.
_e
():
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-plus avatar-uploader-icon"
}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-606266"
},[
t
.
_v
(
t
.
_s
(
1
==
t
.
uploadType
||
2
==
t
.
uploadType
?
"上传图片"
:
"上传视频"
))])])]),
t
.
_v
(
" "
),
1
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效
\
n "
)]):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
t
){
a
(
"0Lwl"
)},
"data-v-51d864ba"
,
null
);
e
.
a
=
c
.
exports
},
x5Fx
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
o
=
a
(
"mvHQ"
),
r
=
a
.
n
(
o
),
n
=
a
(
"fZjL"
),
i
=
a
.
n
(
n
),
c
=
a
(
"feRM"
),
l
=
a
(
"l46T"
),
p
=
a
(
"Kkt8"
),
m
=
a
(
"PI0u"
),
d
=
a
(
"P9l9"
),
u
=
a
(
"3E4D"
),
f
=
a
(
"Ch4/"
),
h
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
l
.
a
,
limitTextarea
:
p
.
a
,
singleUpload
:
c
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
appName
:
""
,
secret
:
""
,
enterpriseId
:
""
,
secretRelationId
:
""
},
rules
:{
appName
:[{
required
:
!
0
,
message
:
"请输入小程序名称"
,
trigger
:
"blur"
}],
agentid
:[{
required
:
!
0
,
message
:
"请输入agentid"
,
trigger
:
"blur"
}],
secret
:[{
required
:
!
0
,
message
:
"请输入secret"
,
trigger
:
"blur"
}],
enterpriseId
:[{
required
:
!
0
,
message
:
"请选择关联商户"
,
trigger
:
"change"
}]},
brandOptions
:[]}},
methods
:{
getBrandData
:
function
(){
var
t
=
this
;
Object
(
d
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
t
.
brandOptions
=
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
t
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
m
.
a
)(
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
t
&&
e
.
postSave
()})},
300
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
secretRelationId
:
t
.
ruleForm
.
secretRelationId
,
appName
:
t
.
ruleForm
.
appName
,
enterpriseId
:
t
.
ruleForm
.
enterpriseId
,
secret
:
t
.
ruleForm
.
secret
};
Object
(
d
.
d
)((
t
.
ruleForm
.
secretRelationId
,
"/haoban-manage3-web/member-secret-set"
),
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
==
a
.
errorCode
?(
u
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
$refs
.
ruleForm
.
resetFields
(),
t
.
$emit
(
"submitText"
)):
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
editRow
:
function
(
t
){
i
()(
t
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
r
()(
t
)))}},
mounted
:
function
(){
this
.
getBrandData
(),
i
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
r
()(
this
.
editRow
)))}},
g
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
editRow
.
materialId
?
"编辑"
:
"新建"
,
visible
:
t
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
ruleForm
,
rules
:
t
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"小程序名称"
,
prop
:
"appName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
t
.
ruleForm
.
appName
,
holder
:
"请输入小程序名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"appName"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"secret"
,
prop
:
"secret"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
t
.
ruleForm
.
secret
,
holder
:
"请输入secret"
,
getByType
:
"word"
,
maxLength
:
80
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"secret"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"关联商户"
,
prop
:
"enterpriseId"
}},[
a
(
"el-select"
,{
staticClass
:
"w-402"
,
attrs
:{
placeholder
:
"全部品牌"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
ruleForm
.
enterpriseId
,
callback
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"enterpriseId"
,
e
)},
expression
:
"ruleForm.enterpriseId"
}},
t
.
_l
(
t
.
brandOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
enterpriseId
,
attrs
:{
label
:
t
.
enterpriseName
,
value
:
t
.
enterpriseId
}})}))],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
toCancel
}},[
t
.
_v
(
"取消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
)}}},[
t
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
h
,
g
,
!
1
,
function
(
t
){
a
(
"2HqF"
)},
"data-v-017a971f"
,
null
).
exports
,
v
=
{
props
:{},
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请在企业密钥维护中输入对应的secret"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
companyObj
:{
smallVersion
:
""
,
corpName
:
""
,
corpid
:
""
,
contactFlag
:
!
1
,
verifiedEndTime
:
""
,
corpIndustry
:
""
,
corpSubIndustry
:
""
,
corpUserMax
:
""
,
location
:
""
,
wxSecretKey
:
""
,
contactSecret
:
""
,
memberSecret
:
""
,
wxSecretKeyFlag
:
!
0
,
contactSecretFlag
:
!
0
,
memberSecretFlag
:
!
0
,
wxSecretKeyLastTime
:
null
,
contactSecretLastTime
:
null
,
memberSecretLastTime
:
null
,
haobanSecret
:
""
,
haobanSecretFlag
:
!
0
,
haobanSecretLastTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
,
tableData
:[],
addShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
addSecret
:
function
(){
this
.
addShow
=!
0
,
this
.
editRow
=
{}},
toEdit
:
function
(
t
,
e
){
this
.
addShow
=!
0
,
this
.
editRow
=
e
},
closeText
:
function
(){
this
.
addShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
addShow
=!
1
,
this
.
editRow
=
{},
this
.
getAppData
()},
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前小程序信息?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
t
,
e
)}).
catch
(
function
(){})},
postDel
:
function
(
t
,
e
){
var
a
=
this
,
s
=
{
secretRelationId
:
e
.
secretRelationId
};
Object
(
d
.
d
)(
"/haoban-manage3-web/member-secret-set"
,
s
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getAppData
();
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
saveSecret
:
Object
(
m
.
a
)(
function
(
t
){
var
e
=
{};
if
(
1
==
t
&&
(
e
.
wxSecretKey
=
String
(
this
.
companyObj
.
wxSecretKey
).
trim
(),
this
.
showWxError
=!
this
.
companyObj
.
wxSecretKey
),
this
.
showWxError
||
this
.
showContactError
)
return
!
1
;
this
.
postSaveSecret
(
t
,
e
)},
300
),
postSaveSecret
:
function
(
t
,
e
){
var
a
=
this
,
s
=
1
==
t
?
"/wx-enterprise-wx-secret-set"
:
2
==
t
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-member-secret-set"
;
Object
(
d
.
d
)(
"/haoban-manage3-web/"
+
s
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
u
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getData
(),
!
1
;
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
e
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getAppData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/member-secret-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
d
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getAppData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
,
secretSet
:
b
}},
_
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"company-title m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"line-h-32"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
t
.
_v
(
"企业微信基本信息"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
refeshData
}},[
t
.
_v
(
"同步刷新 "
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
checkShow
?
t
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
t
.
tipText
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"105px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-r-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpName
))]),
t
.
_v
(
" "
),
a
(
"el-tag"
,[
t
.
_v
(
" "
+
t
.
_s
(
1
==
t
.
companyObj
.
contactFlag
?
"已认证"
:
"未认证"
))]),
1
==
t
.
companyObj
.
contactFlag
?
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"认证到期 "
+
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
t
.
companyObj
.
verifiedEndTime
)))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业ID"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpid
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"行业类型"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpIndustry
)
+
" / "
+
t
.
_s
(
t
.
companyObj
.
corpSubIndustry
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"人员规模"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpScale
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
location
))])])],
1
)],
1
),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body secret-body"
},[
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"客户联系secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
wxSecretKey
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"wxSecretKey"
,
e
)},
expression
:
"companyObj.wxSecretKey"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"1"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
wxSecretKeyLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
wxSecretKeyLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
wxSecretKeyFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
wxSecretKeyFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写客户联系 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"top-start"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
t
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
t
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
t
.
companyObj
.
contactSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"contactSecret"
,
e
)},
expression
:
"companyObj.contactSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"2"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
contactSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
contactSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
contactSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
contactSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"用于获取登录小程序用户的手机号/姓名/部门信息"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"好办助手secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
haobanSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"haobanSecret"
,
e
)},
expression
:
"companyObj.haobanSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"3"
)}}},[
t
.
_v
(
"保存"
)]),
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
companyObj
.
haobanSecretLastTime
||
t
.
formatTimeStamp
))]),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
haobanSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
haobanSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"secret-cell "
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"会员小程序secret:"
)])]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-5 font-14 color-303133 font-w-500"
},[
t
.
_v
(
"会员小程序信息"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-cell m-t-10 p-l-137"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"小程序名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
appName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"secret"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
secret
)))]),
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
row
.
check_flag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
check_flag
?
"校验成功"
:
"校验失败"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"关联商户"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
enterpriseName
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
update_time
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
update_time
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
tableData
.
length
<
10
?
a
(
"div"
,{
staticClass
:
"text-center add-cell cursor-pointer"
,
on
:{
click
:
t
.
addSecret
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus font-14 color-2f54eb"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-2f54eb p-l-5"
},[
t
.
_v
(
"新建"
)]),
a
(
"span"
,{
staticClass
:
"font-12 color-c0c4cc p-l-20"
},[
t
.
_v
(
"最多添加10个"
)])]):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
t
.
addShow
?
a
(
"secret-set"
,{
attrs
:{
editRow
:
t
.
editRow
},
on
:{
closeText
:
t
.
closeText
,
submitText
:
t
.
submitText
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
e
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
w
=
a
(
"VU/8"
)(
v
,
_
,
!
1
,
function
(
t
){
a
(
"TU+z"
)},
"data-v-931fab64"
,
null
);
e
.
default
=
w
.
exports
}});
\ No newline at end of file
dist/static/js/10.e1527a34851698120430.js
deleted
100644 → 0
View file @
4421af9f
webpackJsonp
([
10
],{
"0Lwl"
:
function
(
t
,
e
){},
"2HqF"
:
function
(
t
,
e
){},
feRM
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
a
(
"//Fk"
),
o
=
a
.
n
(
s
),
r
=
a
(
"Ch4/"
),
n
=
{
name
:
"single-upload"
,
props
:{
videoSrc
:{
type
:
String
,
default
:
""
},
imgSrc
:{
type
:
String
,
default
:
""
},
field
:{
type
:
String
,
default
:
""
},
uploadLimit
:{
type
:[
Number
,
String
],
default
:
2
},
uploadType
:{
type
:[
Number
,
String
],
default
:
1
}},
data
:
function
(){
return
{
projectName
:
""
,
imgShowFlag
:
!
1
,
imgUrl
:
""
,
videoFlag
:
!
1
,
fileType
:
1
==
this
.
uploadType
||
2
==
this
.
uploadType
?
"jpg"
:
"mp4"
}},
beforeMount
:
function
(){
var
t
=
window
.
location
.
origin
;
-
1
!=
t
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
t
},
methods
:{
uploadUrl
:
function
(){
var
t
=
window
.
location
.
origin
,
e
=
void
0
;
return
e
=
"-1"
!=
t
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
t
,
this
.
upUrl
=
e
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
handleAvatarSuccess
:
function
(
t
,
e
,
a
){
1
==
t
.
errorCode
?(
console
.
log
(
t
),
this
.
videoFlag
=!
1
,
3
==
this
.
uploadType
?
this
.
$emit
(
"update:videoSrc"
,
t
.
result
.
url
):
this
.
$emit
(
"update:imgSrc"
,
t
.
result
.
url
)):
r
.
a
.
errorMsg
(
t
)},
beforeAvatarUpload
:
function
(
t
){
console
.
log
(
t
),
this
.
fileType
=
"image/jpeg"
===
t
.
type
?
"jpeg"
:
"image/jpg"
===
t
.
type
?
"jpg"
:
"image/png"
===
t
.
type
?
"png"
:
"video/mp4"
==
t
.
type
?
"mp4"
:
""
;
var
e
=
"image/jpeg"
===
t
.
type
||
"image/jpg"
===
t
.
type
||
"image/png"
===
t
.
type
,
a
=
"video/mp4"
==
t
.
type
,
s
=
t
.
size
/
1024
/
1024
<
this
.
uploadLimit
;
return
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
e
||
this
.
$message
.
error
(
"上传图片支持png、jpg、jpeg格式!"
),
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
s
||
this
.
$message
.
error
(
"上传图片大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
!=
this
.
uploadType
||
a
||
this
.
$message
.
error
(
"上传视频支持MP4格式!"
),
3
!=
this
.
uploadType
||
s
||
this
.
$message
.
error
(
"上传视频大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
==
this
.
uploadType
?
a
&&
s
:
e
&&
s
&&
new
o
.
a
(
function
(
e
,
a
){
var
s
=
new
FileReader
;
s
.
onload
=
function
(
t
){
var
a
=
new
Image
;
a
.
onload
=
function
(){
this
.
width
,
this
.
height
;
e
()},
a
.
src
=
t
.
target
.
result
},
s
.
readAsDataURL
(
t
)})},
showImage
:
function
(
t
){
if
(
!
t
||
""
==
t
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
t
},
hideImage
:
function
(
t
){
this
.
imgShowFlag
=
t
}}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"single-upload-wrap"
},[
a
(
"el-upload"
,{
staticClass
:
"avatar-uploader"
,
attrs
:{
action
:
t
.
uploadUrl
(),
"show-file-list"
:
!
1
,
"on-success"
:
t
.
handleAvatarSuccess
,
"before-upload"
:
t
.
beforeAvatarUpload
}},[
t
.
imgSrc
?
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
imgSrc
},
on
:{
mouseover
:
function
(
e
){
t
.
showImage
(
t
.
imgSrc
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
""
!=
t
.
videoSrc
&&
0
==
t
.
videoFlag
?
a
(
"video"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
videoSrc
}},[
t
.
_v
(
"您的浏览器不支持视频播放"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
imgSrc
||
t
.
videoSrc
?
t
.
_e
():
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-plus avatar-uploader-icon"
}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-606266"
},[
t
.
_v
(
t
.
_s
(
1
==
t
.
uploadType
||
2
==
t
.
uploadType
?
"上传图片"
:
"上传视频"
))])])]),
t
.
_v
(
" "
),
1
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效
\
n "
)]):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
t
){
a
(
"0Lwl"
)},
"data-v-51d864ba"
,
null
);
e
.
a
=
c
.
exports
},
x5Fx
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
o
=
a
(
"mvHQ"
),
r
=
a
.
n
(
o
),
n
=
a
(
"fZjL"
),
i
=
a
.
n
(
n
),
c
=
a
(
"feRM"
),
l
=
a
(
"l46T"
),
p
=
a
(
"Kkt8"
),
m
=
a
(
"PI0u"
),
d
=
a
(
"P9l9"
),
u
=
a
(
"3E4D"
),
f
=
a
(
"Ch4/"
),
h
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
l
.
a
,
limitTextarea
:
p
.
a
,
singleUpload
:
c
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
appName
:
""
,
secret
:
""
,
enterpriseId
:
""
,
secretRelationId
:
""
},
rules
:{
appName
:[{
required
:
!
0
,
message
:
"请输入小程序名称"
,
trigger
:
"blur"
}],
agentid
:[{
required
:
!
0
,
message
:
"请输入agentid"
,
trigger
:
"blur"
}],
secret
:[{
required
:
!
0
,
message
:
"请输入secret"
,
trigger
:
"blur"
}],
enterpriseId
:[{
required
:
!
0
,
message
:
"请选择关联商户"
,
trigger
:
"change"
}]},
brandOptions
:[]}},
methods
:{
getBrandData
:
function
(){
var
t
=
this
;
Object
(
d
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
t
.
brandOptions
=
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
t
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
m
.
a
)(
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
t
&&
e
.
postSave
()})},
300
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
secretRelationId
:
t
.
ruleForm
.
secretRelationId
,
appName
:
t
.
ruleForm
.
appName
,
enterpriseId
:
t
.
ruleForm
.
enterpriseId
,
secret
:
t
.
ruleForm
.
secret
};
Object
(
d
.
d
)((
t
.
ruleForm
.
secretRelationId
,
"/haoban-manage3-web/member-secret-set"
),
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
==
a
.
errorCode
?(
u
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
$refs
.
ruleForm
.
resetFields
(),
t
.
$emit
(
"submitText"
)):
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
editRow
:
function
(
t
){
i
()(
t
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
r
()(
t
)))}},
mounted
:
function
(){
this
.
getBrandData
(),
i
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
r
()(
this
.
editRow
)))}},
g
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
editRow
.
materialId
?
"编辑"
:
"新建"
,
visible
:
t
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
ruleForm
,
rules
:
t
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"小程序名称"
,
prop
:
"appName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
t
.
ruleForm
.
appName
,
holder
:
"请输入小程序名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"appName"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"secret"
,
prop
:
"secret"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
t
.
ruleForm
.
secret
,
holder
:
"请输入secret"
,
getByType
:
"word"
,
maxLength
:
80
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"secret"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"关联商户"
,
prop
:
"enterpriseId"
}},[
a
(
"el-select"
,{
staticClass
:
"w-402"
,
attrs
:{
placeholder
:
"全部品牌"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
ruleForm
.
enterpriseId
,
callback
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"enterpriseId"
,
e
)},
expression
:
"ruleForm.enterpriseId"
}},
t
.
_l
(
t
.
brandOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
enterpriseId
,
attrs
:{
label
:
t
.
enterpriseName
,
value
:
t
.
enterpriseId
}})}))],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
toCancel
}},[
t
.
_v
(
"取消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
)}}},[
t
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
h
,
g
,
!
1
,
function
(
t
){
a
(
"2HqF"
)},
"data-v-017a971f"
,
null
).
exports
,
v
=
{
props
:{},
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请在企业密钥维护中输入对应的secret"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
companyObj
:{
smallVersion
:
""
,
corpName
:
""
,
corpid
:
""
,
contactFlag
:
!
1
,
verifiedEndTime
:
""
,
corpIndustry
:
""
,
corpSubIndustry
:
""
,
corpUserMax
:
""
,
location
:
""
,
wxSecretKey
:
""
,
contactSecret
:
""
,
memberSecret
:
""
,
wxSecretKeyFlag
:
!
0
,
contactSecretFlag
:
!
0
,
memberSecretFlag
:
!
0
,
wxSecretKeyLastTime
:
null
,
contactSecretLastTime
:
null
,
memberSecretLastTime
:
null
,
haobanSecret
:
""
,
haobanSecretFlag
:
!
0
,
haobanSecretLastTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
,
tableData
:[],
addShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
addSecret
:
function
(){
this
.
addShow
=!
0
,
this
.
editRow
=
{}},
toEdit
:
function
(
t
,
e
){
this
.
addShow
=!
0
,
this
.
editRow
=
e
},
closeText
:
function
(){
this
.
addShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
addShow
=!
1
,
this
.
editRow
=
{},
this
.
getAppData
()},
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前小程序信息?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
t
,
e
)}).
catch
(
function
(){})},
postDel
:
function
(
t
,
e
){
var
a
=
this
,
s
=
{
secretRelationId
:
e
.
secretRelationId
};
Object
(
d
.
d
)(
"/haoban-manage3-web/member-secret-set"
,
s
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getAppData
();
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
saveSecret
:
Object
(
m
.
a
)(
function
(
t
){
var
e
=
{};
if
(
1
==
t
&&
(
e
.
wxSecretKey
=
String
(
this
.
companyObj
.
wxSecretKey
).
trim
(),
this
.
showWxError
=!
this
.
companyObj
.
wxSecretKey
),
this
.
showWxError
||
this
.
showContactError
)
return
!
1
;
this
.
postSaveSecret
(
t
,
e
)},
300
),
postSaveSecret
:
function
(
t
,
e
){
var
a
=
this
,
s
=
1
==
t
?
"/wx-enterprise-wx-secret-set"
:
2
==
t
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-member-secret-set"
;
Object
(
d
.
d
)(
"/haoban-manage3-web/"
+
s
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
u
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getData
(),
!
1
;
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
e
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getAppData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/member-secret-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
d
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getAppData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
,
secretSet
:
b
}},
_
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"company-title m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"line-h-32"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
t
.
_v
(
"企业微信基本信息"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
refeshData
}},[
t
.
_v
(
"同步刷新 "
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
checkShow
?
t
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
t
.
tipText
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"105px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-r-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpName
))]),
t
.
_v
(
" "
),
a
(
"el-tag"
,[
t
.
_v
(
" "
+
t
.
_s
(
1
==
t
.
companyObj
.
contactFlag
?
"已认证"
:
"未认证"
))]),
1
==
t
.
companyObj
.
contactFlag
?
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"认证到期 "
+
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
t
.
companyObj
.
verifiedEndTime
)))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业ID"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpid
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"行业类型"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpIndustry
)
+
" / "
+
t
.
_s
(
t
.
companyObj
.
corpSubIndustry
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"人员规模"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpScale
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
location
))])])],
1
)],
1
),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body secret-body"
},[
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"客户联系secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
wxSecretKey
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"wxSecretKey"
,
e
)},
expression
:
"companyObj.wxSecretKey"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"1"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
wxSecretKeyLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
wxSecretKeyLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
wxSecretKeyFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
wxSecretKeyFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写客户联系 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"top-start"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
t
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
t
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
t
.
companyObj
.
contactSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"contactSecret"
,
e
)},
expression
:
"companyObj.contactSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"2"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
contactSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
contactSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
contactSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
contactSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"用于获取登录小程序用户的手机号/姓名/部门信息"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"好办助手secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
placeholder
:
"非必填"
},
model
:{
value
:
t
.
companyObj
.
haobanSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"haobanSecret"
,
e
)},
expression
:
"companyObj.haobanSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"3"
)}}},[
t
.
_v
(
"保存"
)]),
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
companyObj
.
haobanSecretLastTime
||
t
.
formatTimeStamp
))]),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
haobanSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
haobanSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"secret-cell "
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"会员小程序secret:"
)])]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-5 font-14 color-303133 font-w-500"
},[
t
.
_v
(
"会员小程序信息"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-cell m-t-10 p-l-137"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"小程序名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
appName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"secret"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
secret
)))]),
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
row
.
check_flag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
check_flag
?
"校验成功"
:
"校验失败"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"关联商户"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
enterpriseName
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
update_time
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
update_time
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
tableData
.
length
<
10
?
a
(
"div"
,{
staticClass
:
"text-center add-cell cursor-pointer"
,
on
:{
click
:
t
.
addSecret
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus font-14 color-2f54eb"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-2f54eb p-l-5"
},[
t
.
_v
(
"新建"
)]),
a
(
"span"
,{
staticClass
:
"font-12 color-c0c4cc p-l-20"
},[
t
.
_v
(
"最多添加10个"
)])]):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
t
.
addShow
?
a
(
"secret-set"
,{
attrs
:{
editRow
:
t
.
editRow
},
on
:{
closeText
:
t
.
closeText
,
submitText
:
t
.
submitText
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
e
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
w
=
a
(
"VU/8"
)(
v
,
_
,
!
1
,
function
(
t
){
a
(
"zWS7"
)},
"data-v-4e2ec6cb"
,
null
);
e
.
default
=
w
.
exports
},
zWS7
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/9.
61b5060c8db88ad06721
.js
→
dist/static/js/9.
4580fc194458ecf9d8f2
.js
View file @
611ddd55
webpackJsonp
([
9
],{
"5qQj"
:
function
(
e
,
t
){},
CJE6
:
function
(
e
,
t
){},
Xmpb
:
function
(
e
,
t
){},
Zx22
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:[
Object
,
Array
]}},
data
:
function
(){
return
{
repProjectName
:
"haoban-web"
,
customDialog
:
this
.
value
,
leftData
:[],
rightData
:[]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
e
,
t
){
function
a
(
e
){
return
e
>
9
?
""
+
e
:
"0"
+
e
}
var
s
=
new
Date
(
e
),
i
=
s
.
getFullYear
(),
o
=
s
.
getMonth
()
+
1
,
n
=
s
.
getDate
();
return
i
+
t
+
a
(
o
)
+
t
+
a
(
n
)
+
t
}},
watch
:{
value
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
storeChangeData
:
function
(
e
,
t
){
this
.
leftData
=
e
.
beforeContent
,
this
.
rightData
=
e
.
afterContent
}},
mounted
:
function
(){
this
.
leftData
=
this
.
storeChangeData
.
beforeContent
,
this
.
rightData
=
this
.
storeChangeData
.
afterContent
}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店图片变更"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更前
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column"
},[
e
.
_l
(
e
.
leftData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img"
+
t
,
attrs
:{
src
:
e
,
alt
:
""
}})]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更后
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column"
},[
e
.
_l
(
e
.
rightData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img0"
+
t
,
attrs
:{
src
:
e
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"CJE6"
)},
"data-v-5a02018c"
,
null
);
t
.
a
=
o
.
exports
},
uEj7
:
function
(
e
,
t
){},
xCEU
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"//Fk"
),
i
=
a
.
n
(
s
),
o
=
a
(
"Zx22"
),
n
=
a
(
"Ch4/"
),
l
=
a
(
"P9l9"
),
r
=
{
name
:
"record-list"
,
props
:{
detailShow
:{
type
:
Boolean
,
default
:
!
1
},
batchId
:{
type
:
String
,
default
:
""
},
tableListData
:{
type
:
Object
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
customDialog
:
!
1
,
tableData
:[]}},
methods
:{
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideDetailDialog"
)},
getTableData
:
function
(){
var
e
=
this
,
t
=
{
batchId
:
e
.
batchId
};
Object
(
l
.
a
)(
"/haoban-manage3-web/audit/audit-detail-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
e
.
tableData
=
a
.
result
.
result
||
[]}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
detailShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
batchId
:
function
(
e
,
t
){
this
.
newData
&&
this
.
getTableData
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
detailShow
,
this
.
batchId
&&
this
.
getTableData
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"审核详情"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"332"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"publishRecordId"
,
label
:
"审核事项"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
auditingType
?
"门店信息变更"
:
1
==
t
.
row
.
auditingType
?
"新增成员"
:
2
==
t
.
row
.
auditingType
?
"成员离职"
:
"转移成员"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"品牌"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
enterpriseName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
width
:
"150"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
rowcommitName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
commitTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
commitTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核结果"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
auditResult
)
+
"
\
n "
)]}}])})],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
e
){
a
(
"5qQj"
)},
"data-v-664cf256"
,
null
).
exports
,
d
=
{
name
:
"record-list"
,
props
:{
resultText
:{
type
:
String
,
default
:
""
},
resultShow
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
customDialog
:
this
.
resultShow
}},
methods
:{
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideResultDialog"
)},
showDetail
:
function
(){
this
.
$emit
(
"showResultDetail"
)}},
watch
:{
resultShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
}},
mounted
:
function
(){
this
.
customDialog
=
this
.
resultShow
}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"提示"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
a
(
"div"
,{
staticClass
:
"result-content"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
resultText
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
showDetail
}},[
e
.
_v
(
"查看详情"
)])],
1
)])])],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
d
,
f
,
!
1
,
function
(
e
){
a
(
"uEj7"
)},
"data-v-305aa100"
,
null
).
exports
,
p
=
a
(
"3E4D"
),
g
=
a
(
"PI0u"
),
v
=
{
name
:
"unreview"
,
data
:
function
(){
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
auditName
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
filterValue
:
""
,
filterBrand
:
""
,
brandOptions
:[],
searchValue
:
""
,
filterOptions
:[{
label
:
"全部事项"
,
value
:
""
},{
label
:
"门店信息变更"
,
value
:
"1"
},{
label
:
"门店账号申请"
,
value
:
"2"
},{
label
:
"门店导购变更"
,
value
:
"3"
}],
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
selectId
:
""
,
ruleForm
:{
refuseReason
:
""
},
rules
:{
refuseReason
:[{
required
:
!
0
,
message
:
"拒绝理由不能为空"
,
trigger
:
"change"
},{
min
:
1
,
max
:
50
,
message
:
"长度在 1 到 50 个字"
,
trigger
:
"change"
}]},
showStoreDialog
:
!
1
,
storeChangeData
:{
beforeContent
:[],
afterContent
:[]},
approveVisible
:
!
1
,
refuseVisible
:
!
1
,
detailShow
:
!
1
,
resultShow
:
!
1
,
tableListData
:[],
batchId
:
""
,
resultText
:
""
,
userData
:{
staffName
:
""
,
phoneNumber
:
""
,
nationCode
:
""
,
postion
:
""
,
departmentName
:
""
,
headImg
:
""
}}},
computed
:{},
methods
:{
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchEnterFun
:
Object
(
g
.
a
)(
function
(
e
){
if
(
!
String
(
e
.
target
.
value
).
trim
())
return
!
1
;
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
hideDetailDialog
:
function
(){
this
.
detailShow
=!
1
},
hideResultDialog
:
function
(){
this
.
resultShow
=!
1
,
this
.
getTableList
()},
showResultDetail
:
function
(){
this
.
detailShow
=!
0
},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleClick
:
function
(
e
,
t
,
a
){
var
s
=
this
;
if
(
s
.
selectId
=
t
.
auditId
,
a
&&
(
s
.
refuseVisible
=!
0
),
a
)
return
!
1
;
s
.
$confirm
(
"是否确认同意?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
s
.
sendApprove
()}).
catch
(
function
(){
s
.
selectId
=
""
})},
sendApprove
:
Object
(
g
.
a
)(
function
(){
this
.
postApprove
(
this
.
selectId
)},
500
),
approveAll
:
function
(){
var
e
=
this
,
t
=
e
.
multipleSelection
.
length
?
e
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
auditId
}).
join
(
","
):
""
;
if
(
!
t
)
return
e
.
$message
({
message
:
"请至少选择一条审核事项"
,
type
:
"warning"
}),
!
1
;
e
.
$confirm
(
"共"
+
e
.
multipleSelection
.
length
+
"条审核事项,是否批量同意?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
postAllApprove
(
t
)})},
postApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
auditId
:
e
,
auditName
:
t
.
auditName
};
Object
(
l
.
d
)(
"/haoban-manage3-web/audit/audit"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
approveVisible
=!
1
,
t
.
getTableList
(),
void
t
.
$forceUpdate
();
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postAllApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
auditIds
:
e
};
Object
(
l
.
d
)(
"/haoban-manage3-web/audit/batch-approve"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
batchId
=
a
.
result
.
batchId
,
t
.
resultText
=
"共"
+
t
.
multipleSelection
.
length
+
"条审核事项,"
+
a
.
result
.
successCount
+
"条成功,"
+
a
.
result
.
failCount
+
"条失败"
,
void
(
t
.
resultShow
=!
0
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancelRefuse
:
function
(
e
){
this
.
refuseVisible
=!
1
,
this
.
$refs
.
ruleForm
.
resetFields
()},
sendRefuse
:
Object
(
g
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postRefuse
()})},
500
),
postRefuse
:
function
(){
var
e
=
this
,
t
=
{
auditName
:
e
.
auditName
,
auditId
:
e
.
selectId
,
auditReason
:
e
.
ruleForm
.
refuseReason
};
Object
(
l
.
a
)(
"/haoban-manage3-web/audit/refuse"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
refuseVisible
=!
1
,
e
.
$refs
.
ruleForm
.
resetFields
(),
void
e
.
getTableList
();
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
showSingleInfo
:
function
(
e
){
var
t
=
this
,
a
=
{
staffId
:
e
};
Object
(
l
.
d
)(
"/haoban-manage3-web/get-staff-info"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
t
.
userData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
showStoreChange
:
function
(
e
){
this
.
storeChangeData
=
{
beforeContent
:[],
afterContent
:[]},
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
{
beforeContent
:
""
!=
e
.
oldValue
?
e
.
oldValue
.
split
(
","
):[],
afterContent
:
""
!=
e
.
newValue
?
e
.
newValue
.
split
(
","
):[]}},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
l
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
e
.
brandOptions
=
a
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toLogin
:
function
(){
var
e
=
this
;
return
new
i
.
a
(
function
(
t
,
a
){
Object
(
l
.
a
)(
"/haoban-manage3-web/get-login-info"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?(
n
.
a
.
errorMsg
(
a
),
t
({
wxEnterpriseId
:
""
})):
t
(
a
.
result
.
wxEnterpriseId
)}).
catch
(
function
(
a
){
t
({
wxEnterpriseId
:
""
}),
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})})},
getTableList
:
function
(
e
){
var
t
=
this
;
e
&&
(
t
.
currentPage
=
1
);
var
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
,
auditType
:
t
.
filterValue
,
auditStatus
:
"0"
,
auditFlag
:
"0"
,
search
:
t
.
searchValue
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
enterpriseId
:
t
.
filterBrand
};
Object
(
l
.
a
)(
"/haoban-manage3-web/audit/find-page"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
total
=
a
.
result
.
totalCount
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
this
.
getTableList
(),
this
.
getBrandData
()},
components
:{
storeChange
:
o
.
a
,
reviewResultDetail
:
u
,
reviewResult
:
h
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 126px)"
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-250 "
,
attrs
:{
placeholder
:
"请输入提交人姓名或门店名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
searchEnterFun
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchValue
,
callback
:
function
(
t
){
e
.
searchValue
=
t
},
expression
:
"searchValue"
}}),
a
(
"el-select"
,{
staticClass
:
"w-130 m-l-10"
,
attrs
:{
placeholder
:
"全部事项"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
filterValue
,
callback
:
function
(
t
){
e
.
filterValue
=
t
},
expression
:
"filterValue"
}},
e
.
_l
(
e
.
filterOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部品牌"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
filterBrand
,
callback
:
function
(
t
){
e
.
filterBrand
=
t
},
expression
:
"filterBrand"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部品牌"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
brandOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
approveAll
}},[
e
.
_v
(
"批量同意"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
auditType
?
"门店信息变更"
:
2
==
t
.
row
.
auditType
?
"门店账号申请"
:
"门店导购变更"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"300"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
commitStaffId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
userData
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
userData
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
userData
.
staffName
||
"--"
)
+
" ( "
+
e
.
_s
(
e
.
userData
.
position
||
"--"
)
+
")
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
"86"
==
e
.
userData
.
nationCode
?
e
.
userData
.
phoneNumber
:
"+"
+
e
.
userData
.
nationCode
+
"-"
+
e
.
userData
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属部门:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
e
.
userData
.
departmentName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"
},[
t
.
row
.
commitStaffImg
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
commitStaffImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
commitStaffName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
commitStoreName
||
"--"
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
6
!=
t
.
row
.
changeField
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
detail
))]):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
row
.
changeField
?
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
detail
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showStoreChange
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])],
1
):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"同意"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
,
"refuse"
)}}},[
e
.
_v
(
"拒绝"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
e
.
storeChangeData
},
model
:{
value
:
e
.
showStoreDialog
,
callback
:
function
(
t
){
e
.
showStoreDialog
=
t
},
expression
:
"showStoreDialog"
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"approve-dialog"
,
attrs
:{
title
:
""
,
visible
:
e
.
approveVisible
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
approveVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"approve-body text-center"
},[
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-success"
}),
a
(
"span"
,{
staticClass
:
"approve-icon-tip"
},[
e
.
_v
(
"同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-tip"
},[
e
.
_v
(
"是否确认同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
approveVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sendApprove
}},[
e
.
_v
(
"确 定"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"refuse-dialog"
,
attrs
:{
title
:
"提示"
,
visible
:
e
.
refuseVisible
,
"before-close"
:
e
.
cancelRefuse
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
refuseVisible
=
t
}}},[
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"refuse-tip"
},[
e
.
_v
(
"请输入拒绝理由"
)]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"refuseReason"
}},[
a
(
"el-input"
,{
staticClass
:
"font-14"
,
attrs
:{
type
:
"textarea"
,
placeholder
:
"最多 50 个字"
,
rows
:
3
},
model
:{
value
:
e
.
ruleForm
.
refuseReason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"refuseReason"
,
t
)},
expression
:
"ruleForm.refuseReason"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
cancelRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
sendRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"确 定"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"review-result-detail"
,{
attrs
:{
batchId
:
e
.
batchId
,
detailShow
:
e
.
detailShow
},
on
:{
hideDetailDialog
:
e
.
hideDetailDialog
}}),
e
.
_v
(
" "
),
a
(
"review-result"
,{
attrs
:{
resultText
:
e
.
resultText
,
resultShow
:
e
.
resultShow
},
on
:{
showResultDetail
:
e
.
showResultDetail
,
hideResultDialog
:
e
.
hideResultDialog
}})],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
v
,
m
,
!
1
,
function
(
e
){
a
(
"Xmpb"
)},
"data-v-dd836a60"
,
null
);
t
.
default
=
b
.
exports
}});
webpackJsonp
([
9
],{
"5qQj"
:
function
(
e
,
t
){},
CJE6
:
function
(
e
,
t
){},
Zx22
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:[
Object
,
Array
]}},
data
:
function
(){
return
{
repProjectName
:
"haoban-web"
,
customDialog
:
this
.
value
,
leftData
:[],
rightData
:[]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
e
,
t
){
function
a
(
e
){
return
e
>
9
?
""
+
e
:
"0"
+
e
}
var
s
=
new
Date
(
e
),
o
=
s
.
getFullYear
(),
i
=
s
.
getMonth
()
+
1
,
n
=
s
.
getDate
();
return
o
+
t
+
a
(
i
)
+
t
+
a
(
n
)
+
t
}},
watch
:{
value
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
storeChangeData
:
function
(
e
,
t
){
this
.
leftData
=
e
.
beforeContent
,
this
.
rightData
=
e
.
afterContent
}},
mounted
:
function
(){
this
.
leftData
=
this
.
storeChangeData
.
beforeContent
,
this
.
rightData
=
this
.
storeChangeData
.
afterContent
}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店图片变更"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更前
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column"
},[
e
.
_l
(
e
.
leftData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img"
+
t
,
attrs
:{
src
:
e
,
alt
:
""
}})]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更后
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column"
},[
e
.
_l
(
e
.
rightData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img0"
+
t
,
attrs
:{
src
:
e
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
e
){
a
(
"CJE6"
)},
"data-v-5a02018c"
,
null
);
t
.
a
=
i
.
exports
},
uEj7
:
function
(
e
,
t
){},
vJmV
:
function
(
e
,
t
){},
xCEU
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"//Fk"
),
o
=
a
.
n
(
s
),
i
=
a
(
"Zx22"
),
n
=
a
(
"Ch4/"
),
l
=
a
(
"P9l9"
),
r
=
{
name
:
"record-list"
,
props
:{
detailShow
:{
type
:
Boolean
,
default
:
!
1
},
batchId
:{
type
:
String
,
default
:
""
},
tableListData
:{
type
:
Object
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
customDialog
:
!
1
,
tableData
:[]}},
methods
:{
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideDetailDialog"
)},
getTableData
:
function
(){
var
e
=
this
,
t
=
{
batchId
:
e
.
batchId
};
Object
(
l
.
a
)(
"/haoban-manage3-web/audit/audit-detail-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
e
.
tableData
=
a
.
result
.
result
||
[]}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
detailShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
batchId
:
function
(
e
,
t
){
this
.
newData
&&
this
.
getTableData
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
detailShow
,
this
.
batchId
&&
this
.
getTableData
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"审核详情"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"332"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"publishRecordId"
,
label
:
"审核事项"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
auditingType
?
"门店信息变更"
:
1
==
t
.
row
.
auditingType
?
"新增成员"
:
2
==
t
.
row
.
auditingType
?
"成员离职"
:
"转移成员"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"品牌"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
enterpriseName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
width
:
"150"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
rowcommitName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
commitTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
commitTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核结果"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
auditResult
)
+
"
\
n "
)]}}])})],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
e
){
a
(
"5qQj"
)},
"data-v-664cf256"
,
null
).
exports
,
d
=
{
name
:
"record-list"
,
props
:{
resultText
:{
type
:
String
,
default
:
""
},
resultShow
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
customDialog
:
this
.
resultShow
}},
methods
:{
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideResultDialog"
)},
showDetail
:
function
(){
this
.
$emit
(
"showResultDetail"
)}},
watch
:{
resultShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
}},
mounted
:
function
(){
this
.
customDialog
=
this
.
resultShow
}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"提示"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
a
(
"div"
,{
staticClass
:
"result-content"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
resultText
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
showDetail
}},[
e
.
_v
(
"查看详情"
)])],
1
)])])],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
d
,
f
,
!
1
,
function
(
e
){
a
(
"uEj7"
)},
"data-v-305aa100"
,
null
).
exports
,
p
=
a
(
"3E4D"
),
g
=
a
(
"PI0u"
),
v
=
{
name
:
"unreview"
,
data
:
function
(){
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
auditName
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
filterValue
:
""
,
filterBrand
:
""
,
brandOptions
:[],
searchValue
:
""
,
filterOptions
:[{
label
:
"全部事项"
,
value
:
""
},{
label
:
"门店信息变更"
,
value
:
"1"
},{
label
:
"门店账号申请"
,
value
:
"2"
},{
label
:
"门店导购变更"
,
value
:
"3"
}],
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
selectId
:
""
,
ruleForm
:{
refuseReason
:
""
},
rules
:{
refuseReason
:[{
required
:
!
0
,
message
:
"拒绝理由不能为空"
,
trigger
:
"change"
},{
min
:
1
,
max
:
50
,
message
:
"长度在 1 到 50 个字"
,
trigger
:
"change"
}]},
showStoreDialog
:
!
1
,
storeChangeData
:{
beforeContent
:[],
afterContent
:[]},
approveVisible
:
!
1
,
refuseVisible
:
!
1
,
detailShow
:
!
1
,
resultShow
:
!
1
,
tableListData
:[],
batchId
:
""
,
resultText
:
""
,
userData
:{
staffName
:
""
,
phoneNumber
:
""
,
nationCode
:
""
,
postion
:
""
,
departmentName
:
""
,
headImg
:
""
}}},
computed
:{},
methods
:{
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchEnterFun
:
Object
(
g
.
a
)(
function
(
e
){
if
(
!
String
(
e
.
target
.
value
).
trim
())
return
!
1
;
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
hideDetailDialog
:
function
(){
this
.
detailShow
=!
1
},
hideResultDialog
:
function
(){
this
.
resultShow
=!
1
,
this
.
getTableList
()},
showResultDetail
:
function
(){
this
.
detailShow
=!
0
},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleClick
:
function
(
e
,
t
,
a
){
var
s
=
this
;
if
(
s
.
selectId
=
t
.
auditId
,
a
&&
(
s
.
refuseVisible
=!
0
),
a
)
return
!
1
;
s
.
$confirm
(
"是否确认同意?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
s
.
sendApprove
()}).
catch
(
function
(){
s
.
selectId
=
""
})},
sendApprove
:
Object
(
g
.
a
)(
function
(){
this
.
postApprove
(
this
.
selectId
)},
500
),
approveAll
:
function
(){
var
e
=
this
,
t
=
e
.
multipleSelection
.
length
?
e
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
auditId
}).
join
(
","
):
""
;
if
(
!
t
)
return
e
.
$message
({
message
:
"请至少选择一条审核事项"
,
type
:
"warning"
}),
!
1
;
e
.
$confirm
(
"共"
+
e
.
multipleSelection
.
length
+
"条审核事项,是否批量同意?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
postAllApprove
(
t
)})},
postApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
auditId
:
e
,
auditName
:
t
.
auditName
};
Object
(
l
.
d
)(
"/haoban-manage3-web/audit/audit"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
approveVisible
=!
1
,
t
.
getTableList
(),
void
t
.
$forceUpdate
();
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postAllApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
auditIds
:
e
};
Object
(
l
.
d
)(
"/haoban-manage3-web/audit/batch-approve"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
batchId
=
a
.
result
.
batchId
,
t
.
resultText
=
"共"
+
t
.
multipleSelection
.
length
+
"条审核事项,"
+
a
.
result
.
successCount
+
"条成功,"
+
a
.
result
.
failCount
+
"条失败"
,
void
(
t
.
resultShow
=!
0
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancelRefuse
:
function
(
e
){
this
.
refuseVisible
=!
1
,
this
.
$refs
.
ruleForm
.
resetFields
()},
sendRefuse
:
Object
(
g
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postRefuse
()})},
500
),
postRefuse
:
function
(){
var
e
=
this
,
t
=
{
auditName
:
e
.
auditName
,
auditId
:
e
.
selectId
,
auditReason
:
e
.
ruleForm
.
refuseReason
};
Object
(
l
.
a
)(
"/haoban-manage3-web/audit/refuse"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
refuseVisible
=!
1
,
e
.
$refs
.
ruleForm
.
resetFields
(),
void
e
.
getTableList
();
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
showSingleInfo
:
function
(
e
){
var
t
=
this
,
a
=
{
staffId
:
e
};
Object
(
l
.
d
)(
"/haoban-manage3-web/get-staff-info"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
t
.
userData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
showStoreChange
:
function
(
e
){
this
.
storeChangeData
=
{
beforeContent
:[],
afterContent
:[]},
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
{
beforeContent
:
""
!=
e
.
oldValue
?
e
.
oldValue
.
split
(
","
):[],
afterContent
:
""
!=
e
.
newValue
?
e
.
newValue
.
split
(
","
):[]}},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
l
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
e
.
brandOptions
=
a
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toLogin
:
function
(){
var
e
=
this
;
return
new
o
.
a
(
function
(
t
,
a
){
Object
(
l
.
a
)(
"/haoban-manage3-web/get-login-info"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?(
n
.
a
.
errorMsg
(
a
),
t
({
wxEnterpriseId
:
""
})):
t
(
a
.
result
.
wxEnterpriseId
)}).
catch
(
function
(
a
){
t
({
wxEnterpriseId
:
""
}),
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})})},
getTableList
:
function
(
e
){
var
t
=
this
;
e
&&
(
t
.
currentPage
=
1
);
var
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
,
auditType
:
t
.
filterValue
,
auditStatus
:
"0"
,
auditFlag
:
"0"
,
search
:
t
.
searchValue
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
enterpriseId
:
t
.
filterBrand
};
Object
(
l
.
a
)(
"/haoban-manage3-web/audit/find-page"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
total
=
a
.
result
.
totalCount
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
this
.
getTableList
(),
this
.
getBrandData
()},
components
:{
storeChange
:
i
.
a
,
reviewResultDetail
:
u
,
reviewResult
:
h
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 126px)"
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-250 "
,
attrs
:{
placeholder
:
"请输入提交人姓名或门店名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
searchEnterFun
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchValue
,
callback
:
function
(
t
){
e
.
searchValue
=
t
},
expression
:
"searchValue"
}}),
a
(
"el-select"
,{
staticClass
:
"w-130 m-l-10"
,
attrs
:{
placeholder
:
"全部事项"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
filterValue
,
callback
:
function
(
t
){
e
.
filterValue
=
t
},
expression
:
"filterValue"
}},
e
.
_l
(
e
.
filterOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部品牌"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
filterBrand
,
callback
:
function
(
t
){
e
.
filterBrand
=
t
},
expression
:
"filterBrand"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部品牌"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
brandOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})})],
2
),
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
e
.
_v
(
"展示管理员审核记录及门店成员自助增删导购及用户关联记录"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
approveAll
}},[
e
.
_v
(
"批量同意"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
auditType
?
"门店信息变更"
:
2
==
t
.
row
.
auditType
?
"门店账号申请"
:
"门店导购变更"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"300"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
commitStaffId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
userData
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
userData
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
userData
.
staffName
||
"--"
)
+
" ( "
+
e
.
_s
(
e
.
userData
.
position
||
"--"
)
+
")
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
"86"
==
e
.
userData
.
nationCode
?
e
.
userData
.
phoneNumber
:
"+"
+
e
.
userData
.
nationCode
+
"-"
+
e
.
userData
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属部门:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
e
.
userData
.
departmentName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"
},[
t
.
row
.
commitStaffImg
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
commitStaffImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
commitStaffName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
commitStoreName
||
"--"
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
6
!=
t
.
row
.
changeField
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
detail
))]):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
row
.
changeField
?
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
detail
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showStoreChange
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])],
1
):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"同意"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
,
"refuse"
)}}},[
e
.
_v
(
"拒绝"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
e
.
storeChangeData
},
model
:{
value
:
e
.
showStoreDialog
,
callback
:
function
(
t
){
e
.
showStoreDialog
=
t
},
expression
:
"showStoreDialog"
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"approve-dialog"
,
attrs
:{
title
:
""
,
visible
:
e
.
approveVisible
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
approveVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"approve-body text-center"
},[
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-success"
}),
a
(
"span"
,{
staticClass
:
"approve-icon-tip"
},[
e
.
_v
(
"同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-tip"
},[
e
.
_v
(
"是否确认同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
approveVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sendApprove
}},[
e
.
_v
(
"确 定"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"refuse-dialog"
,
attrs
:{
title
:
"提示"
,
visible
:
e
.
refuseVisible
,
"before-close"
:
e
.
cancelRefuse
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
refuseVisible
=
t
}}},[
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"refuse-tip"
},[
e
.
_v
(
"请输入拒绝理由"
)]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"refuseReason"
}},[
a
(
"el-input"
,{
staticClass
:
"font-14"
,
attrs
:{
type
:
"textarea"
,
placeholder
:
"最多 50 个字"
,
rows
:
3
},
model
:{
value
:
e
.
ruleForm
.
refuseReason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"refuseReason"
,
t
)},
expression
:
"ruleForm.refuseReason"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
cancelRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
sendRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"确 定"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"review-result-detail"
,{
attrs
:{
batchId
:
e
.
batchId
,
detailShow
:
e
.
detailShow
},
on
:{
hideDetailDialog
:
e
.
hideDetailDialog
}}),
e
.
_v
(
" "
),
a
(
"review-result"
,{
attrs
:{
resultText
:
e
.
resultText
,
resultShow
:
e
.
resultShow
},
on
:{
showResultDetail
:
e
.
showResultDetail
,
hideResultDialog
:
e
.
hideResultDialog
}})],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
v
,
m
,
!
1
,
function
(
e
){
a
(
"vJmV"
)},
"data-v-708e37bf"
,
null
);
t
.
default
=
b
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
0509c18ee40a6a6fd9ec
.js
→
dist/static/js/manifest.
a17e8ffb9c761c754107
.js
View file @
611ddd55
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
77
:
0
};
function
d
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"1e01efaf386c04cc0fc5"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"14a128db1e8e40a0f5a7"
,
3
:
"23d5ab1c35d66fa2a975"
,
4
:
"0476be0fe43e41d6a432"
,
5
:
"73a0e3818658b09f6122"
,
6
:
"b664f8ec6ae60bf363a2"
,
7
:
"ece0a2d210892b176e55"
,
8
:
"7d0a8e6532c58d0c2415"
,
9
:
"61b5060c8db88ad06721"
,
10
:
"e1527a34851698120430"
,
11
:
"5f5e1cf6d55d8609ba40"
,
12
:
"0b370ee5f1f094e8a182"
,
13
:
"8b3c8b2d63fb98063c07"
,
14
:
"659375879cb1d59d0654"
,
15
:
"eb4a33b11e1bcfc10d01"
,
16
:
"134bd71f723e9fe1a8e0"
,
17
:
"ebf1847c50132c6f96a7"
,
18
:
"7fa0be27d3ea523f8826"
,
19
:
"63ca1f785b71646ef739"
,
20
:
"4f936f5247554d2c790d"
,
21
:
"a261cb3933029837028f"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"091f2a220d4cf1c0cf2a"
,
24
:
"7a57624e89e34e420a52"
,
25
:
"326a8c2ad9617bfe863c"
,
26
:
"458f45f2633ae24c5755"
,
27
:
"aa816867f4d0cb0d6131"
,
28
:
"53e6616ed021ab731d6c"
,
29
:
"a449f52d59c8c87965fd"
,
30
:
"ad1f21c495322d42096c"
,
31
:
"6445ecc72f036f4c2c27"
,
32
:
"eacdca24b86a209641f4"
,
33
:
"5bb79c7eeb67776e948e"
,
34
:
"bb8c1b7fb3ddf2f14229"
,
35
:
"cf76e4b74afa283a3eec"
,
36
:
"db02c347e3e009b70eac"
,
37
:
"f2bd11ca0a31fafb968c"
,
38
:
"8dacabcebbcf33c09d69"
,
39
:
"97f9a2be846a355358cb"
,
40
:
"a1ba1d1fe2d9bd9bd52c"
,
41
:
"5de0b0767fe465cb318d"
,
42
:
"cac405d22b8bbf065318"
,
43
:
"ee53d0cfde34d3580803"
,
44
:
"18caf7a9b6eb751cc55c"
,
45
:
"552e1acf5e0e21eb23fd"
,
46
:
"e26e59ea51d30a606602"
,
47
:
"0f4ae46c1bf9717fbe18"
,
48
:
"6950dd5f59a109e09bf1"
,
49
:
"a6f7a2dce27db52104e5"
,
50
:
"909c9e85ea51f2841902"
,
51
:
"3d768cd09b88e9fc1dfe"
,
52
:
"21378cae9a2a9603ea77"
,
53
:
"9f8169420235fafef868"
,
54
:
"1006843da5741c3a2385"
,
55
:
"2262933e6a0018b042ae"
,
56
:
"73b68bf666e957ef53f5"
,
57
:
"1575780ed0bc566dc822"
,
58
:
"8b45e9d696c27598cc95"
,
59
:
"8c417a72038befa44f3e"
,
60
:
"e10d02ed3d3fd3f20f60"
,
61
:
"1c97fc1aa04abac9cbfd"
,
62
:
"0a11009993db4a2531bf"
,
63
:
"b62d98988a2f683868f1"
,
64
:
"505a529e5cda237ea46f"
,
65
:
"bb570dcb8ac1e63ede24"
,
66
:
"1f3eeec8d6c7fdd1a997"
,
67
:
"4d39ac45373e1725daf5"
,
68
:
"1cc4f0da6ca2684e5b24"
,
69
:
"a22bd372ffd03e077cce"
,
70
:
"b999d4bf8b805f03bd2b"
,
71
:
"d19b0a20ea22d410b91d"
,
72
:
"ae171a4233296a9ac4b4"
,
73
:
"0c069b06ad167faadfc6"
,
74
:
"1a9f6769ec276b6ccb89"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
77
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"1e01efaf386c04cc0fc5"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"14a128db1e8e40a0f5a7"
,
3
:
"23d5ab1c35d66fa2a975"
,
4
:
"0476be0fe43e41d6a432"
,
5
:
"73a0e3818658b09f6122"
,
6
:
"b664f8ec6ae60bf363a2"
,
7
:
"ece0a2d210892b176e55"
,
8
:
"7d0a8e6532c58d0c2415"
,
9
:
"4580fc194458ecf9d8f2"
,
10
:
"d125d5ffcb67800f2c75"
,
11
:
"5f5e1cf6d55d8609ba40"
,
12
:
"0b370ee5f1f094e8a182"
,
13
:
"8b3c8b2d63fb98063c07"
,
14
:
"659375879cb1d59d0654"
,
15
:
"eb4a33b11e1bcfc10d01"
,
16
:
"134bd71f723e9fe1a8e0"
,
17
:
"ebf1847c50132c6f96a7"
,
18
:
"7fa0be27d3ea523f8826"
,
19
:
"63ca1f785b71646ef739"
,
20
:
"4f936f5247554d2c790d"
,
21
:
"a261cb3933029837028f"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"091f2a220d4cf1c0cf2a"
,
24
:
"7a57624e89e34e420a52"
,
25
:
"326a8c2ad9617bfe863c"
,
26
:
"458f45f2633ae24c5755"
,
27
:
"aa816867f4d0cb0d6131"
,
28
:
"53e6616ed021ab731d6c"
,
29
:
"a449f52d59c8c87965fd"
,
30
:
"ad1f21c495322d42096c"
,
31
:
"6445ecc72f036f4c2c27"
,
32
:
"eacdca24b86a209641f4"
,
33
:
"5bb79c7eeb67776e948e"
,
34
:
"bb8c1b7fb3ddf2f14229"
,
35
:
"cf76e4b74afa283a3eec"
,
36
:
"db02c347e3e009b70eac"
,
37
:
"f2bd11ca0a31fafb968c"
,
38
:
"8dacabcebbcf33c09d69"
,
39
:
"97f9a2be846a355358cb"
,
40
:
"a1ba1d1fe2d9bd9bd52c"
,
41
:
"5de0b0767fe465cb318d"
,
42
:
"cac405d22b8bbf065318"
,
43
:
"ee53d0cfde34d3580803"
,
44
:
"18caf7a9b6eb751cc55c"
,
45
:
"552e1acf5e0e21eb23fd"
,
46
:
"e26e59ea51d30a606602"
,
47
:
"0f4ae46c1bf9717fbe18"
,
48
:
"6950dd5f59a109e09bf1"
,
49
:
"a6f7a2dce27db52104e5"
,
50
:
"909c9e85ea51f2841902"
,
51
:
"3d768cd09b88e9fc1dfe"
,
52
:
"21378cae9a2a9603ea77"
,
53
:
"9f8169420235fafef868"
,
54
:
"1006843da5741c3a2385"
,
55
:
"2262933e6a0018b042ae"
,
56
:
"73b68bf666e957ef53f5"
,
57
:
"1575780ed0bc566dc822"
,
58
:
"8b45e9d696c27598cc95"
,
59
:
"8c417a72038befa44f3e"
,
60
:
"e10d02ed3d3fd3f20f60"
,
61
:
"1c97fc1aa04abac9cbfd"
,
62
:
"0a11009993db4a2531bf"
,
63
:
"b62d98988a2f683868f1"
,
64
:
"505a529e5cda237ea46f"
,
65
:
"bb570dcb8ac1e63ede24"
,
66
:
"1f3eeec8d6c7fdd1a997"
,
67
:
"4d39ac45373e1725daf5"
,
68
:
"1cc4f0da6ca2684e5b24"
,
69
:
"a22bd372ffd03e077cce"
,
70
:
"b999d4bf8b805f03bd2b"
,
71
:
"d19b0a20ea22d410b91d"
,
72
:
"ae171a4233296a9ac4b4"
,
73
:
"0c069b06ad167faadfc6"
,
74
:
"1a9f6769ec276b6ccb89"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/enterprise/enterpriseSet.vue
View file @
611ddd55
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-05-28 1
6:58:39
* @LastEditTime: 2020-05-28 1
7:08:34
-->
-->
<
template
>
<
template
>
<div
class=
"daily-set-wrap "
>
<div
class=
"daily-set-wrap "
>
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<div
class=
"m-b-20"
>
<div
class=
"m-b-20"
>
<span
class=
"inline-block w-127"
<span
class=
"inline-block w-127"
><el-tooltip
class=
"item"
effect=
"dark"
content=
"用于获取登录小程序用户的手机号/姓名/部门信息"
placement=
"top-start"
>
<span
style=
"cursor: pointer;padding-bottom: 2px; border-bottom: 1px dashed #2F54EB;"
class=
"font-14 color-606266"
>
好办助手secret:
</span></el-tooltip>
</span
><el-tooltip
class=
"item"
effect=
"dark"
content=
"用于获取登录小程序用户的手机号/姓名/部门信息"
placement=
"top-start"
>
<span
style=
"cursor: pointer;padding-bottom: 2px; border-bottom: 1px dashed #2F54EB;"
class=
"font-14 color-606266"
>
好办助手secret:
</span></el-tooltip>
</span
><el-input
class=
"m-l-10 w-399"
v-model=
"companyObj.haobanSecret"
placeholder=
"
非
必填"
></el-input><el-button
class=
"m-l-20"
type=
"text"
@
click=
"saveSecret('3')"
>
保存
</el-button><span
class=
"m-l-20 font-12 color-909399"
>
最后一次保存:
{{
companyObj
.
haobanSecretLastTime
||
formatTimeStamp
}}
</span
><el-input
class=
"m-l-10 w-399"
v-model=
"companyObj.haobanSecret"
placeholder=
"必填"
></el-input><el-button
class=
"m-l-20"
type=
"text"
@
click=
"saveSecret('3')"
>
保存
</el-button><span
class=
"m-l-20 font-12 color-909399"
>
最后一次保存:
{{
companyObj
.
haobanSecretLastTime
||
formatTimeStamp
}}
</span
><span
class=
"m-l-37 font-14 color-303133"
><span
class=
"m-l-37 font-14 color-303133"
><span
:class=
"['iconfont', companyObj.haobanSecretFlag ? 'color-49c958 iconchenggong' : 'color-f83431 iconshibai']"
></span><span
class=
"p-l-10"
>
{{
companyObj
.
haobanSecretFlag
?
'校验成功'
:
'校验失败'
}}
</span></span
><span
:class=
"['iconfont', companyObj.haobanSecretFlag ? 'color-49c958 iconchenggong' : 'color-f83431 iconshibai']"
></span><span
class=
"p-l-10"
>
{{
companyObj
.
haobanSecretFlag
?
'校验成功'
:
'校验失败'
}}
</span></span
>
>
...
...
src/views/reviewCenter/unreview.vue
View file @
611ddd55
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-05-28 1
1:29:29
* @LastEditTime: 2020-05-28 1
7:12:45
-->
-->
<
template
>
<
template
>
<div
class=
"unreview-wrap common-set-wrap"
>
<div
class=
"unreview-wrap common-set-wrap"
>
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
<el-input
class=
"w-250 "
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 "
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-select
v-model=
"filterBrand"
placeholder=
"全部品牌"
@
change=
"getTableList"
class=
"w-168 m-l-10"
>
><el-select
v-model=
"filterBrand"
placeholder=
"全部品牌"
@
change=
"getTableList"
class=
"w-168 m-l-10"
>
<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-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
>
</div>
</div>
<el-button
type=
"primary"
@
click=
"approveAll"
>
批量同意
</el-button>
<el-button
type=
"primary"
@
click=
"approveAll"
>
批量同意
</el-button>
</div>
</div>
...
...
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