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
dd15150e
Commit
dd15150e
authored
Jun 04, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改设置
parent
3a72ab86
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
index.html
dist/index.html
+2
-2
app.fc2c369ea17d4a8dd74deabe40ff3a27.css
dist/static/css/app.fc2c369ea17d4a8dd74deabe40ff3a27.css
+0
-0
10.648bf0ec4f5fda49778e.js
dist/static/js/10.648bf0ec4f5fda49778e.js
+2
-0
10.f831e1687249d32bf137.js
dist/static/js/10.f831e1687249d32bf137.js
+0
-2
manifest.94dfdd4f9a66219f0245.js
dist/static/js/manifest.94dfdd4f9a66219f0245.js
+2
-2
secret-set.vue
src/components/set/secret-set.vue
+6
-6
No files found.
dist/index.html
View file @
dd15150e
<!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.41c468e10b5a7ab532a1f1344960d074.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.7fc43dae5ec6362a872e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.5b33c5efa6caf40b5ed9.js
></script><script
type=
text/javascript
src=
./static/js/app.f790419c5de15154624e.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.fc2c369ea17d4a8dd74deabe40ff3a27.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.94dfdd4f9a66219f0245.js
></script><script
type=
text/javascript
src=
./static/js/vendor.5b33c5efa6caf40b5ed9.js
></script><script
type=
text/javascript
src=
./static/js/app.f790419c5de15154624e.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
41c468e10b5a7ab532a1f1344960d074
.css
→
dist/static/css/app.
fc2c369ea17d4a8dd74deabe40ff3a27
.css
View file @
dd15150e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/10.648bf0ec4f5fda49778e.js
0 → 100644
View file @
dd15150e
webpackJsonp
([
10
],{
"0Lwl"
:
function
(
t
,
e
){},
"1d8K"
:
function
(
t
,
e
){},
JkCr
:
function
(
t
,
e
){},
feRM
:
function
(
t
,
e
,
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
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
)):
o
.
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
r
.
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"
),
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
:
""
},
rules
:{
secretName
:[{
required
:
!
0
,
message
:
"请输入小程序名称"
,
trigger
:
"blur"
}],
secretVal
:[{
required
:
!
0
,
message
:
"请输入secret"
,
trigger
:
"blur"
}],
enterpriseId
:[{
required
:
!
0
,
message
:
"请选择关联商户"
,
trigger
:
"change"
}]},
brandOptions
:[]}},
methods
:{
getBrandData
:
function
(){
var
t
=
this
;
Object
(
u
.
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
(
d
.
a
)(
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
t
&&
e
.
postSave
()})},
300
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
secretId
:
t
.
ruleForm
.
secretId
,
secretName
:
t
.
ruleForm
.
secretName
,
enterpriseId
:
t
.
ruleForm
.
enterpriseId
,
memberSecret
:
t
.
ruleForm
.
secretVal
};
Object
(
u
.
d
)(
"/haoban-manage3-web/wx-enterprise-member-secret-set"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
==
a
.
errorCode
?(
m
.
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
(
o
()(
t
)))}},
mounted
:
function
(){
this
.
getBrandData
(),
i
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
o
()(
this
.
editRow
)))}},
b
=
{
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
:
"secretName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
t
.
ruleForm
.
secretName
,
holder
:
"请输入小程序名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"secretName"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"secret"
,
prop
:
"secretVal"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
t
.
ruleForm
.
secretVal
,
holder
:
"请输入secret"
,
getByType
:
"word"
,
maxLength
:
80
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"secretVal"
,
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
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"JkCr"
)},
"data-v-b2c98ae8"
,
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
(
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
=
{
secretId
:
e
.
secretId
};
Object
(
u
.
d
)(
"/haoban-manage3-web/member-secret-del"
,
s
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
m
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getSecretData
();
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
saveSecret
:
Object
(
d
.
a
)(
function
(
t
){
var
e
=
{};
return
1
==
t
&&
(
e
.
wxSecretKey
=
String
(
this
.
wxObj
.
secretVal
).
trim
(),
this
.
showWxError
=!
this
.
wxObj
.
secretVal
),
2
==
t
&&
(
e
.
contactSecret
=
String
(
this
.
contactObj
.
secretVal
).
trim
()),(
2
!=
t
||
""
!=
e
.
contactSecret
)
&&
(
3
==
t
&&
(
e
.
contactSecret
=
String
(
this
.
haobanObj
.
secretVal
).
trim
(),
this
.
showHaobanError
=!
this
.
haobanObj
.
secretVal
),(
1
!=
t
||!
this
.
showWxError
)
&&
((
3
!=
t
||!
this
.
showHaobanError
)
&&
void
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-haoban-secret-set"
;
Object
(
u
.
d
)(
"/haoban-manage3-web/"
+
s
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
m
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getSecretData
(),
!
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
(
u
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
m
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
e
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getSecretData
:
function
(){
var
t
=
this
,
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
u
.
a
)(
"/haoban-manage3-web/secret-list"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
[],
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
e
){
1
==
e
.
secretType
&&
(
t
.
wxObj
=
e
),
2
==
e
.
secretType
&&
(
t
.
contactObj
=
e
),
3
==
e
.
secretType
&&
(
t
.
haobanObj
=
e
),
4
==
e
.
secretType
&&
t
.
tableData
.
push
(
e
)}),
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
u
.
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
(
u
.
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
.
getSecretData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
,
secretSet
:
g
}},
_
=
{
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
.
wxObj
.
secretVal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
wxObj
,
"secretVal"
,
e
)},
expression
:
"wxObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"1"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
wxObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
wxObj
.
updateTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
wxObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
wxObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]),
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
.
contactObj
.
secretVal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
contactObj
,
"secretVal"
,
e
)},
expression
:
"contactObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"2"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
contactObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
contactObj
.
updateTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
contactObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
contactObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])])],
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"
,
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
.
haobanObj
.
secretVal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
haobanObj
,
"secretVal"
,
e
)},
expression
:
"haobanObj.secretVal"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"3"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
haobanObj
.
updateTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
haobanObj
.
updateTime
||
t
.
formatTimeStamp
))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
haobanObj
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
haobanObj
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showHaobanError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写好办助手 secret"
)]):
t
.
_e
()],
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"
,
staticClass
:
"no-empty-icon-table"
,
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
.
secretName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"secret"
,
width
:
"506"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
secretVal
||
"-- "
)
+
" "
)]),
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
row
.
checkFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
checkFlag
?
"校验成功"
:
"校验失败"
))])]}}])}),
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
(
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
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
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 add-cell-txt"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-2f54eb p-l-5 add-cell-txt"
},[
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
(
"1d8K"
)},
"data-v-4dfb0c05"
,
null
);
e
.
default
=
w
.
exports
}});
\ No newline at end of file
dist/static/js/10.f831e1687249d32bf137.js
deleted
100644 → 0
View file @
3a72ab86
webpackJsonp
([
10
],{
"0Lwl"
:
function
(
e
,
t
){},
"1d8K"
:
function
(
e
,
t
){},
Ersr
:
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
?(
console
.
log
(
e
),
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
(
"0Lwl"
)},
"data-v-51d864ba"
,
null
);
t
.
a
=
c
.
exports
},
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
:
""
,
memberSecret
:
""
,
enterpriseId
:
""
,
secretId
:
""
},
rules
:{
secretName
:[{
required
:
!
0
,
message
:
"请输入小程序名称"
,
trigger
:
"blur"
}],
memberSecret
:[{
required
:
!
0
,
message
:
"请输入secret"
,
trigger
:
"blur"
}],
enterpriseId
:[{
required
:
!
0
,
message
:
"请选择关联商户"
,
trigger
:
"change"
}]},
brandOptions
:[]}},
methods
:{
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
.
memberSecret
};
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"
)):
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
:
"memberSecret"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
e
.
ruleForm
.
memberSecret
,
holder
:
"请输入secret"
,
getByType
:
"word"
,
maxLength
:
80
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"memberSecret"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"关联商户"
,
prop
:
"enterpriseId"
}},[
a
(
"el-select"
,{
staticClass
:
"w-402"
,
attrs
:{
placeholder
:
"全部品牌"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
ruleForm
.
enterpriseId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"enterpriseId"
,
t
)},
expression
:
"ruleForm.enterpriseId"
}},
e
.
_l
(
e
.
brandOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})}))],
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
(
"Ersr"
)},
"data-v-e9fb6074"
,
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
.
getAppData
()},
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
:
"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"
},[
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
.
haobanObj
.
updateTime
||
e
.
formatTimeStamp
))]):
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
(
"1d8K"
)},
"data-v-4dfb0c05"
,
null
);
t
.
default
=
w
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
7fc43dae5ec6362a872e
.js
→
dist/static/js/manifest.
94dfdd4f9a66219f0245
.js
View file @
dd15150e
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
77
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
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
:
"8ab6ab882649230c8ad6"
,
3
:
"74424f87a34ea9cc7f67"
,
4
:
"07e47b9d5e170e32b993"
,
5
:
"21ff51bad022ad886165"
,
6
:
"49975f0236d705152f51"
,
7
:
"ece0a2d210892b176e55"
,
8
:
"7d0a8e6532c58d0c2415"
,
9
:
"a2c899ef9125a9264a50"
,
10
:
"f831e1687249d32bf137"
,
11
:
"b594c1b71947487e0f33"
,
12
:
"0b370ee5f1f094e8a182"
,
13
:
"76c64223fbe3ecf7a7a9"
,
14
:
"d1989421160351f6501a"
,
15
:
"b76d6b0ba6de022fd06e"
,
16
:
"eae721902cf685d8ac7d"
,
17
:
"ebf1847c50132c6f96a7"
,
18
:
"6f15fd7752271bce818a"
,
19
:
"35726f60c578a23e9017"
,
20
:
"4663352c619a815d8119"
,
21
:
"ac187141cee7f3f54a26"
,
22
:
"4ec09df7e6dce074084e"
,
23
:
"0701e07f97c5ea8c69f9"
,
24
:
"7a57624e89e34e420a52"
,
25
:
"326a8c2ad9617bfe863c"
,
26
:
"458f45f2633ae24c5755"
,
27
:
"aa816867f4d0cb0d6131"
,
28
:
"d476fdb456a0627b48ba"
,
29
:
"57b1c2b00fbd821963a3"
,
30
:
"37cb4d2da6489d905573"
,
31
:
"a491ec6fa2128e9a2b0f"
,
32
:
"55c47cf4b7b63a259239"
,
33
:
"d3515af25c3e7e22153f"
,
34
:
"18bce297c3536920f0be"
,
35
:
"814dd1eb24901e53ab86"
,
36
:
"c0359ca785e1f0dde1fc"
,
37
:
"76183a99b8ed65d42c18"
,
38
:
"5f7c3caf988efd4a4f93"
,
39
:
"d4563b358e555e3c15ca"
,
40
:
"e4e58e6370ff73e217b2"
,
41
:
"675f4b34699982dd5507"
,
42
:
"b715318c692c9a359f88"
,
43
:
"076c1d6b1696b46db350"
,
44
:
"a1993e272ab49acbeefc"
,
45
:
"249cf2844df4a3a20c45"
,
46
:
"6f75966d10272c672ac8"
,
47
:
"0f4ae46c1bf9717fbe18"
,
48
:
"6950dd5f59a109e09bf1"
,
49
:
"a6f7a2dce27db52104e5"
,
50
:
"909c9e85ea51f2841902"
,
51
:
"6a01d92850fef1ae9c8d"
,
52
:
"6e6e1e27f98a4fa5c52d"
,
53
:
"ddd17d265068b59417dd"
,
54
:
"464b80f1793a2d65280c"
,
55
:
"6b0e4ff8e9ec63dbb41d"
,
56
:
"13ef31c7dc5349f44c33"
,
57
:
"fa0993908f0e01751c40"
,
58
:
"53a525743218b8aa921f"
,
59
:
"ed1cfc8b4f8a46cebdfb"
,
60
:
"732f4f2a3b77c757329f"
,
61
:
"cd1705ba584ffe93eeca"
,
62
:
"df7e84f4aa5b42614d48"
,
63
:
"b5bc7452ed64cd762401"
,
64
:
"ad40e591d64f933be30c"
,
65
:
"dbf0e416350c970674ed"
,
66
:
"b3fc8c83ffbdf39a1cdb"
,
67
:
"b6da4f35c80e5246dd03"
,
68
:
"1cc4f0da6ca2684e5b24"
,
69
:
"78c1148df0648f724434"
,
70
:
"d8b620c8d056d806ac23"
,
71
:
"8ce9113b1568e9bf5537"
,
72
:
"a6222ada9c9a2655c92a"
,
73
:
"959fb844a60624eba321"
,
74
:
"8f58470ff84acae11858"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
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
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
77
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
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
:
"8ab6ab882649230c8ad6"
,
3
:
"74424f87a34ea9cc7f67"
,
4
:
"07e47b9d5e170e32b993"
,
5
:
"21ff51bad022ad886165"
,
6
:
"49975f0236d705152f51"
,
7
:
"ece0a2d210892b176e55"
,
8
:
"7d0a8e6532c58d0c2415"
,
9
:
"a2c899ef9125a9264a50"
,
10
:
"648bf0ec4f5fda49778e"
,
11
:
"b594c1b71947487e0f33"
,
12
:
"0b370ee5f1f094e8a182"
,
13
:
"76c64223fbe3ecf7a7a9"
,
14
:
"d1989421160351f6501a"
,
15
:
"b76d6b0ba6de022fd06e"
,
16
:
"eae721902cf685d8ac7d"
,
17
:
"ebf1847c50132c6f96a7"
,
18
:
"6f15fd7752271bce818a"
,
19
:
"35726f60c578a23e9017"
,
20
:
"4663352c619a815d8119"
,
21
:
"ac187141cee7f3f54a26"
,
22
:
"4ec09df7e6dce074084e"
,
23
:
"0701e07f97c5ea8c69f9"
,
24
:
"7a57624e89e34e420a52"
,
25
:
"326a8c2ad9617bfe863c"
,
26
:
"458f45f2633ae24c5755"
,
27
:
"aa816867f4d0cb0d6131"
,
28
:
"d476fdb456a0627b48ba"
,
29
:
"57b1c2b00fbd821963a3"
,
30
:
"37cb4d2da6489d905573"
,
31
:
"a491ec6fa2128e9a2b0f"
,
32
:
"55c47cf4b7b63a259239"
,
33
:
"d3515af25c3e7e22153f"
,
34
:
"18bce297c3536920f0be"
,
35
:
"814dd1eb24901e53ab86"
,
36
:
"c0359ca785e1f0dde1fc"
,
37
:
"76183a99b8ed65d42c18"
,
38
:
"5f7c3caf988efd4a4f93"
,
39
:
"d4563b358e555e3c15ca"
,
40
:
"e4e58e6370ff73e217b2"
,
41
:
"675f4b34699982dd5507"
,
42
:
"b715318c692c9a359f88"
,
43
:
"076c1d6b1696b46db350"
,
44
:
"a1993e272ab49acbeefc"
,
45
:
"249cf2844df4a3a20c45"
,
46
:
"6f75966d10272c672ac8"
,
47
:
"0f4ae46c1bf9717fbe18"
,
48
:
"6950dd5f59a109e09bf1"
,
49
:
"a6f7a2dce27db52104e5"
,
50
:
"909c9e85ea51f2841902"
,
51
:
"6a01d92850fef1ae9c8d"
,
52
:
"6e6e1e27f98a4fa5c52d"
,
53
:
"ddd17d265068b59417dd"
,
54
:
"464b80f1793a2d65280c"
,
55
:
"6b0e4ff8e9ec63dbb41d"
,
56
:
"13ef31c7dc5349f44c33"
,
57
:
"fa0993908f0e01751c40"
,
58
:
"53a525743218b8aa921f"
,
59
:
"ed1cfc8b4f8a46cebdfb"
,
60
:
"732f4f2a3b77c757329f"
,
61
:
"cd1705ba584ffe93eeca"
,
62
:
"df7e84f4aa5b42614d48"
,
63
:
"b5bc7452ed64cd762401"
,
64
:
"ad40e591d64f933be30c"
,
65
:
"dbf0e416350c970674ed"
,
66
:
"b3fc8c83ffbdf39a1cdb"
,
67
:
"b6da4f35c80e5246dd03"
,
68
:
"1cc4f0da6ca2684e5b24"
,
69
:
"78c1148df0648f724434"
,
70
:
"d8b620c8d056d806ac23"
,
71
:
"8ce9113b1568e9bf5537"
,
72
:
"a6222ada9c9a2655c92a"
,
73
:
"959fb844a60624eba321"
,
74
:
"8f58470ff84acae11858"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
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
src/components/set/secret-set.vue
View file @
dd15150e
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-06-0
3 16:28:31
* @LastEditTime: 2020-06-0
4 10:11:15
-->
<!--
<secret-set :categoryId="categoryId" @closeText="closeText" @submitText="submitText"></secret-set>
...
...
@@ -20,8 +20,8 @@
<!--
<el-form-item
label=
"agentid"
prop=
"agentid"
>
<limitInput
:inputWidth=
"402"
:inputValue
.
sync=
"ruleForm.agentid"
:holder=
"'请输入agentid'"
:getByType=
"'word'"
:maxLength=
"80"
>
</limitInput>
</el-form-item>
-->
<el-form-item
label=
"secret"
prop=
"
memberSecret
"
>
<limitInput
:inputWidth=
"402"
:inputValue
.
sync=
"ruleForm.
memberSecret
"
:holder=
"'请输入secret'"
:getByType=
"'word'"
:maxLength=
"80"
>
</limitInput>
<el-form-item
label=
"secret"
prop=
"
secretVal
"
>
<limitInput
:inputWidth=
"402"
:inputValue
.
sync=
"ruleForm.
secretVal
"
:holder=
"'请输入secret'"
:getByType=
"'word'"
:maxLength=
"80"
>
</limitInput>
</el-form-item>
<el-form-item
label=
"关联商户"
prop=
"enterpriseId"
>
<el-select
class=
"w-402"
v-model=
"ruleForm.enterpriseId"
placeholder=
"全部品牌"
@
change=
"getTableList"
>
...
...
@@ -71,13 +71,13 @@ export default {
dialogVisible
:
true
,
ruleForm
:
{
secretName
:
''
,
memberSecret
:
''
,
secretVal
:
''
,
enterpriseId
:
''
,
secretId
:
''
},
rules
:
{
secretName
:
[{
required
:
true
,
message
:
'请输入小程序名称'
,
trigger
:
'blur'
}],
memberSecret
:
[{
required
:
true
,
message
:
'请输入secret'
,
trigger
:
'blur'
}],
secretVal
:
[{
required
:
true
,
message
:
'请输入secret'
,
trigger
:
'blur'
}],
enterpriseId
:
[{
required
:
true
,
message
:
'请选择关联商户'
,
trigger
:
'change'
}]
},
brandOptions
:
[]
//品牌
...
...
@@ -131,7 +131,7 @@ export default {
secretId
:
that
.
ruleForm
.
secretId
,
secretName
:
that
.
ruleForm
.
secretName
,
enterpriseId
:
that
.
ruleForm
.
enterpriseId
,
memberSecret
:
that
.
ruleForm
.
memberSecret
memberSecret
:
that
.
ruleForm
.
secretVal
};
postRequest
(
'/haoban-manage3-web/wx-enterprise-member-secret-set'
,
data
)
.
then
(
res
=>
{
...
...
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