Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8cfe410e
authored
Oct 20, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
f226a8bf
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
149 additions
and
136 deletions
css/layui.css
css/main.css
css/ztree.css
html/employee/detail.html
html/employee/index.html
html/merchant/add.html
html/merchant/addSubMerchant.html
html/merchant/detail.html
html/merchant/index.html
html/role/index.html
css/layui.css
View file @
8cfe410
...
...
@@ -126,7 +126,7 @@
}
.layui-disabled
,
.layui-disabled
:hover
{
color
:
#999
!important
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
/* font-family: PingFangSC-Regular, PingFang SC; */
}
.layui-tab-content
xm-select
{
border-color
:
#E6E6E6
!important
;
...
...
@@ -145,6 +145,7 @@
/* 分页器的修改 */
.layui-laypage
button
{
border-radius
:
4px
;
font-family
:
PingFang-Regular
;
}
.layui-laypage
.layui-laypage-skip
input
:focus
{
border-color
:
var
(
--borderBlue
)
!important
;
...
...
@@ -152,7 +153,7 @@ border-color: var(--borderBlue)!important;
.layui-laypage
a
,
.layui-laypage
span
,
.layui-laypage
.layui-laypage-skip
{
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
/* font-family: PingFangSC-Regular, PingFang SC; */
font-weight
:
400
;
color
:
#666666
;
...
...
@@ -228,6 +229,9 @@ border-color: var(--borderBlue)!important;
.layui-table-body
tbody
tr
:not
(
:last-child
)
{
border-bottom
:
1px
solid
#DCDFE6
;
}
.layui-table-box
{
border-bottom
:
1px
solid
#DCDFE6
;
}
/* 设置表头颜色 */
.layui-table
thead
tr
{
...
...
css/main.css
View file @
8cfe410
...
...
@@ -239,4 +239,4 @@ footer {
}
.layui-no-data
.no-data
div
{
margin-top
:
12px
;
}
\ No newline at end of file
}
css/ztree.css
View file @
8cfe410
...
...
@@ -17,7 +17,7 @@ website: http://code.google.com/p/jquerytree/
padding
:
0
;
margin
:
0
;
font-size
:
12px
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
AppleGothic
,
sans-serif
/* font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif */
}
.ztree
{
...
...
html/employee/detail.html
View file @
8cfe410
...
...
@@ -156,7 +156,7 @@
<div
class=
"topbottomwrap"
>
<div
class=
"grayLine"
></div>
<h3
class=
"content-title sub-title"
id=
"accountAuth"
>
账户权限
</h3>
<div
class=
"layui-tab tabmutiple-content"
style=
"padding: 0 20px 10px; background-color: #fff; margin-bottom: 80px
;
"
lay-filter=
"roleAuth"
>
<div
class=
"layui-tab tabmutiple-content"
style=
"padding: 0 20px 10px; background-color: #fff; margin-bottom: 80px"
lay-filter=
"roleAuth"
>
<ul
class=
"layui-tab-title"
></ul>
<div
class=
"layui-tab-content"
></div>
</div>
...
...
@@ -168,7 +168,7 @@
<h3
class=
"content-title sub-title"
id=
"record"
>
修改记录
</h3>
<div
class=
"layui-tab tabmutiple-content"
style=
"padding: 0 20px; background-color: #fff"
>
<table
class=
"layui-table"
id=
"recordTable"
></table>
<div
id=
"recordPage"
class=
"align-
center
"
></div>
<div
id=
"recordPage"
class=
"align-
left
"
></div>
</div>
</div>
</div>
...
...
html/employee/index.html
View file @
8cfe410
...
...
@@ -98,22 +98,22 @@
var
status
=
$
(
'#status'
)
var
cols
=
[
//表头
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
8
0
},
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
6
0
},
{
field
:
'staffName'
,
title
:
'员工姓名'
,
width
:
120
,
align
:
'center'
},
// { field: 'staffCode', title: '员工号', align: 'center' },
{
field
:
'roleName'
,
title
:
'角色'
,
align
:
'center'
},
{
field
:
'staffPhone'
,
title
:
'登录手机号'
,
align
:
'center'
,
width
:
125
},
{
field
:
'entmicroName'
,
title
:
'企微号'
,
align
:
'center'
,
width
:
125
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
,
width
:
80
},
{
field
:
'createdAccount'
,
title
:
'创建者'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
align
:
'center'
,
width
:
160
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
110
},
{
title
:
'操作'
,
width
:
22
0
,
align
:
'left'
,
toolbar
:
'#employeeBar'
},
{
title
:
'操作'
,
width
:
16
0
,
align
:
'left'
,
toolbar
:
'#employeeBar'
},
{
field
:
'statusName'
,
title
:
'启用开关'
,
width
:
85
,
templet
:
'#switchTpl'
,
unresize
:
true
}
]
var
colums
=
[
//表头
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
8
0
},
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
6
0
},
{
field
:
'staffName'
,
title
:
'员工姓名'
,
width
:
180
,
align
:
'center'
},
// { field: 'staffCode', title: '员工号', align: 'center' },
{
field
:
'entmicroName'
,
title
:
'员工企微号'
,
align
:
'center'
,
width
:
125
},
...
...
@@ -123,7 +123,7 @@
{
field
:
'merchantUserResponse'
,
title
:
'所属企微'
,
align
:
'center'
,
width
:
125
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
180
},
{
title
:
'操作'
,
width
:
22
0
,
align
:
'left'
,
toolbar
:
'#employeeBar'
},
{
title
:
'操作'
,
width
:
16
0
,
align
:
'left'
,
toolbar
:
'#employeeBar'
},
{
field
:
'statusName'
,
title
:
'启用开关'
,
width
:
85
,
templet
:
'#switchTpl'
,
unresize
:
true
}
]
//创建table实例
...
...
html/merchant/add.html
View file @
8cfe410
...
...
@@ -325,7 +325,7 @@
<div
class=
"layui-input-inline"
>
<input
id=
"scopeCus"
class=
"layui-input business-scope-cust"
maxlength=
"15"
placeholder=
"请自定义营业范围,建议不超过10个"
/>
</div>
<div
class=
"layui-input-inline option-btns"
>
<div
class=
"layui-input-inline option-btns"
style=
"margin-left: 20px"
>
<button
type=
"button"
class=
"layui-btn btn-no-border"
data-type=
"handleAddScope"
>
<i
class=
"layui-icon layui-icon-add-circle scope-btn"
></i>
</button>
...
...
html/merchant/addSubMerchant.html
View file @
8cfe410
...
...
@@ -13,7 +13,7 @@
zoom
:
1
;
}
.clearfix
::after
{
content
:
""
;
content
:
''
;
display
:
block
;
height
:
0
;
clear
:
both
;
...
...
@@ -106,6 +106,7 @@
.option-btns
{
height
:
38px
;
margin-left
:
20px
;
}
.wrap-add-signal
{
...
...
@@ -136,15 +137,17 @@
.edit-box
#accountTypeEl
.layui-form-checked
span
,
#accountTypeEl
.layui-form-checked
:hover
span
{
background-color
:
#5850
FF
!important
;
background-color
:
#5850
ff
!important
;
}
.edit-box
#accountTypeEl
.layui-form-checked
i
,
#accountTypeEl
.layui-form-checked
:hover
i
{
color
:
#5850
FF
!important
;
color
:
#5850
ff
!important
;
}
.layui-form-radio
:hover
*,
.layui-form-radioed
,
.layui-form-radioed
>
i
{
color
:
#5850FF
!important
;
.layui-form-radio
:hover
*,
.layui-form-radioed
,
.layui-form-radioed
>
i
{
color
:
#5850ff
!important
;
}
.pageTitle
{
background-color
:
#fff
;
...
...
@@ -205,10 +208,10 @@
<span
id=
"addUpdateTitle"
>
创建商户
</span>
</div>
<!-- <div class="edit-box"> -->
<!-- 基本信息 -->
<div
id=
"basicForm"
>
<form
class=
"layui-form layui-row"
lay-filter=
"merchantForm"
>
<div
class=
"edit-box clearfix"
>
<!-- 基本信息 -->
<div
id=
"basicForm"
>
<form
class=
"layui-form layui-row"
lay-filter=
"merchantForm"
>
<div
class=
"edit-box clearfix"
>
<div
class=
"grayLine"
></div>
<div
class=
"layui-form-item edit-title"
style=
"position: relative"
>
<div
class=
"layui-input-inline"
>
企业基本信息
</div>
...
...
@@ -244,8 +247,7 @@
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
商户地址:
</label>
<div
class=
"layui-input-inline w-70"
>
<input
style=
"color: #333333 !important;"
name=
"merchantAddress"
disabled
class=
"layui-input layui-btn-disabled"
id=
"addrEl"
placeholder=
"请选择商户地址"
>
<input
style=
"color: #333333 !important"
name=
"merchantAddress"
disabled
class=
"layui-input layui-btn-disabled"
id=
"addrEl"
placeholder=
"请选择商户地址"
/>
<!-- <div class="m-t-10" id="addrEl">请选择商户地址</div> -->
<button
type=
"button"
class=
"layui-btn"
data-type=
"handleSelectAddr"
>
选择地址
</button>
</div>
...
...
@@ -270,7 +272,7 @@
<label
class=
"layui-form-label"
>
联系人:
</label>
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
maxlength=
"15"
name=
"merchantLegalPerson"
placeholder=
"请输入联系人姓名"
/>
<div
style=
"width: 100%; height: 28px
;
"
></div>
<div
style=
"width: 100%; height: 28px"
></div>
</div>
</div>
</div>
...
...
@@ -325,67 +327,67 @@
</div>
</div>
<div
class=
"layui-col-md6"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
主营品牌:
</label>
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
placeholder=
"车型品牌"
id=
"brand"
/>
<div
id=
"carBrandTree"
style=
"height: 200px; overflow-y: scroll"
></div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
主营品牌:
</label>
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
placeholder=
"车型品牌"
id=
"brand"
/>
<div
id=
"carBrandTree"
style=
"height: 200px; overflow-y: scroll"
></div>
</div>
</div>
</div>
</div
>
<div
class=
"layui-col-md6
"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
门店照片:
</label
>
<div
class=
"layui-input-inline upload-img-wh
"
>
<div
class=
"upload-img-box"
>
<div
class=
"icon-add img-add0 show"
>
+
</div
>
<img
class=
"upload-img upload-img-wh hide"
id=
"img0"
src=
""
/>
<input
type=
"file
"
id=
"upload
0"
name=
"merhcnatImg0
"
ref=
"file
"
class=
"upload upload-img-box upload-img-wh
"
accept=
"image/png, image/jpeg, image/gif, image/jpg
"
data-idx=
"
0"
style=
"opacity: 0"
/
>
<div
class=
"layui-col-md6"
>
<div
class=
"layui-form-item
"
>
<label
class=
"layui-form-label"
>
门店照片:
</label
>
<div
class=
"layui-input-inline upload-img-wh"
>
<div
class=
"upload-img-box
"
>
<div
class=
"icon-add img-add0 show"
>
+
</div
>
<img
class=
"upload-img upload-img-wh hide"
id=
"img0"
src=
""
/
>
<input
type=
"file"
id=
"upload0
"
name=
"merhcnatImg
0"
ref=
"file
"
class=
"upload upload-img-box upload-img-wh
"
accept=
"image/png, image/jpeg, image/gif, image/jpg
"
data-idx=
"0
"
style=
"opacity:
0"
/>
</div
>
</div>
</div
>
<div
class=
"layui-input-inline upload-img-wh
"
>
<div
class=
"upload-img-box"
>
<div
class=
"icon-add img-add1 show"
>
+
</div
>
<img
class=
"upload-img upload-img-wh hide"
id=
"img1"
src=
""
/>
<input
type=
"file
"
id=
"upload
1"
name=
"merhcnatImg1
"
ref=
"file
"
class=
"upload upload-img-box upload-img-wh
"
accept=
"image/png, image/jpeg, image/gif, image/jpg
"
data-idx=
"1
"
style=
"opacity: 0"
/
>
<div
class=
"layui-input-inline upload-img-wh"
>
<div
class=
"upload-img-box
"
>
<div
class=
"icon-add img-add1 show"
>
+
</div
>
<img
class=
"upload-img upload-img-wh hide"
id=
"img1"
src=
""
/
>
<input
type=
"file"
id=
"upload1
"
name=
"merhcnatImg
1"
ref=
"file
"
class=
"upload upload-img-box upload-img-wh
"
accept=
"image/png, image/jpeg, image/gif, image/jpg
"
data-idx=
"1
"
style=
"opacity: 0
"
/>
</div
>
</div>
</div
>
<div
class=
"layui-input-inline upload-img-wh
"
>
<div
class=
"upload-img-box"
>
<div
class=
"icon-add img-add2 show"
>
+
</div
>
<img
class=
"upload-img upload-img-wh hide"
id=
"img2"
src=
""
/>
<input
type=
"file
"
id=
"upload
2"
name=
"merhcnatImg2
"
ref=
"file
"
class=
"upload upload-img-box upload-img-wh
"
accept=
"image/png, image/jpeg, image/gif, image/jpg
"
data-idx=
"2
"
style=
"opacity: 0"
/
>
<div
class=
"layui-input-inline upload-img-wh"
>
<div
class=
"upload-img-box
"
>
<div
class=
"icon-add img-add2 show"
>
+
</div
>
<img
class=
"upload-img upload-img-wh hide"
id=
"img2"
src=
""
/
>
<input
type=
"file"
id=
"upload2
"
name=
"merhcnatImg
2"
ref=
"file
"
class=
"upload upload-img-box upload-img-wh
"
accept=
"image/png, image/jpeg, image/gif, image/jpg
"
data-idx=
"2
"
style=
"opacity: 0
"
/>
</div
>
</div>
<span
class=
"tips"
>
图片格式仅支持JPG,PNG格式,大小1M以内
</span>
</div>
<span
class=
"tips"
>
图片格式仅支持JPG,PNG格式,大小1M以内
</span>
</div>
</div>
</div>
<div
class=
"edit-box"
>
...
...
@@ -479,31 +481,31 @@
<button
type=
"reset"
class=
"layui-btn"
data-type=
"handleCancel"
>
取消
</button>
</div>
</div>
</form>
</div>
</div>
<!-- 权限树 -->
<div
id=
"authorityTree"
>
<div
class=
"edit-box"
>
<!-- 树 -->
<!-- <div class="layui-form-item">
</form>
</div>
</div>
<!-- 权限树 -->
<div
id=
"authorityTree"
>
<div
class=
"edit-box"
>
<!-- 树 -->
<!-- <div class="layui-form-item">
<label class="layui-form-label required">角色权限:</label>
<div class="layui-input-block" id="accountType"> -->
<!-- <input lay-filter="switch" type="checkbox" name="merchantId" value="1" title="引流渠道商" />
<!-- <input lay-filter="switch" type="checkbox" name="merchantId" value="1" title="引流渠道商" />
<input lay-filter="switch" type="checkbox" name="merchantId" value="2" title="服务商/合作商" /> -->
<!-- </div>
<!-- </div>
</div> -->
<div
class=
"layui-tab"
lay-filter=
"roleAuth"
>
<ul
class=
"layui-tab-title"
></ul>
<div
class=
"layui-tab-content"
></div>
</div>
<div
class=
"footer-close"
>
<button
id=
"draft"
class=
"layui-btn"
>
存草稿
</button>
<button
id=
"preStep"
class=
"layui-btn"
>
上一步
</button>
<button
id=
"confirm"
class=
"layui-btn"
>
确定
</button>
<button
class=
"layui-btn"
data-type=
"handleCancel"
>
取消
</button>
</div>
<div
class=
"layui-tab"
lay-filter=
"roleAuth"
>
<ul
class=
"layui-tab-title"
></ul>
<div
class=
"layui-tab-content"
></div>
</div>
<div
class=
"footer-close"
>
<button
id=
"draft"
class=
"layui-btn"
>
存草稿
</button>
<button
id=
"preStep"
class=
"layui-btn"
>
上一步
</button>
<button
id=
"confirm"
class=
"layui-btn"
>
确定
</button>
<button
class=
"layui-btn"
data-type=
"handleCancel"
>
取消
</button>
</div>
</div>
</div>
</main>
</div>
...
...
@@ -657,21 +659,26 @@
return
'请填入正确的驻店电话'
}
},
otherReq
:
function
(
value
,
item
){
var
verifyName
=
$
(
item
).
attr
(
'name'
)
,
verifyType
=
$
(
item
).
attr
(
'type'
)
,
formElem
=
$
(
item
).
parents
(
'.layui-form'
)
//获取当前所在的form元素,如果存在的话
,
verifyElem
=
formElem
.
find
(
'input[name='
+
verifyName
+
']'
)
//获取需要校验的元素
,
isTrue
=
verifyElem
.
is
(
':checked'
)
//是否命中校验
,
focusElem
=
verifyElem
.
next
().
find
(
'i.layui-icon'
);
//焦点元素
if
(
!
isTrue
||
!
value
){
//定位焦点
focusElem
.
css
(
verifyType
==
'radio'
?{
"color"
:
"#FF5722"
}:{
"border-color"
:
"#FF5722"
});
//对非输入框设置焦点
focusElem
.
first
().
attr
(
"tabIndex"
,
"1"
).
css
(
"outline"
,
"0"
).
blur
(
function
()
{
focusElem
.
css
(
verifyType
==
'radio'
?{
"color"
:
""
}:{
"border-color"
:
""
});
}).
focus
();
return
'必填项不能为空'
;
otherReq
:
function
(
value
,
item
)
{
var
verifyName
=
$
(
item
).
attr
(
'name'
),
verifyType
=
$
(
item
).
attr
(
'type'
),
formElem
=
$
(
item
).
parents
(
'.layui-form'
),
//获取当前所在的form元素,如果存在的话
verifyElem
=
formElem
.
find
(
'input[name='
+
verifyName
+
']'
),
//获取需要校验的元素
isTrue
=
verifyElem
.
is
(
':checked'
),
//是否命中校验
focusElem
=
verifyElem
.
next
().
find
(
'i.layui-icon'
)
//焦点元素
if
(
!
isTrue
||
!
value
)
{
//定位焦点
focusElem
.
css
(
verifyType
==
'radio'
?
{
color
:
'#FF5722'
}
:
{
'border-color'
:
'#FF5722'
})
//对非输入框设置焦点
focusElem
.
first
()
.
attr
(
'tabIndex'
,
'1'
)
.
css
(
'outline'
,
'0'
)
.
blur
(
function
()
{
focusElem
.
css
(
verifyType
==
'radio'
?
{
color
:
''
}
:
{
'border-color'
:
''
})
})
.
focus
()
return
'必填项不能为空'
}
}
})
...
...
@@ -717,7 +724,7 @@
'merchantLoginAccount'
,
'merchantLoginPassword'
,
'merchantAccountLevel'
,
'effectiveTime'
,
'effectiveTime'
]
if
(
formData
.
isloginName
==
'on'
)
{
params
.
isloginName
=
1
...
...
@@ -972,27 +979,27 @@
reader
.
onload
()
})
$
(
'#sevenday'
).
on
(
'click'
,
function
()
{
var
startTime
=
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))
$
(
'#sevenday'
).
on
(
'click'
,
function
()
{
var
startTime
=
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))
var
endTime
=
startTime
*
1
+
86400
*
7
*
1000
console
.
log
(
helper
.
dateFormat
(
startTime
),
endTime
)
$
(
'#effectiveStarttime'
).
val
(
helper
.
dateFormat
(
startTime
))
$
(
'#expireDate'
).
val
(
helper
.
dateFormat
(
endTime
))
})
$
(
'#oneyear'
).
on
(
'click'
,
function
()
{
var
startTime
=
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))
$
(
'#oneyear'
).
on
(
'click'
,
function
()
{
var
startTime
=
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))
var
endTime
=
startTime
.
setFullYear
(
startTime
.
getFullYear
()
+
1
)
console
.
log
(
helper
.
dateFormat
(
endTime
))
$
(
'#effectiveStarttime'
).
val
(
helper
.
dateFormat
(
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))))
$
(
'#effectiveStarttime'
).
val
(
helper
.
dateFormat
(
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))))
$
(
'#expireDate'
).
val
(
helper
.
dateFormat
(
endTime
))
})
$
(
'#twoyears'
).
on
(
'click'
,
function
()
{
var
startTime
=
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))
$
(
'#twoyears'
).
on
(
'click'
,
function
()
{
var
startTime
=
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))
var
endTime
=
startTime
.
setFullYear
(
startTime
.
getFullYear
()
+
2
)
console
.
log
(
helper
.
dateFormat
(
endTime
))
$
(
'#effectiveStarttime'
).
val
(
helper
.
dateFormat
(
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))))
$
(
'#effectiveStarttime'
).
val
(
helper
.
dateFormat
(
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))))
$
(
'#expireDate'
).
val
(
helper
.
dateFormat
(
endTime
))
})
...
...
@@ -1434,8 +1441,7 @@
// 选项卡标题的lay-id属性值
id
:
id
})
var
getTpl
=
`<form class="layui-form layui-form-pane layui-tab-form" action="">
var
getTpl
=
`<form class="layui-form layui-form-pane layui-tab-form" action="">
<div class="layui-form-item" pane>
<label class="layui-form-label">选择产品:</label>
<div class="layui-input-block" id="project
${
id
}
">
...
...
@@ -1518,12 +1524,11 @@
$
(
`#nodata
${
id
}
`
).
removeClass
(
'hide'
)
$
(
`#nodata
${
id
}
`
).
addClass
(
'show'
)
}
}
}
// 产品复选框change事件
form
.
on
(
'checkbox(filter)'
,
function
(
data
)
{
form
.
on
(
'checkbox(filter)'
,
function
(
data
)
{
console
.
log
(
data
,
'33333333333'
)
var
roleId
=
+
data
.
elem
.
dataset
.
id
var
projectId
=
data
.
value
...
...
html/merchant/detail.html
View file @
8cfe410
...
...
@@ -114,10 +114,15 @@
}
.updateRecord
{
text-align
:
center
;
text-align
:
left
;
color
:
#999
;
background-color
:
#fff
;
padding
:
0
10px
;
/* padding: 0 10px; */
/* margin: 0 10px; */
}
.align-pos
{
margin-top
:
5px
;
display
:
inline-block
;
}
.mb21
{
...
...
@@ -151,7 +156,7 @@
}
.fixed-btn
{
width
:
140px
;
/* width: 140px; */
height
:
28px
;
line-height
:
28px
;
font-size
:
12px
;
...
...
@@ -408,7 +413,7 @@
</div>
<div
class=
"layui-tab-item updateRecord"
>
<table
class=
"layui-table"
id=
"recordTable"
></table>
<div
id=
"recordPage"
class=
"align-
center
"
></div>
<div
id=
"recordPage"
class=
"align-
pos
"
></div>
<!-- <span class="no-data"> 暂无记录</span> -->
</div>
</div>
...
...
@@ -501,8 +506,7 @@
{
field
:
'ip'
,
title
:
'登录IP'
,
align
:
'center'
,
width
:
120
align
:
'center'
},
{
field
:
'modifyContent'
,
...
...
html/merchant/index.html
View file @
8cfe410
...
...
@@ -226,7 +226,7 @@
{{
#
}
}}
<
/div
>
<
div
>
{{
#
if
((
d
.
btn
.
createSubMerchant
)){
}}
{{
#
if
((
d
.
btn
.
createSubMerchant
)){
}}
<
a
class
=
"layui-btn-xs"
lay
-
event
=
"handleAddMerchant"
>
创建子商户
<
/a
>
{{
#
}
}}
{{
#
if
((
d
.
btn
.
editPeriod
&&
window
.
isDxternal
!=
1
)){
}}
<
a
class
=
"layui-btn-xs"
lay
-
event
=
"handleVaildPeriod"
>
修改账户有效期
<
/a
>
...
...
html/role/index.html
View file @
8cfe410
...
...
@@ -82,7 +82,7 @@
var
merchantName
=
$
(
'#merchantName'
)
var
cols
=
[
//表头
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
8
0
},
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
6
0
},
{
field
:
'roleName'
,
title
:
'角色名称'
,
align
:
'center'
},
{
field
:
'roleCode'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'所属商户名'
,
align
:
'center'
},
...
...
@@ -91,7 +91,7 @@
{
fixed
:
'right'
,
title
:
'操作'
,
minWidth
:
160
,
align
:
'center'
,
toolbar
:
'#roleBar'
}
]
var
colums
=
[
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
8
0
},
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
6
0
},
{
field
:
'roleName'
,
title
:
'角色名称'
,
align
:
'center'
},
{
field
:
'roleCode'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment