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 7de4d61a
authored
Aug 06, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交员工、商户修改日期
1 parent
44e25ab1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
html/employee/index.html
html/employee/validPeriod.html
html/merchant/index.html
html/employee/index.html
View file @
7de4d61
...
...
@@ -186,6 +186,9 @@
var
isRefresh
=
helper
.
store
.
get
(
'isRefresh'
)
if
(
isRefresh
)
{
getTabelList
(
employeeTable
)
layer
.
msg
(
'修改成功'
,
{
icon
:
1
})
}
helper
.
store
.
remove
(
'isRefresh'
)
},
...
...
html/employee/validPeriod.html
View file @
7de4d61
...
...
@@ -26,7 +26,7 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-label required"
style=
"width: 120px;"
>
账户有效期:
</div>
<div
class=
"layui-input-inline"
style=
"width: auto;"
>
<select
name=
"
validPeriod
"
id=
"periodSelect"
required
lay-verify=
"required"
>
<select
name=
"
effectiveTime
"
id=
"periodSelect"
required
lay-verify=
"required"
>
<option
value=
""
>
请选择
</option>
</select>
<p>
(注:永久有效不超过所属工厂商户的有效期)
</p>
...
...
@@ -65,7 +65,7 @@
// 调接口
var
params
=
{
method
:
'cn.com.glsx.merchants.staff.updateValPerByStaffId'
,
effectiveTime
:
data
.
field
.
validPeriod
,
effectiveTime
:
data
.
field
.
effectiveTime
,
id
:
vaildData
.
id
}
request
(
params
,
function
(
res
)
{
...
...
@@ -77,10 +77,6 @@
return
false
})
// function callbackdata() {
// return vaildData
// }
// 获取参数
function
getQueryString
(
name
)
{
var
reg
=
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
,
'i'
)
...
...
@@ -98,13 +94,13 @@
dictType
:
'staff_validity_period'
},
function
(
res
)
{
if
(
res
.
code
===
'0'
)
{
baseData
.
validPeriod
List
=
res
.
data
baseData
.
effectiveTime
List
=
res
.
data
var
periodSelect
=
$
(
'#periodSelect'
)
$
.
each
(
baseData
.
validPeriod
List
,
function
(
index
,
item
)
{
$
.
each
(
baseData
.
effectiveTime
List
,
function
(
index
,
item
)
{
periodSelect
.
append
(
new
Option
(
item
.
dictLabel
,
item
.
dictValue
))
})
form
.
val
(
'periodFilter'
,
{
validPeriod
:
vaildData
.
validPeriod
effectiveTime
:
vaildData
.
effectiveTime
})
form
.
render
(
'select'
)
}
...
...
html/merchant/index.html
View file @
7de4d61
...
...
@@ -257,6 +257,9 @@
var
isRefresh
=
helper
.
store
.
get
(
'isRefresh'
)
if
(
isRefresh
)
{
getTabelList
()
layer
.
msg
(
'修改成功'
,
{
icon
:
1
})
}
helper
.
store
.
remove
(
'isRefresh'
)
}
...
...
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