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
ce9e4057
Commit
ce9e4057
authored
May 29, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改企业设置
parent
05cdcdf7
Hide 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.a5d87c8e23e9c5a1f25375c039f60f94.css
dist/static/css/app.a5d87c8e23e9c5a1f25375c039f60f94.css
+0
-0
10.6a60ff30728c5278d382.js
dist/static/js/10.6a60ff30728c5278d382.js
+2
-0
10.ef877b80aabafdacd5e7.js
dist/static/js/10.ef877b80aabafdacd5e7.js
+0
-2
manifest.c4835c538b8949a0cdcb.js
dist/static/js/manifest.c4835c538b8949a0cdcb.js
+2
-2
enterpriseSet.vue
src/views/enterprise/enterpriseSet.vue
+2
-2
No files found.
dist/index.html
View file @
ce9e4057
<!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.48ef45e726d5da9aa7c66362fdeca2cf.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.07af3f770239e8782f3d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.5b33c5efa6caf40b5ed9.js
></script><script
type=
text/javascript
src=
./static/js/app.6007fef44a9737b68bb5.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.a5d87c8e23e9c5a1f25375c039f60f94.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.c4835c538b8949a0cdcb.js
></script><script
type=
text/javascript
src=
./static/js/vendor.5b33c5efa6caf40b5ed9.js
></script><script
type=
text/javascript
src=
./static/js/app.6007fef44a9737b68bb5.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
48ef45e726d5da9aa7c66362fdeca2cf
.css
→
dist/static/css/app.
a5d87c8e23e9c5a1f25375c039f60f94
.css
View file @
ce9e4057
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/10.6a60ff30728c5278d382.js
0 → 100644
View file @
ce9e4057
webpackJsonp
([
10
],{
"0Lwl"
:
function
(
e
,
t
){},
"2HqF"
:
function
(
e
,
t
){},
"V/ow"
:
function
(
e
,
t
){},
feRM
:
function
(
e
,
t
,
a
){
"use strict"
;
var
o
=
a
(
"//Fk"
),
s
=
a
.
n
(
o
),
r
=
a
(
"Ch4/"
),
n
=
{
name
:
"single-upload"
,
props
:{
videoSrc
:{
type
:
String
,
default
:
""
},
imgSrc
:{
type
:
String
,
default
:
""
},
field
:{
type
:
String
,
default
:
""
},
uploadLimit
:{
type
:[
Number
,
String
],
default
:
2
},
uploadType
:{
type
:[
Number
,
String
],
default
:
1
}},
data
:
function
(){
return
{
projectName
:
""
,
imgShowFlag
:
!
1
,
imgUrl
:
""
,
videoFlag
:
!
1
,
fileType
:
1
==
this
.
uploadType
||
2
==
this
.
uploadType
?
"jpg"
:
"mp4"
}},
beforeMount
:
function
(){
var
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
)):
r
.
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
,
o
=
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
||
o
||
this
.
$message
.
error
(
"上传图片大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
!=
this
.
uploadType
||
a
||
this
.
$message
.
error
(
"上传视频支持MP4格式!"
),
3
!=
this
.
uploadType
||
o
||
this
.
$message
.
error
(
"上传视频大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
==
this
.
uploadType
?
a
&&
o
:
t
&&
o
&&
new
s
.
a
(
function
(
t
,
a
){
var
o
=
new
FileReader
;
o
.
onload
=
function
(
e
){
var
a
=
new
Image
;
a
.
onload
=
function
(){
this
.
width
,
this
.
height
;
t
()},
a
.
src
=
e
.
target
.
result
},
o
.
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
o
=
a
(
"c9no"
),
s
=
a
(
"mvHQ"
),
r
=
a
.
n
(
s
),
n
=
a
(
"fZjL"
),
i
=
a
.
n
(
n
),
c
=
a
(
"feRM"
),
l
=
a
(
"l46T"
),
p
=
a
(
"Kkt8"
),
m
=
a
(
"PI0u"
),
d
=
a
(
"P9l9"
),
u
=
a
(
"3E4D"
),
f
=
a
(
"Ch4/"
),
h
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
l
.
a
,
limitTextarea
:
p
.
a
,
singleUpload
:
c
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
appName
:
""
,
secret
:
""
,
enterpriseId
:
""
,
secretRelationId
:
""
},
rules
:{
appName
:[{
required
:
!
0
,
message
:
"请输入小程序名称"
,
trigger
:
"blur"
}],
agentid
:[{
required
:
!
0
,
message
:
"请输入agentid"
,
trigger
:
"blur"
}],
secret
:[{
required
:
!
0
,
message
:
"请输入secret"
,
trigger
:
"blur"
}],
enterpriseId
:[{
required
:
!
0
,
message
:
"请选择关联商户"
,
trigger
:
"change"
}]},
brandOptions
:[]}},
methods
:{
getBrandData
:
function
(){
var
e
=
this
;
Object
(
d
.
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
(
m
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
secretRelationId
:
e
.
ruleForm
.
secretRelationId
,
appName
:
e
.
ruleForm
.
appName
,
enterpriseId
:
e
.
ruleForm
.
enterpriseId
,
secret
:
e
.
ruleForm
.
secret
};
Object
(
d
.
d
)((
e
.
ruleForm
.
secretRelationId
,
"/haoban-manage3-web/member-secret-set"
),
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
u
.
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
(
r
()(
e
)))}},
mounted
:
function
(){
this
.
getBrandData
(),
i
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
r
()(
this
.
editRow
)))}},
g
=
{
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
:
"appName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
e
.
ruleForm
.
appName
,
holder
:
"请输入小程序名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"appName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"secret"
,
prop
:
"secret"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
e
.
ruleForm
.
secret
,
holder
:
"请输入secret"
,
getByType
:
"word"
,
maxLength
:
80
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"secret"
,
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
b
=
a
(
"VU/8"
)(
h
,
g
,
!
1
,
function
(
e
){
a
(
"2HqF"
)},
"data-v-017a971f"
,
null
).
exports
,
v
=
{
props
:{},
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请在企业密钥维护中输入对应的secret"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
companyObj
:{
smallVersion
:
""
,
corpName
:
""
,
corpid
:
""
,
contactFlag
:
!
1
,
verifiedEndTime
:
""
,
corpIndustry
:
""
,
corpSubIndustry
:
""
,
corpUserMax
:
""
,
location
:
""
,
wxSecretKey
:
""
,
contactSecret
:
""
,
memberSecret
:
""
,
wxSecretKeyFlag
:
!
0
,
contactSecretFlag
:
!
0
,
memberSecretFlag
:
!
0
,
wxSecretKeyLastTime
:
null
,
contactSecretLastTime
:
null
,
memberSecretLastTime
:
null
,
haobanSecret
:
""
,
haobanSecretFlag
:
!
0
,
haobanSecretLastTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
,
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
,
o
=
{
secretRelationId
:
t
.
secretRelationId
};
Object
(
d
.
d
)(
"/haoban-manage3-web/member-secret-set"
,
o
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getAppData
();
f
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveSecret
:
Object
(
m
.
a
)(
function
(
e
){
var
t
=
{};
if
(
1
==
e
&&
(
t
.
wxSecretKey
=
String
(
this
.
companyObj
.
wxSecretKey
).
trim
(),
this
.
showWxError
=!
this
.
companyObj
.
wxSecretKey
),
3
==
e
&&
(
t
.
haobanSecret
=
String
(
this
.
companyObj
.
haobanSecret
).
trim
(),
this
.
showHaobanError
=!
this
.
companyObj
.
haobanSecret
),
this
.
showWxError
||
this
.
showHaobanError
)
return
!
1
;
this
.
postSaveSecret
(
e
,
t
)},
300
),
postSaveSecret
:
function
(
e
,
t
){
var
a
=
this
,
o
=
1
==
e
?
"/wx-enterprise-wx-secret-set"
:
2
==
e
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-member-secret-set"
;
Object
(
d
.
d
)(
"/haoban-manage3-web/"
+
o
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
u
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getData
(),
!
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
(
d
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
t
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAppData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/member-secret-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
d
.
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
(
d
.
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
.
getAppData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
o
.
a
,
secretSet
:
b
}},
_
=
{
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
.
companyObj
.
wxSecretKey
,
callback
:
function
(
t
){
e
.
$set
(
e
.
companyObj
,
"wxSecretKey"
,
t
)},
expression
:
"companyObj.wxSecretKey"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"1"
)}}},[
e
.
_v
(
"保存"
)]),
e
.
companyObj
.
wxSecretKeyLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
companyObj
.
wxSecretKeyLastTime
)))]):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
companyObj
.
wxSecretKeyFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
wxSecretKeyFlag
?
"校验成功"
:
"校验失败"
))])]),
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
.
companyObj
.
contactSecret
,
callback
:
function
(
t
){
e
.
$set
(
e
.
companyObj
,
"contactSecret"
,
t
)},
expression
:
"companyObj.contactSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"2"
)}}},[
e
.
_v
(
"保存"
)]),
e
.
companyObj
.
contactSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
companyObj
.
contactSecretLastTime
)))]):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
companyObj
.
contactSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
contactSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
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
.
companyObj
.
haobanSecret
,
callback
:
function
(
t
){
e
.
$set
(
e
.
companyObj
,
"haobanSecret"
,
t
)},
expression
:
"companyObj.haobanSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
saveSecret
(
"3"
)}}},[
e
.
_v
(
"保存"
)]),
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
e
.
_v
(
"最后一次保存:"
+
e
.
_s
(
e
.
companyObj
.
haobanSecretLastTime
||
e
.
formatTimeStamp
))]),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
companyObj
.
haobanSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
e
.
companyObj
.
haobanSecretFlag
?
"校验成功"
:
"校验失败"
))])]),
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"
,
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
.
appName
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"secret"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"'--'"
)(
t
.
row
.
secret
)))]),
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
row
.
check_flag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
check_flag
?
"校验成功"
:
"校验失败"
))])]}}])}),
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
(
e
.
_f
(
"'--'"
)(
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
.
update_time
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
update_time
)))])]}}])}),
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"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-2f54eb p-l-5"
},[
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
(
"V/ow"
)},
"data-v-785d7e54"
,
null
);
t
.
default
=
w
.
exports
}});
\ No newline at end of file
dist/static/js/10.ef877b80aabafdacd5e7.js
deleted
100644 → 0
View file @
05cdcdf7
webpackJsonp
([
10
],{
"/Irk"
:
function
(
t
,
e
){},
"0Lwl"
:
function
(
t
,
e
){},
"2HqF"
:
function
(
t
,
e
){},
feRM
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
a
(
"//Fk"
),
o
=
a
.
n
(
s
),
r
=
a
(
"Ch4/"
),
n
=
{
name
:
"single-upload"
,
props
:{
videoSrc
:{
type
:
String
,
default
:
""
},
imgSrc
:{
type
:
String
,
default
:
""
},
field
:{
type
:
String
,
default
:
""
},
uploadLimit
:{
type
:[
Number
,
String
],
default
:
2
},
uploadType
:{
type
:[
Number
,
String
],
default
:
1
}},
data
:
function
(){
return
{
projectName
:
""
,
imgShowFlag
:
!
1
,
imgUrl
:
""
,
videoFlag
:
!
1
,
fileType
:
1
==
this
.
uploadType
||
2
==
this
.
uploadType
?
"jpg"
:
"mp4"
}},
beforeMount
:
function
(){
var
t
=
window
.
location
.
origin
;
-
1
!=
t
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
t
},
methods
:{
uploadUrl
:
function
(){
var
t
=
window
.
location
.
origin
,
e
=
void
0
;
return
e
=
"-1"
!=
t
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
t
,
this
.
upUrl
=
e
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
handleAvatarSuccess
:
function
(
t
,
e
,
a
){
1
==
t
.
errorCode
?(
console
.
log
(
t
),
this
.
videoFlag
=!
1
,
3
==
this
.
uploadType
?
this
.
$emit
(
"update:videoSrc"
,
t
.
result
.
url
):
this
.
$emit
(
"update:imgSrc"
,
t
.
result
.
url
)):
r
.
a
.
errorMsg
(
t
)},
beforeAvatarUpload
:
function
(
t
){
console
.
log
(
t
),
this
.
fileType
=
"image/jpeg"
===
t
.
type
?
"jpeg"
:
"image/jpg"
===
t
.
type
?
"jpg"
:
"image/png"
===
t
.
type
?
"png"
:
"video/mp4"
==
t
.
type
?
"mp4"
:
""
;
var
e
=
"image/jpeg"
===
t
.
type
||
"image/jpg"
===
t
.
type
||
"image/png"
===
t
.
type
,
a
=
"video/mp4"
==
t
.
type
,
s
=
t
.
size
/
1024
/
1024
<
this
.
uploadLimit
;
return
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
e
||
this
.
$message
.
error
(
"上传图片支持png、jpg、jpeg格式!"
),
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
s
||
this
.
$message
.
error
(
"上传图片大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
!=
this
.
uploadType
||
a
||
this
.
$message
.
error
(
"上传视频支持MP4格式!"
),
3
!=
this
.
uploadType
||
s
||
this
.
$message
.
error
(
"上传视频大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
==
this
.
uploadType
?
a
&&
s
:
e
&&
s
&&
new
o
.
a
(
function
(
e
,
a
){
var
s
=
new
FileReader
;
s
.
onload
=
function
(
t
){
var
a
=
new
Image
;
a
.
onload
=
function
(){
this
.
width
,
this
.
height
;
e
()},
a
.
src
=
t
.
target
.
result
},
s
.
readAsDataURL
(
t
)})},
showImage
:
function
(
t
){
if
(
!
t
||
""
==
t
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
t
},
hideImage
:
function
(
t
){
this
.
imgShowFlag
=
t
}}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"single-upload-wrap"
},[
a
(
"el-upload"
,{
staticClass
:
"avatar-uploader"
,
attrs
:{
action
:
t
.
uploadUrl
(),
"show-file-list"
:
!
1
,
"on-success"
:
t
.
handleAvatarSuccess
,
"before-upload"
:
t
.
beforeAvatarUpload
}},[
t
.
imgSrc
?
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
imgSrc
},
on
:{
mouseover
:
function
(
e
){
t
.
showImage
(
t
.
imgSrc
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
""
!=
t
.
videoSrc
&&
0
==
t
.
videoFlag
?
a
(
"video"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
videoSrc
}},[
t
.
_v
(
"您的浏览器不支持视频播放"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
imgSrc
||
t
.
videoSrc
?
t
.
_e
():
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-plus avatar-uploader-icon"
}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-606266"
},[
t
.
_v
(
t
.
_s
(
1
==
t
.
uploadType
||
2
==
t
.
uploadType
?
"上传图片"
:
"上传视频"
))])])]),
t
.
_v
(
" "
),
1
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
t
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
t
.
_v
(
"
\
n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效
\
n "
)]):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
t
){
a
(
"0Lwl"
)},
"data-v-51d864ba"
,
null
);
e
.
a
=
c
.
exports
},
x5Fx
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
o
=
a
(
"mvHQ"
),
r
=
a
.
n
(
o
),
n
=
a
(
"fZjL"
),
i
=
a
.
n
(
n
),
c
=
a
(
"feRM"
),
l
=
a
(
"l46T"
),
p
=
a
(
"Kkt8"
),
m
=
a
(
"PI0u"
),
d
=
a
(
"P9l9"
),
u
=
a
(
"3E4D"
),
f
=
a
(
"Ch4/"
),
h
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
l
.
a
,
limitTextarea
:
p
.
a
,
singleUpload
:
c
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
appName
:
""
,
secret
:
""
,
enterpriseId
:
""
,
secretRelationId
:
""
},
rules
:{
appName
:[{
required
:
!
0
,
message
:
"请输入小程序名称"
,
trigger
:
"blur"
}],
agentid
:[{
required
:
!
0
,
message
:
"请输入agentid"
,
trigger
:
"blur"
}],
secret
:[{
required
:
!
0
,
message
:
"请输入secret"
,
trigger
:
"blur"
}],
enterpriseId
:[{
required
:
!
0
,
message
:
"请选择关联商户"
,
trigger
:
"change"
}]},
brandOptions
:[]}},
methods
:{
getBrandData
:
function
(){
var
t
=
this
;
Object
(
d
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
t
.
brandOptions
=
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
t
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
m
.
a
)(
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
t
&&
e
.
postSave
()})},
300
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
secretRelationId
:
t
.
ruleForm
.
secretRelationId
,
appName
:
t
.
ruleForm
.
appName
,
enterpriseId
:
t
.
ruleForm
.
enterpriseId
,
secret
:
t
.
ruleForm
.
secret
};
Object
(
d
.
d
)((
t
.
ruleForm
.
secretRelationId
,
"/haoban-manage3-web/member-secret-set"
),
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
==
a
.
errorCode
?(
u
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
$refs
.
ruleForm
.
resetFields
(),
t
.
$emit
(
"submitText"
)):
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
editRow
:
function
(
t
){
i
()(
t
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
r
()(
t
)))}},
mounted
:
function
(){
this
.
getBrandData
(),
i
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
r
()(
this
.
editRow
)))}},
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
:
"appName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
t
.
ruleForm
.
appName
,
holder
:
"请输入小程序名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"appName"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"secret"
,
prop
:
"secret"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
402
,
inputValue
:
t
.
ruleForm
.
secret
,
holder
:
"请输入secret"
,
getByType
:
"word"
,
maxLength
:
80
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"secret"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"关联商户"
,
prop
:
"enterpriseId"
}},[
a
(
"el-select"
,{
staticClass
:
"w-402"
,
attrs
:{
placeholder
:
"全部品牌"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
ruleForm
.
enterpriseId
,
callback
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"enterpriseId"
,
e
)},
expression
:
"ruleForm.enterpriseId"
}},
t
.
_l
(
t
.
brandOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
enterpriseId
,
attrs
:{
label
:
t
.
enterpriseName
,
value
:
t
.
enterpriseId
}})}))],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
toCancel
}},[
t
.
_v
(
"取消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
)}}},[
t
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"2HqF"
)},
"data-v-017a971f"
,
null
).
exports
,
v
=
{
props
:{},
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请在企业密钥维护中输入对应的secret"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
companyObj
:{
smallVersion
:
""
,
corpName
:
""
,
corpid
:
""
,
contactFlag
:
!
1
,
verifiedEndTime
:
""
,
corpIndustry
:
""
,
corpSubIndustry
:
""
,
corpUserMax
:
""
,
location
:
""
,
wxSecretKey
:
""
,
contactSecret
:
""
,
memberSecret
:
""
,
wxSecretKeyFlag
:
!
0
,
contactSecretFlag
:
!
0
,
memberSecretFlag
:
!
0
,
wxSecretKeyLastTime
:
null
,
contactSecretLastTime
:
null
,
memberSecretLastTime
:
null
,
haobanSecret
:
""
,
haobanSecretFlag
:
!
0
,
haobanSecretLastTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
,
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
=
{
secretRelationId
:
e
.
secretRelationId
};
Object
(
d
.
d
)(
"/haoban-manage3-web/member-secret-set"
,
s
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getAppData
();
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
saveSecret
:
Object
(
m
.
a
)(
function
(
t
){
var
e
=
{};
if
(
1
==
t
&&
(
e
.
wxSecretKey
=
String
(
this
.
companyObj
.
wxSecretKey
).
trim
(),
this
.
showWxError
=!
this
.
companyObj
.
wxSecretKey
),
3
==
t
&&
(
e
.
haobanSecret
=
String
(
this
.
companyObj
.
haobanSecret
).
trim
(),
this
.
showHaobanError
=!
this
.
companyObj
.
haobanSecret
),
this
.
showWxError
||
this
.
showHaobanError
)
return
!
1
;
this
.
postSaveSecret
(
t
,
e
)},
300
),
postSaveSecret
:
function
(
t
,
e
){
var
a
=
this
,
s
=
1
==
t
?
"/wx-enterprise-wx-secret-set"
:
2
==
t
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-member-secret-set"
;
Object
(
d
.
d
)(
"/haoban-manage3-web/"
+
s
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
u
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getData
(),
!
1
;
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
e
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getAppData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/member-secret-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
companyObj
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
d
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getAppData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
,
secretSet
:
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
.
companyObj
.
wxSecretKey
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"wxSecretKey"
,
e
)},
expression
:
"companyObj.wxSecretKey"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"1"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
wxSecretKeyLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
wxSecretKeyLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
wxSecretKeyFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
wxSecretKeyFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写客户联系 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"top-start"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
t
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
t
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
t
.
companyObj
.
contactSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"contactSecret"
,
e
)},
expression
:
"companyObj.contactSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"2"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
contactSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
contactSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
contactSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
contactSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"用于获取登录小程序用户的手机号/姓名/部门信息"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"好办助手secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
haobanSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"haobanSecret"
,
e
)},
expression
:
"companyObj.haobanSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"3"
)}}},[
t
.
_v
(
"保存"
)]),
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
companyObj
.
haobanSecretLastTime
||
t
.
formatTimeStamp
))]),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
haobanSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
haobanSecretFlag
?
"校验成功"
:
"校验失败"
))])]),
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"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"小程序名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
appName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"secret"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
secret
)))]),
a
(
"span"
,{
class
:[
"iconfont"
,
e
.
row
.
check_flag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
check_flag
?
"校验成功"
:
"校验失败"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"关联商户"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
enterpriseName
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
update_time
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
update_time
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
tableData
.
length
<
10
?
a
(
"div"
,{
staticClass
:
"text-center add-cell cursor-pointer"
,
on
:{
click
:
t
.
addSecret
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus font-14 color-2f54eb"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-2f54eb p-l-5"
},[
t
.
_v
(
"新建"
)]),
a
(
"span"
,{
staticClass
:
"font-12 color-c0c4cc p-l-20"
},[
t
.
_v
(
"最多添加10个"
)])]):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
t
.
addShow
?
a
(
"secret-set"
,{
attrs
:{
editRow
:
t
.
editRow
},
on
:{
closeText
:
t
.
closeText
,
submitText
:
t
.
submitText
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
e
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
w
=
a
(
"VU/8"
)(
v
,
_
,
!
1
,
function
(
t
){
a
(
"/Irk"
)},
"data-v-ba4b9d08"
,
null
);
e
.
default
=
w
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
07af3f770239e8782f3d
.js
→
dist/static/js/manifest.
c4835c538b8949a0cdcb
.js
View file @
ce9e4057
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
77
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"1e01efaf386c04cc0fc5"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"14a128db1e8e40a0f5a7"
,
3
:
"23d5ab1c35d66fa2a975"
,
4
:
"0476be0fe43e41d6a432"
,
5
:
"73a0e3818658b09f6122"
,
6
:
"bc3f5f9950b6cf3992be"
,
7
:
"21ded123d8f375a56816"
,
8
:
"b1239ed66bf7f651f9c8"
,
9
:
"ca3f7f105d3216706c1d"
,
10
:
"ef877b80aabafdacd5e7"
,
11
:
"5f5e1cf6d55d8609ba40"
,
12
:
"0b370ee5f1f094e8a182"
,
13
:
"8b3c8b2d63fb98063c07"
,
14
:
"659375879cb1d59d0654"
,
15
:
"eb4a33b11e1bcfc10d01"
,
16
:
"134bd71f723e9fe1a8e0"
,
17
:
"ebf1847c50132c6f96a7"
,
18
:
"7fa0be27d3ea523f8826"
,
19
:
"63ca1f785b71646ef739"
,
20
:
"4f936f5247554d2c790d"
,
21
:
"a261cb3933029837028f"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"091f2a220d4cf1c0cf2a"
,
24
:
"7a57624e89e34e420a52"
,
25
:
"326a8c2ad9617bfe863c"
,
26
:
"458f45f2633ae24c5755"
,
27
:
"aa816867f4d0cb0d6131"
,
28
:
"53e6616ed021ab731d6c"
,
29
:
"a449f52d59c8c87965fd"
,
30
:
"ad1f21c495322d42096c"
,
31
:
"6445ecc72f036f4c2c27"
,
32
:
"eacdca24b86a209641f4"
,
33
:
"5bb79c7eeb67776e948e"
,
34
:
"bb8c1b7fb3ddf2f14229"
,
35
:
"cf76e4b74afa283a3eec"
,
36
:
"db02c347e3e009b70eac"
,
37
:
"f2bd11ca0a31fafb968c"
,
38
:
"8dacabcebbcf33c09d69"
,
39
:
"97f9a2be846a355358cb"
,
40
:
"a1ba1d1fe2d9bd9bd52c"
,
41
:
"5de0b0767fe465cb318d"
,
42
:
"cac405d22b8bbf065318"
,
43
:
"ee53d0cfde34d3580803"
,
44
:
"18caf7a9b6eb751cc55c"
,
45
:
"552e1acf5e0e21eb23fd"
,
46
:
"e26e59ea51d30a606602"
,
47
:
"0f4ae46c1bf9717fbe18"
,
48
:
"6950dd5f59a109e09bf1"
,
49
:
"a6f7a2dce27db52104e5"
,
50
:
"909c9e85ea51f2841902"
,
51
:
"3d768cd09b88e9fc1dfe"
,
52
:
"21378cae9a2a9603ea77"
,
53
:
"9f8169420235fafef868"
,
54
:
"1006843da5741c3a2385"
,
55
:
"2262933e6a0018b042ae"
,
56
:
"73b68bf666e957ef53f5"
,
57
:
"1575780ed0bc566dc822"
,
58
:
"8b45e9d696c27598cc95"
,
59
:
"8c417a72038befa44f3e"
,
60
:
"e10d02ed3d3fd3f20f60"
,
61
:
"1c97fc1aa04abac9cbfd"
,
62
:
"0a11009993db4a2531bf"
,
63
:
"b62d98988a2f683868f1"
,
64
:
"505a529e5cda237ea46f"
,
65
:
"bb570dcb8ac1e63ede24"
,
66
:
"1f3eeec8d6c7fdd1a997"
,
67
:
"4d39ac45373e1725daf5"
,
68
:
"1cc4f0da6ca2684e5b24"
,
69
:
"a22bd372ffd03e077cce"
,
70
:
"b999d4bf8b805f03bd2b"
,
71
:
"d19b0a20ea22d410b91d"
,
72
:
"ae171a4233296a9ac4b4"
,
73
:
"0c069b06ad167faadfc6"
,
74
:
"1a9f6769ec276b6ccb89"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
77
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"1e01efaf386c04cc0fc5"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"14a128db1e8e40a0f5a7"
,
3
:
"23d5ab1c35d66fa2a975"
,
4
:
"0476be0fe43e41d6a432"
,
5
:
"73a0e3818658b09f6122"
,
6
:
"bc3f5f9950b6cf3992be"
,
7
:
"21ded123d8f375a56816"
,
8
:
"b1239ed66bf7f651f9c8"
,
9
:
"ca3f7f105d3216706c1d"
,
10
:
"6a60ff30728c5278d382"
,
11
:
"5f5e1cf6d55d8609ba40"
,
12
:
"0b370ee5f1f094e8a182"
,
13
:
"8b3c8b2d63fb98063c07"
,
14
:
"659375879cb1d59d0654"
,
15
:
"eb4a33b11e1bcfc10d01"
,
16
:
"134bd71f723e9fe1a8e0"
,
17
:
"ebf1847c50132c6f96a7"
,
18
:
"7fa0be27d3ea523f8826"
,
19
:
"63ca1f785b71646ef739"
,
20
:
"4f936f5247554d2c790d"
,
21
:
"a261cb3933029837028f"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"091f2a220d4cf1c0cf2a"
,
24
:
"7a57624e89e34e420a52"
,
25
:
"326a8c2ad9617bfe863c"
,
26
:
"458f45f2633ae24c5755"
,
27
:
"aa816867f4d0cb0d6131"
,
28
:
"53e6616ed021ab731d6c"
,
29
:
"a449f52d59c8c87965fd"
,
30
:
"ad1f21c495322d42096c"
,
31
:
"6445ecc72f036f4c2c27"
,
32
:
"eacdca24b86a209641f4"
,
33
:
"5bb79c7eeb67776e948e"
,
34
:
"bb8c1b7fb3ddf2f14229"
,
35
:
"cf76e4b74afa283a3eec"
,
36
:
"db02c347e3e009b70eac"
,
37
:
"f2bd11ca0a31fafb968c"
,
38
:
"8dacabcebbcf33c09d69"
,
39
:
"97f9a2be846a355358cb"
,
40
:
"a1ba1d1fe2d9bd9bd52c"
,
41
:
"5de0b0767fe465cb318d"
,
42
:
"cac405d22b8bbf065318"
,
43
:
"ee53d0cfde34d3580803"
,
44
:
"18caf7a9b6eb751cc55c"
,
45
:
"552e1acf5e0e21eb23fd"
,
46
:
"e26e59ea51d30a606602"
,
47
:
"0f4ae46c1bf9717fbe18"
,
48
:
"6950dd5f59a109e09bf1"
,
49
:
"a6f7a2dce27db52104e5"
,
50
:
"909c9e85ea51f2841902"
,
51
:
"3d768cd09b88e9fc1dfe"
,
52
:
"21378cae9a2a9603ea77"
,
53
:
"9f8169420235fafef868"
,
54
:
"1006843da5741c3a2385"
,
55
:
"2262933e6a0018b042ae"
,
56
:
"73b68bf666e957ef53f5"
,
57
:
"1575780ed0bc566dc822"
,
58
:
"8b45e9d696c27598cc95"
,
59
:
"8c417a72038befa44f3e"
,
60
:
"e10d02ed3d3fd3f20f60"
,
61
:
"1c97fc1aa04abac9cbfd"
,
62
:
"0a11009993db4a2531bf"
,
63
:
"b62d98988a2f683868f1"
,
64
:
"505a529e5cda237ea46f"
,
65
:
"bb570dcb8ac1e63ede24"
,
66
:
"1f3eeec8d6c7fdd1a997"
,
67
:
"4d39ac45373e1725daf5"
,
68
:
"1cc4f0da6ca2684e5b24"
,
69
:
"a22bd372ffd03e077cce"
,
70
:
"b999d4bf8b805f03bd2b"
,
71
:
"d19b0a20ea22d410b91d"
,
72
:
"ae171a4233296a9ac4b4"
,
73
:
"0c069b06ad167faadfc6"
,
74
:
"1a9f6769ec276b6ccb89"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/enterprise/enterpriseSet.vue
View file @
ce9e4057
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-05-29 10:
22:29
* @LastEditTime: 2020-05-29 10:
33:00
-->
-->
<
template
>
<
template
>
<div
class=
"daily-set-wrap "
>
<div
class=
"daily-set-wrap "
>
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
><span
:class=
"['iconfont', companyObj.contactSecretFlag ? 'color-49c958 iconchenggong' : 'color-f83431 iconshibai']"
></span><span
class=
"p-l-10"
>
{{
companyObj
.
contactSecretFlag
?
'校验成功'
:
'校验失败'
}}
</span></span
><span
:class=
"['iconfont', companyObj.contactSecretFlag ? 'color-49c958 iconchenggong' : 'color-f83431 iconshibai']"
></span><span
class=
"p-l-10"
>
{{
companyObj
.
contactSecretFlag
?
'校验成功'
:
'校验失败'
}}
</span></span
>
>
</div>
</div>
<div
class=
"m-b-20"
>
<div
class=
"m-b-20
secret-cell
"
>
<span
class=
"inline-block w-127"
<span
class=
"inline-block w-127"
><el-tooltip
class=
"item"
effect=
"dark"
content=
"用于获取登录小程序用户的手机号/姓名/部门信息"
placement=
"top-start"
>
<span
style=
"cursor: pointer;padding-bottom: 2px; border-bottom: 1px dashed #2F54EB;"
class=
"font-14 color-606266"
>
好办助手secret:
</span></el-tooltip>
</span
><el-tooltip
class=
"item"
effect=
"dark"
content=
"用于获取登录小程序用户的手机号/姓名/部门信息"
placement=
"top-start"
>
<span
style=
"cursor: pointer;padding-bottom: 2px; border-bottom: 1px dashed #2F54EB;"
class=
"font-14 color-606266"
>
好办助手secret:
</span></el-tooltip>
</span
><el-input
class=
"m-l-10 w-399"
v-model=
"companyObj.haobanSecret"
placeholder=
"必填"
></el-input><el-button
class=
"m-l-20"
type=
"text"
@
click=
"saveSecret('3')"
>
保存
</el-button><span
class=
"m-l-20 font-12 color-909399"
>
最后一次保存:
{{
companyObj
.
haobanSecretLastTime
||
formatTimeStamp
}}
</span
><el-input
class=
"m-l-10 w-399"
v-model=
"companyObj.haobanSecret"
placeholder=
"必填"
></el-input><el-button
class=
"m-l-20"
type=
"text"
@
click=
"saveSecret('3')"
>
保存
</el-button><span
class=
"m-l-20 font-12 color-909399"
>
最后一次保存:
{{
companyObj
.
haobanSecretLastTime
||
formatTimeStamp
}}
</span
...
...
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