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
08302997
Commit
08302997
authored
Aug 24, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改企业设置
parent
965bf3f6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
index.html
dist/index.html
+2
-2
app.aeb29cd8c05b1d8540c3b3e6dfe9d50c.css
dist/static/css/app.aeb29cd8c05b1d8540c3b3e6dfe9d50c.css
+0
-0
15.4e253c100c135d7dd5c3.js
dist/static/js/15.4e253c100c135d7dd5c3.js
+2
-0
15.9851c760fabea52eb936.js
dist/static/js/15.9851c760fabea52eb936.js
+0
-2
manifest.808c35004dc559cc58d9.js
dist/static/js/manifest.808c35004dc559cc58d9.js
+2
-2
secret-set.vue
src/components/set/secret-set.vue
+2
-2
No files found.
dist/index.html
View file @
08302997
<!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.2666f447fd0ba17960613cf5f60a724b.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
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.ce23aa50f6c37b149c1a.js
></script><script
type=
text/javascript
src=
./static/js/vendor.c9b2df17ceb0429de99c.js
></script><script
type=
text/javascript
src=
./static/js/app.b2efe2f6ef7c9fa0e909.js
></script></body></html>
\ No newline at end of file
<!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.aeb29cd8c05b1d8540c3b3e6dfe9d50c.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
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.808c35004dc559cc58d9.js
></script><script
type=
text/javascript
src=
./static/js/vendor.c9b2df17ceb0429de99c.js
></script><script
type=
text/javascript
src=
./static/js/app.b2efe2f6ef7c9fa0e909.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
2666f447fd0ba17960613cf5f60a724b
.css
→
dist/static/css/app.
aeb29cd8c05b1d8540c3b3e6dfe9d50c
.css
View file @
08302997
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/15.4e253c100c135d7dd5c3.js
0 → 100644
View file @
08302997
webpackJsonp
([
15
],{
OTW0
:
function
(
e
,
t
){},
VRIg
:
function
(
e
,
t
){},
feRM
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
a
(
"//Fk"
),
r
=
a
.
n
(
s
),
o
=
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
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
uploadUrl
:
function
(){
var
e
=
window
.
location
.
origin
,
t
=
void
0
;
return
t
=
"-1"
!=
e
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
e
,
this
.
upUrl
=
t
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
handleAvatarSuccess
:
function
(
e
,
t
,
a
){
1
==
e
.
errorCode
?(
this
.
videoFlag
=!
1
,
3
==
this
.
uploadType
?
this
.
$emit
(
"update:videoSrc"
,
e
.
result
.
url
):
this
.
$emit
(
"update:imgSrc"
,
e
.
result
.
url
)):
o
.
a
.
errorMsg
(
e
)},
beforeAvatarUpload
:
function
(
e
){
console
.
log
(
e
),
this
.
fileType
=
"image/jpeg"
===
e
.
type
?
"jpeg"
:
"image/jpg"
===
e
.
type
?
"jpg"
:
"image/png"
===
e
.
type
?
"png"
:
"video/mp4"
==
e
.
type
?
"mp4"
:
""
;
var
t
=
"image/jpeg"
===
e
.
type
||
"image/jpg"
===
e
.
type
||
"image/png"
===
e
.
type
,
a
=
"video/mp4"
==
e
.
type
,
s
=
e
.
size
/
1024
/
1024
<
this
.
uploadLimit
;
return
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
t
||
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
:
t
&&
s
&&
new
r
.
a
(
function
(
t
,
a
){
var
s
=
new
FileReader
;
s
.
onload
=
function
(
e
){
var
a
=
new
Image
;
a
.
onload
=
function
(){
this
.
width
,
this
.
height
;
t
()},
a
.
src
=
e
.
target
.
result
},
s
.
readAsDataURL
(
e
)})},
showImage
:
function
(
e
){
if
(
!
e
||
""
==
e
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
e
},
hideImage
:
function
(
e
){
this
.
imgShowFlag
=
e
}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"single-upload-wrap"
},[
a
(
"el-upload"
,{
staticClass
:
"avatar-uploader"
,
attrs
:{
action
:
e
.
uploadUrl
(),
"show-file-list"
:
!
1
,
"on-success"
:
e
.
handleAvatarSuccess
,
"before-upload"
:
e
.
beforeAvatarUpload
}},[
e
.
imgSrc
?
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
imgSrc
},
on
:{
mouseover
:
function
(
t
){
e
.
showImage
(
e
.
imgSrc
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
""
!=
e
.
videoSrc
&&
0
==
e
.
videoFlag
?
a
(
"video"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
videoSrc
}},[
e
.
_v
(
"您的浏览器不支持视频播放"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
imgSrc
||
e
.
videoSrc
?
e
.
_e
():
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-plus avatar-uploader-icon"
}),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-606266"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
uploadType
||
2
==
e
.
uploadType
?
"上传图片"
:
"上传视频"
))])])]),
e
.
_v
(
" "
),
1
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效
\
n "
)]):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
e
){
a
(
"VRIg"
)},
"data-v-310c069a"
,
null
);
t
.
a
=
c
.
exports
},
"g/v7"
:
function
(
e
,
t
){},
x5Fx
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
r
=
a
(
"mvHQ"
),
o
=
a
.
n
(
r
),
n
=
a
(
"fZjL"
),
i
=
a
.
n
(
n
),
c
=
a
(
"feRM"
),
l
=
a
(
"l46T"
),
p
=
a
(
"Kkt8"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
m
=
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
:{
secretName
:
""
,
secretVal
:
""
,
enterpriseId
:
""
,
secretId
:
""
,
enterpriseName
:
""
},
rules
:{
secretName
:[{
required
:
!
0
,
message
:
"请输入小程序名称"
,
trigger
:
"blur"
}],
secretVal
:[{
required
:
!
0
,
message
:
"请输入secret"
,
trigger
:
"blur"
}],
enterpriseId
:[{
required
:
!
0
,
message
:
"请选择关联商户"
,
trigger
:
"change"
}]},
brandOptions
:[]}},
methods
:{
selectBrand
:
function
(
e
){
this
.
ruleForm
.
enterpriseId
=
e
.
enterpriseId
,
this
.
ruleForm
.
enterpriseName
=
e
.
enterpriseName
},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
u
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
e
.
brandOptions
=
a
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
d
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
secretId
:
e
.
ruleForm
.
secretId
,
secretName
:
e
.
ruleForm
.
secretName
,
enterpriseId
:
e
.
ruleForm
.
enterpriseId
,
memberSecret
:
e
.
ruleForm
.
secretVal
};
Object
(
u
.
d
)(
"/haoban-manage3-web/wx-enterprise-member-secret-set"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
m
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):(
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
),
f
.
a
.
errorMsg
(
a
))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
i
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
o
()(
e
)))}},
mounted
:
function
(){
this
.
getBrandData
(),
i
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
o
()(
this
.
editRow
)))}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑"
:
"新建"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"小程序名称"
,
prop
:
"secretName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
e
.
ruleForm
.
secretName
,
holder
:
"请输入小程序名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"secretName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"secret"
,
prop
:
"secretVal"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
e
.
ruleForm
.
secretVal
,
holder
:
"请输入secret"
,
getByType
:
"word"
,
maxLength
:
80
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"secretVal"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"关联商户"
,
prop
:
"enterpriseId"
}},[
a
(
"el-select"
,{
staticClass
:
"w-402"
,
attrs
:{
placeholder
:
"全部品牌"
},
model
:{
value
:
e
.
ruleForm
.
enterpriseId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"enterpriseId"
,
t
)},
expression
:
"ruleForm.enterpriseId"
}},
e
.
_l
(
e
.
brandOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
enterpriseId
,
staticClass
:
"mult-line-select"
,
attrs
:{
label
:
t
.
enterpriseName
,
value
:
t
.
enterpriseId
}},[
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
t
.
enterpriseName
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
brandName
||
"--"
))])])}))],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
e
){
a
(
"g/v7"
)},
"data-v-3de0d031"
,
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
:
""
},
wxObj
:{
secretType
:
1
,
secretVal
:
""
,
checkFlag
:
0
,
updateTime
:
null
},
contactObj
:{
secretType
:
2
,
secretVal
:
""
,
checkFlag
:
0
,
updateTime
:
null
},
haobanObj
:{
secretType
:
3
,
secretVal
:
""
,
checkFlag
:
0
,
updateTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
,
showHaobanError
:
!
1
,
tableData
:[],
addShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
addSecret
:
function
(){
this
.
addShow
=!
0
,
this
.
editRow
=
{}},
toEdit
:
function
(
e
,
t
){
this
.
addShow
=!
0
,
this
.
editRow
=
t
},
closeText
:
function
(){
this
.
addShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
addShow
=!
1
,
this
.
editRow
=
{},
this
.
getSecretData
()},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前小程序信息?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
secretId
:
t
.
secretId
};
Object
(
u
.
d
)(
"/haoban-manage3-web/member-secret-del"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
m
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getSecretData
();
f
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveSecret
:
Object
(
d
.
a
)(
function
(
e
){
var
t
=
{};
return
1
==
e
&&
(
t
.
wxSecretKey
=
String
(
this
.
wxObj
.
secretVal
).
trim
(),
this
.
showWxError
=!
this
.
wxObj
.
secretVal
),
2
==
e
&&
(
t
.
contactSecret
=
String
(
this
.
contactObj
.
secretVal
).
trim
()),(
2
!=
e
||
""
!=
t
.
contactSecret
)
&&
(
3
==
e
&&
(
t
.
contactSecret
=
String
(
this
.
haobanObj
.
secretVal
).
trim
(),
this
.
showHaobanError
=!
this
.
haobanObj
.
secretVal
),(
1
!=
e
||!
this
.
showWxError
)
&&
((
3
!=
e
||!
this
.
showHaobanError
)
&&
void
this
.
postSaveSecret
(
e
,
t
)))},
300
),
postSaveSecret
:
function
(
e
,
t
){
var
a
=
this
,
s
=
1
==
e
?
"/wx-enterprise-wx-secret-set"
:
2
==
e
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-haoban-secret-set"
;
Object
(
u
.
d
)(
"/haoban-manage3-web/"
+
s
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
m
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getSecretData
(),
!
1
;
f
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
u
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
m
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
t
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getSecretData
:
function
(){
var
e
=
this
,
t
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
u
.
a
)(
"/haoban-manage3-web/secret-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
t
){
1
==
t
.
secretType
&&
(
e
.
wxObj
=
t
),
2
==
t
.
secretType
&&
(
e
.
contactObj
=
t
),
3
==
t
.
secretType
&&
(
e
.
haobanObj
=
t
),
4
==
t
.
secretType
&&
e
.
tableData
.
push
(
t
)}),
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
u
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTipData
:
function
(){
var
e
=
this
;
Object
(
u
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
e
.
checkShow
=
a
.
result
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getSecretData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
,
secretSet
:
g
}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"company-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"
},[
e
.
_v
(
"企业微信基本信息"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
refeshData
}},[
e
.
_v
(
"同步刷新 "
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
checkShow
?
e
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
e
.
tipText
}})],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"105px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-r-10"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
corpName
))]),
e
.
_v
(
" "
),
a
(
"el-tag"
,[
e
.
_v
(
" "
+
e
.
_s
(
1
==
e
.
companyObj
.
contactFlag
?
"已认证"
:
"未认证"
))]),
1
==
e
.
companyObj
.
contactFlag
?
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
e
.
_v
(
"认证到期 "
+
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
e
.
companyObj
.
verifiedEndTime
)))]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业ID"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
corpid
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"行业类型"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
corpIndustry
)
+
" / "
+
e
.
_s
(
e
.
companyObj
.
corpSubIndustry
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"人员规模"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
corpScale
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
location
))])])],
1
)],
1
),
e
.
_v
(
" "
),
e
.
_m
(
0
),
e
.
_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"
}},[
e
.
_v
(
"客户联系secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
e
.
wxObj
.
secretVal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
wxObj
,
"secretVal"
,
t
)},
expression
:
"wxObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"1"
)}}},[
e
.
_v
(
"保存"
)]),
e
.
wxObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
wxObj
.
updateTime
)))]):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
wxObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
wxObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]),
e
.
_v
(
" "
),
e
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
e
.
_v
(
"请填写客户联系 secret"
)]):
e
.
_e
()],
1
),
e
.
_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"
},[
e
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
e
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
e
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
e
.
contactObj
.
secretVal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
contactObj
,
"secretVal"
,
t
)},
expression
:
"contactObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"2"
)}}},[
e
.
_v
(
"保存"
)]),
e
.
contactObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
contactObj
.
updateTime
)))]):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
contactObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
contactObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
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"
}},[
e
.
_v
(
"好办助手secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
placeholder
:
"必填"
},
model
:{
value
:
e
.
haobanObj
.
secretVal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
haobanObj
,
"secretVal"
,
t
)},
expression
:
"haobanObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"3"
)}}},[
e
.
_v
(
"保存"
)]),
e
.
haobanObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
haobanObj
.
updateTime
)))]):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
haobanObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
haobanObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]),
e
.
_v
(
" "
),
e
.
showHaobanError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
e
.
_v
(
"请填写好办助手 secret"
)]):
e
.
_e
()],
1
),
e
.
_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"
}},[
e
.
_v
(
"会员小程序secret:"
)])]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-5 font-14 color-303133 font-w-500"
},[
e
.
_v
(
"会员小程序信息"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-cell m-t-10 p-l-137"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"no-empty-icon-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"小程序名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
secretName
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"secret"
,
width
:
"506"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
secretVal
||
"-- "
)
+
" "
)]),
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
row
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"关联商户"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
enterpriseName
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
e
.
tableData
.
length
<
10
?
a
(
"div"
,{
staticClass
:
"text-center add-cell cursor-pointer"
,
on
:{
click
:
e
.
addSecret
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus font-14 color-2f54eb add-cell-txt"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-2f54eb p-l-5 add-cell-txt"
},[
e
.
_v
(
"新建"
)]),
a
(
"span"
,{
staticClass
:
"font-12 color-c0c4cc p-l-20"
},[
e
.
_v
(
"最多添加10个"
)])]):
e
.
_e
()],
1
)],
1
)])]),
e
.
_v
(
" "
),
e
.
addShow
?
a
(
"secret-set"
,{
attrs
:{
editRow
:
e
.
editRow
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
t
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
w
=
a
(
"VU/8"
)(
v
,
_
,
!
1
,
function
(
e
){
a
(
"OTW0"
)},
"data-v-c5a7619e"
,
null
);
t
.
default
=
w
.
exports
}});
\ No newline at end of file
dist/static/js/15.9851c760fabea52eb936.js
deleted
100644 → 0
View file @
965bf3f6
webpackJsonp
([
15
],{
OTW0
:
function
(
e
,
t
){},
VRIg
:
function
(
e
,
t
){},
feRM
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
a
(
"//Fk"
),
r
=
a
.
n
(
s
),
o
=
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
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
uploadUrl
:
function
(){
var
e
=
window
.
location
.
origin
,
t
=
void
0
;
return
t
=
"-1"
!=
e
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
e
,
this
.
upUrl
=
t
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
handleAvatarSuccess
:
function
(
e
,
t
,
a
){
1
==
e
.
errorCode
?(
this
.
videoFlag
=!
1
,
3
==
this
.
uploadType
?
this
.
$emit
(
"update:videoSrc"
,
e
.
result
.
url
):
this
.
$emit
(
"update:imgSrc"
,
e
.
result
.
url
)):
o
.
a
.
errorMsg
(
e
)},
beforeAvatarUpload
:
function
(
e
){
console
.
log
(
e
),
this
.
fileType
=
"image/jpeg"
===
e
.
type
?
"jpeg"
:
"image/jpg"
===
e
.
type
?
"jpg"
:
"image/png"
===
e
.
type
?
"png"
:
"video/mp4"
==
e
.
type
?
"mp4"
:
""
;
var
t
=
"image/jpeg"
===
e
.
type
||
"image/jpg"
===
e
.
type
||
"image/png"
===
e
.
type
,
a
=
"video/mp4"
==
e
.
type
,
s
=
e
.
size
/
1024
/
1024
<
this
.
uploadLimit
;
return
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
t
||
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
:
t
&&
s
&&
new
r
.
a
(
function
(
t
,
a
){
var
s
=
new
FileReader
;
s
.
onload
=
function
(
e
){
var
a
=
new
Image
;
a
.
onload
=
function
(){
this
.
width
,
this
.
height
;
t
()},
a
.
src
=
e
.
target
.
result
},
s
.
readAsDataURL
(
e
)})},
showImage
:
function
(
e
){
if
(
!
e
||
""
==
e
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
e
},
hideImage
:
function
(
e
){
this
.
imgShowFlag
=
e
}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"single-upload-wrap"
},[
a
(
"el-upload"
,{
staticClass
:
"avatar-uploader"
,
attrs
:{
action
:
e
.
uploadUrl
(),
"show-file-list"
:
!
1
,
"on-success"
:
e
.
handleAvatarSuccess
,
"before-upload"
:
e
.
beforeAvatarUpload
}},[
e
.
imgSrc
?
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
imgSrc
},
on
:{
mouseover
:
function
(
t
){
e
.
showImage
(
e
.
imgSrc
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
""
!=
e
.
videoSrc
&&
0
==
e
.
videoFlag
?
a
(
"video"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
videoSrc
}},[
e
.
_v
(
"您的浏览器不支持视频播放"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
imgSrc
||
e
.
videoSrc
?
e
.
_e
():
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-plus avatar-uploader-icon"
}),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-606266"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
uploadType
||
2
==
e
.
uploadType
?
"上传图片"
:
"上传视频"
))])])]),
e
.
_v
(
" "
),
1
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效
\
n "
)]):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
e
){
a
(
"VRIg"
)},
"data-v-310c069a"
,
null
);
t
.
a
=
c
.
exports
},
wwFo
:
function
(
e
,
t
){},
x5Fx
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
r
=
a
(
"mvHQ"
),
o
=
a
.
n
(
r
),
n
=
a
(
"fZjL"
),
i
=
a
.
n
(
n
),
c
=
a
(
"feRM"
),
l
=
a
(
"l46T"
),
p
=
a
(
"Kkt8"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
m
=
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
:{
secretName
:
""
,
secretVal
:
""
,
enterpriseId
:
""
,
secretId
:
""
,
enterpriseName
:
""
},
rules
:{
secretName
:[{
required
:
!
0
,
message
:
"请输入小程序名称"
,
trigger
:
"blur"
}],
secretVal
:[{
required
:
!
0
,
message
:
"请输入secret"
,
trigger
:
"blur"
}],
enterpriseId
:[{
required
:
!
0
,
message
:
"请选择关联商户"
,
trigger
:
"change"
}]},
brandOptions
:[]}},
methods
:{
selectBrand
:
function
(
e
){
this
.
ruleForm
.
enterpriseId
=
e
.
enterpriseId
,
this
.
ruleForm
.
enterpriseName
=
e
.
enterpriseName
},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
u
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
e
.
brandOptions
=
a
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
d
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
secretId
:
e
.
ruleForm
.
secretId
,
secretName
:
e
.
ruleForm
.
secretName
,
enterpriseId
:
e
.
ruleForm
.
enterpriseId
,
memberSecret
:
e
.
ruleForm
.
secretVal
};
Object
(
u
.
d
)(
"/haoban-manage3-web/wx-enterprise-member-secret-set"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
m
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):(
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
),
f
.
a
.
errorMsg
(
a
))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
i
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
o
()(
e
)))}},
mounted
:
function
(){
this
.
getBrandData
(),
i
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
o
()(
this
.
editRow
)))}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑"
:
"新建"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"小程序名称"
,
prop
:
"secretName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
e
.
ruleForm
.
secretName
,
holder
:
"请输入小程序名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"secretName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"secret"
,
prop
:
"secretVal"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
e
.
ruleForm
.
secretVal
,
holder
:
"请输入secret"
,
getByType
:
"word"
,
maxLength
:
80
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"secretVal"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"关联商户"
,
prop
:
"enterpriseId"
}},[
a
(
"el-select"
,{
staticClass
:
"w-402"
,
attrs
:{
placeholder
:
"全部品牌"
},
model
:{
value
:
e
.
ruleForm
.
enterpriseId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"enterpriseId"
,
t
)},
expression
:
"ruleForm.enterpriseId"
}},
e
.
_l
(
e
.
brandOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
enterpriseId
,
attrs
:{
value
:
t
.
enterpriseId
}},[
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
t
.
enterpriseName
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
brandName
||
"--"
))])])}))],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
e
){
a
(
"wwFo"
)},
"data-v-24ef4d25"
,
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
:
""
},
wxObj
:{
secretType
:
1
,
secretVal
:
""
,
checkFlag
:
0
,
updateTime
:
null
},
contactObj
:{
secretType
:
2
,
secretVal
:
""
,
checkFlag
:
0
,
updateTime
:
null
},
haobanObj
:{
secretType
:
3
,
secretVal
:
""
,
checkFlag
:
0
,
updateTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
,
showHaobanError
:
!
1
,
tableData
:[],
addShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
addSecret
:
function
(){
this
.
addShow
=!
0
,
this
.
editRow
=
{}},
toEdit
:
function
(
e
,
t
){
this
.
addShow
=!
0
,
this
.
editRow
=
t
},
closeText
:
function
(){
this
.
addShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
addShow
=!
1
,
this
.
editRow
=
{},
this
.
getSecretData
()},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前小程序信息?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
secretId
:
t
.
secretId
};
Object
(
u
.
d
)(
"/haoban-manage3-web/member-secret-del"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
m
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getSecretData
();
f
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveSecret
:
Object
(
d
.
a
)(
function
(
e
){
var
t
=
{};
return
1
==
e
&&
(
t
.
wxSecretKey
=
String
(
this
.
wxObj
.
secretVal
).
trim
(),
this
.
showWxError
=!
this
.
wxObj
.
secretVal
),
2
==
e
&&
(
t
.
contactSecret
=
String
(
this
.
contactObj
.
secretVal
).
trim
()),(
2
!=
e
||
""
!=
t
.
contactSecret
)
&&
(
3
==
e
&&
(
t
.
contactSecret
=
String
(
this
.
haobanObj
.
secretVal
).
trim
(),
this
.
showHaobanError
=!
this
.
haobanObj
.
secretVal
),(
1
!=
e
||!
this
.
showWxError
)
&&
((
3
!=
e
||!
this
.
showHaobanError
)
&&
void
this
.
postSaveSecret
(
e
,
t
)))},
300
),
postSaveSecret
:
function
(
e
,
t
){
var
a
=
this
,
s
=
1
==
e
?
"/wx-enterprise-wx-secret-set"
:
2
==
e
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-haoban-secret-set"
;
Object
(
u
.
d
)(
"/haoban-manage3-web/"
+
s
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
m
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getSecretData
(),
!
1
;
f
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
u
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
m
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
t
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getSecretData
:
function
(){
var
e
=
this
,
t
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
u
.
a
)(
"/haoban-manage3-web/secret-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
t
){
1
==
t
.
secretType
&&
(
e
.
wxObj
=
t
),
2
==
t
.
secretType
&&
(
e
.
contactObj
=
t
),
3
==
t
.
secretType
&&
(
e
.
haobanObj
=
t
),
4
==
t
.
secretType
&&
e
.
tableData
.
push
(
t
)}),
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
u
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTipData
:
function
(){
var
e
=
this
;
Object
(
u
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
e
.
checkShow
=
a
.
result
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getSecretData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
,
secretSet
:
g
}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"company-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"
},[
e
.
_v
(
"企业微信基本信息"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
refeshData
}},[
e
.
_v
(
"同步刷新 "
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
checkShow
?
e
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
e
.
tipText
}})],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"105px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-r-10"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
corpName
))]),
e
.
_v
(
" "
),
a
(
"el-tag"
,[
e
.
_v
(
" "
+
e
.
_s
(
1
==
e
.
companyObj
.
contactFlag
?
"已认证"
:
"未认证"
))]),
1
==
e
.
companyObj
.
contactFlag
?
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
e
.
_v
(
"认证到期 "
+
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
e
.
companyObj
.
verifiedEndTime
)))]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业ID"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
corpid
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"行业类型"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
corpIndustry
)
+
" / "
+
e
.
_s
(
e
.
companyObj
.
corpSubIndustry
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"人员规模"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
corpScale
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
location
))])])],
1
)],
1
),
e
.
_v
(
" "
),
e
.
_m
(
0
),
e
.
_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"
}},[
e
.
_v
(
"客户联系secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
e
.
wxObj
.
secretVal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
wxObj
,
"secretVal"
,
t
)},
expression
:
"wxObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"1"
)}}},[
e
.
_v
(
"保存"
)]),
e
.
wxObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
wxObj
.
updateTime
)))]):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
wxObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
wxObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]),
e
.
_v
(
" "
),
e
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
e
.
_v
(
"请填写客户联系 secret"
)]):
e
.
_e
()],
1
),
e
.
_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"
},[
e
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
e
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
e
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
e
.
contactObj
.
secretVal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
contactObj
,
"secretVal"
,
t
)},
expression
:
"contactObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"2"
)}}},[
e
.
_v
(
"保存"
)]),
e
.
contactObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
contactObj
.
updateTime
)))]):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
contactObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
contactObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
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"
}},[
e
.
_v
(
"好办助手secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
placeholder
:
"必填"
},
model
:{
value
:
e
.
haobanObj
.
secretVal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
haobanObj
,
"secretVal"
,
t
)},
expression
:
"haobanObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"3"
)}}},[
e
.
_v
(
"保存"
)]),
e
.
haobanObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
haobanObj
.
updateTime
)))]):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
haobanObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
haobanObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]),
e
.
_v
(
" "
),
e
.
showHaobanError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
e
.
_v
(
"请填写好办助手 secret"
)]):
e
.
_e
()],
1
),
e
.
_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"
}},[
e
.
_v
(
"会员小程序secret:"
)])]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-5 font-14 color-303133 font-w-500"
},[
e
.
_v
(
"会员小程序信息"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-cell m-t-10 p-l-137"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"no-empty-icon-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"小程序名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
secretName
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"secret"
,
width
:
"506"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
secretVal
||
"-- "
)
+
" "
)]),
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
row
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"关联商户"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
enterpriseName
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
e
.
tableData
.
length
<
10
?
a
(
"div"
,{
staticClass
:
"text-center add-cell cursor-pointer"
,
on
:{
click
:
e
.
addSecret
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus font-14 color-2f54eb add-cell-txt"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-2f54eb p-l-5 add-cell-txt"
},[
e
.
_v
(
"新建"
)]),
a
(
"span"
,{
staticClass
:
"font-12 color-c0c4cc p-l-20"
},[
e
.
_v
(
"最多添加10个"
)])]):
e
.
_e
()],
1
)],
1
)])]),
e
.
_v
(
" "
),
e
.
addShow
?
a
(
"secret-set"
,{
attrs
:{
editRow
:
e
.
editRow
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
t
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
w
=
a
(
"VU/8"
)(
v
,
_
,
!
1
,
function
(
e
){
a
(
"OTW0"
)},
"data-v-c5a7619e"
,
null
);
t
.
default
=
w
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
ce23aa50f6c37b149c1a
.js
→
dist/static/js/manifest.
808c35004dc559cc58d9
.js
View file @
08302997
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
88
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"765150d21437c9212924"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"8b5a7a776d5388025833"
,
3
:
"32159c7cec848a2f2940"
,
4
:
"33d02eba6eac4af3e7ae"
,
5
:
"f7ad326b7bff884d7fb2"
,
6
:
"51ed63bcd5dbc42f4654"
,
7
:
"facffc398c23923c8192"
,
8
:
"7af05b76eacb9f493905"
,
9
:
"963a2a13383e472eca38"
,
10
:
"b2ad2fd1c96c5f27fee9"
,
11
:
"675631224d24bc64b905"
,
12
:
"78ccd34a95a7c69f6875"
,
13
:
"0b6f9fa3dca5445bea41"
,
14
:
"48e54ee2a9b06727d19f"
,
15
:
"9851c760fabea52eb936"
,
16
:
"c823b839370adaef5fb7"
,
17
:
"96782588834d46b30c5a"
,
18
:
"c438c2d212769f8a4db2"
,
19
:
"1f013034b987bc6725d9"
,
20
:
"59fa61636b87be12b5d3"
,
21
:
"909d0c8e599a956fd7a7"
,
22
:
"5967c8aac0d8efec27bb"
,
23
:
"491faa03cecb9d035fc6"
,
24
:
"8c63bc2c5c38d0efdfab"
,
25
:
"7076feee8fb02a9fbd13"
,
26
:
"b5b7db9a0d380eb65514"
,
27
:
"98b07cae060277f91c6b"
,
28
:
"0a1e4e532e911fe8ee50"
,
29
:
"0bb81c4fabb8b086313b"
,
30
:
"e8acf4370a8d3f28a6aa"
,
31
:
"f15018c679d31a23a484"
,
32
:
"915737f4f806d2dc5ef0"
,
33
:
"d60beb8286a5273c8520"
,
34
:
"74dbee5301dc48a15627"
,
35
:
"cd7b2a7dae393ab5c205"
,
36
:
"e42295b1f10082eedd48"
,
37
:
"27cb05ed00a6f77774b4"
,
38
:
"6380ef21f1904f03f42b"
,
39
:
"b64160a2fdbfc78b53e4"
,
40
:
"58b97f413035bfcac73d"
,
41
:
"3bde66f2e298d3ad896f"
,
42
:
"b49cb3220f9199fe2f52"
,
43
:
"3dc244d19910d9c21a9f"
,
44
:
"a22bd4a80c711131d8cf"
,
45
:
"b9bd1c77ee72c9b2c2d8"
,
46
:
"0543a026174ee47f62af"
,
47
:
"dc76611cce549ea64259"
,
48
:
"4c7ef72ada7b7eebf31c"
,
49
:
"f00fb09217e284420044"
,
50
:
"3acbe38b3e3eb8752075"
,
51
:
"51659ce1502192af939f"
,
52
:
"d3bfa4a4db5576440ed8"
,
53
:
"104c5e07855beb58ef1b"
,
54
:
"aa9df4f3a7eacae9e5db"
,
55
:
"65489f0257d5c399de02"
,
56
:
"d7945d5a03f730a65a07"
,
57
:
"de71f0f3c20588a110d2"
,
58
:
"67d1674e189c0fbdfa15"
,
59
:
"de9ed682f5022caa478a"
,
60
:
"b93cca4d26a897341a84"
,
61
:
"e929be2249e56a4db90a"
,
62
:
"ddef6dba0e1841fb538c"
,
63
:
"a3a44a6f506f871deab4"
,
64
:
"22d277303c400e71f512"
,
65
:
"3d256f3dea71b75c754e"
,
66
:
"b5bf727065a1ed5946a8"
,
67
:
"1fe24764bbf2648873df"
,
68
:
"5c88c8205192e47c5440"
,
69
:
"4df5e7e8568b818a23af"
,
70
:
"9659ef903577b569add6"
,
71
:
"7b248fa9ae5be34661ed"
,
72
:
"2a406ab7e8647fc9e8f6"
,
73
:
"22ffedec58d987173423"
,
74
:
"ab3c100dfd2009311e7f"
,
75
:
"251a7f0a164aea4bd0a9"
,
76
:
"04d98376c7148163d09b"
,
77
:
"9568405fcd7f68bbbed2"
,
78
:
"17e2c96b0a1584aa23fb"
,
79
:
"1813052e3f610897c373"
,
80
:
"062ff7e7240f79737a4c"
,
81
:
"68e4dc61e8a53c908430"
,
82
:
"80e1bea9e7c52a0010e2"
,
83
:
"1f973e5fb06a7b6aafb6"
,
84
:
"e08cae32b8d07ae3eb93"
,
85
:
"cb39869b0ab00851c322"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
88
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"765150d21437c9212924"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"8b5a7a776d5388025833"
,
3
:
"32159c7cec848a2f2940"
,
4
:
"33d02eba6eac4af3e7ae"
,
5
:
"f7ad326b7bff884d7fb2"
,
6
:
"51ed63bcd5dbc42f4654"
,
7
:
"facffc398c23923c8192"
,
8
:
"7af05b76eacb9f493905"
,
9
:
"963a2a13383e472eca38"
,
10
:
"b2ad2fd1c96c5f27fee9"
,
11
:
"675631224d24bc64b905"
,
12
:
"78ccd34a95a7c69f6875"
,
13
:
"0b6f9fa3dca5445bea41"
,
14
:
"48e54ee2a9b06727d19f"
,
15
:
"4e253c100c135d7dd5c3"
,
16
:
"c823b839370adaef5fb7"
,
17
:
"96782588834d46b30c5a"
,
18
:
"c438c2d212769f8a4db2"
,
19
:
"1f013034b987bc6725d9"
,
20
:
"59fa61636b87be12b5d3"
,
21
:
"909d0c8e599a956fd7a7"
,
22
:
"5967c8aac0d8efec27bb"
,
23
:
"491faa03cecb9d035fc6"
,
24
:
"8c63bc2c5c38d0efdfab"
,
25
:
"7076feee8fb02a9fbd13"
,
26
:
"b5b7db9a0d380eb65514"
,
27
:
"98b07cae060277f91c6b"
,
28
:
"0a1e4e532e911fe8ee50"
,
29
:
"0bb81c4fabb8b086313b"
,
30
:
"e8acf4370a8d3f28a6aa"
,
31
:
"f15018c679d31a23a484"
,
32
:
"915737f4f806d2dc5ef0"
,
33
:
"d60beb8286a5273c8520"
,
34
:
"74dbee5301dc48a15627"
,
35
:
"cd7b2a7dae393ab5c205"
,
36
:
"e42295b1f10082eedd48"
,
37
:
"27cb05ed00a6f77774b4"
,
38
:
"6380ef21f1904f03f42b"
,
39
:
"b64160a2fdbfc78b53e4"
,
40
:
"58b97f413035bfcac73d"
,
41
:
"3bde66f2e298d3ad896f"
,
42
:
"b49cb3220f9199fe2f52"
,
43
:
"3dc244d19910d9c21a9f"
,
44
:
"a22bd4a80c711131d8cf"
,
45
:
"b9bd1c77ee72c9b2c2d8"
,
46
:
"0543a026174ee47f62af"
,
47
:
"dc76611cce549ea64259"
,
48
:
"4c7ef72ada7b7eebf31c"
,
49
:
"f00fb09217e284420044"
,
50
:
"3acbe38b3e3eb8752075"
,
51
:
"51659ce1502192af939f"
,
52
:
"d3bfa4a4db5576440ed8"
,
53
:
"104c5e07855beb58ef1b"
,
54
:
"aa9df4f3a7eacae9e5db"
,
55
:
"65489f0257d5c399de02"
,
56
:
"d7945d5a03f730a65a07"
,
57
:
"de71f0f3c20588a110d2"
,
58
:
"67d1674e189c0fbdfa15"
,
59
:
"de9ed682f5022caa478a"
,
60
:
"b93cca4d26a897341a84"
,
61
:
"e929be2249e56a4db90a"
,
62
:
"ddef6dba0e1841fb538c"
,
63
:
"a3a44a6f506f871deab4"
,
64
:
"22d277303c400e71f512"
,
65
:
"3d256f3dea71b75c754e"
,
66
:
"b5bf727065a1ed5946a8"
,
67
:
"1fe24764bbf2648873df"
,
68
:
"5c88c8205192e47c5440"
,
69
:
"4df5e7e8568b818a23af"
,
70
:
"9659ef903577b569add6"
,
71
:
"7b248fa9ae5be34661ed"
,
72
:
"2a406ab7e8647fc9e8f6"
,
73
:
"22ffedec58d987173423"
,
74
:
"ab3c100dfd2009311e7f"
,
75
:
"251a7f0a164aea4bd0a9"
,
76
:
"04d98376c7148163d09b"
,
77
:
"9568405fcd7f68bbbed2"
,
78
:
"17e2c96b0a1584aa23fb"
,
79
:
"1813052e3f610897c373"
,
80
:
"062ff7e7240f79737a4c"
,
81
:
"68e4dc61e8a53c908430"
,
82
:
"80e1bea9e7c52a0010e2"
,
83
:
"1f973e5fb06a7b6aafb6"
,
84
:
"e08cae32b8d07ae3eb93"
,
85
:
"cb39869b0ab00851c322"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/set/secret-set.vue
View file @
08302997
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-08-24 09:
16
:58
* @LastEditTime: 2020-08-24 09:
22
:58
-->
<!--
<secret-set :categoryId="categoryId" @closeText="closeText" @submitText="submitText"></secret-set>
...
...
@@ -25,7 +25,7 @@
</el-form-item>
<el-form-item
label=
"关联商户"
prop=
"enterpriseId"
>
<el-select
class=
"w-402"
v-model=
"ruleForm.enterpriseId"
placeholder=
"全部品牌"
>
<el-option
v-for=
"item in brandOptions"
:key=
"item.enterpriseId
"
:value=
"item.enterpriseId"
>
<el-option
class=
"mult-line-select"
v-for=
"item in brandOptions"
:key=
"item.enterpriseId"
:label=
"item.enterpriseName
"
:value=
"item.enterpriseId"
>
<p>
{{
item
.
enterpriseName
}}
</p>
<div
class=
"font-12 color-909399"
>
{{
item
.
brandName
||
'--'
}}
</div>
</el-option>
...
...
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