提交 d42ae8c7 编写于 作者: L LAPTOP-UV1MNL38\18023

feat:PC端修改门店信息设定页面代码

上级 6d0717dc
......@@ -37,13 +37,7 @@ layui.config({
pagination: false,
method: "GET",
template: beanTemplate,
ajaxSendLoadBefore: function(hdb, json){
if(isNull(json.bean.onlineBookJson)){
json.bean.onlineBookJson = [];
} else {
json.bean.onlineBookJson = JSON.parse(json.bean.onlineBookJson);
}
},
ajaxSendLoadBefore: function(hdb, json) {},
ajaxSendAfter:function(data) {
var startTime = laydate.render({
......@@ -116,16 +110,19 @@ layui.config({
}
var params = {
rowId: $("#storeId").val(),
businessStartTime: $("#businessStartTime").val(),
businessEndTime: $("#businessEndTime").val(),
id: $("#storeId").val(),
startTime: $("#businessStartTime").val(),
endTime: $("#businessEndTime").val(),
onlineBookAppoint: $("input[name='onlineBookAppoint']:checked").val(),
onlineBookRadix: $("#onlineBookRadix").val(),
onlineBookType: $("input[name='onlineBookType']:checked").val(),
onlineBookJson: JSON.stringify(tableData)
};
if (isNull(params.onlineBookType)) {
params.onlineBookType = ''
}
AjaxPostUtil.request({url: shopBasePath + "store009", params: params, type: 'json', method: "POST", callback: function (json) {
AjaxPostUtil.request({url: shopBasePath + "saveStoreOnlineMation", params: params, type: 'json', method: "POST", callback: function (json) {
winui.window.msg('保存成功', {icon: 1, time: 2000});
}, async: true});
}
......
......@@ -32,13 +32,13 @@
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">开始时间<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="businessStartTime" name="businessStartTime" win-verify="required" placeholder="请选择开始时间" class="layui-input" value="{{businessStartTime}}"/>
<input type="text" id="businessStartTime" name="businessStartTime" win-verify="required" placeholder="请选择开始时间" class="layui-input" value="{{startTime}}"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">结束时间<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="businessEndTime" name="businessEndTime" win-verify="required" placeholder="请选择结束时间" class="layui-input" value="{{businessEndTime}}"/>
<input type="text" id="businessEndTime" name="businessEndTime" win-verify="required" placeholder="请选择结束时间" class="layui-input" value="{{endTime}}"/>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
......@@ -118,11 +118,11 @@
<tbody class="insurance-table">
{{#each storeStaffList}}
<tr>
<td><div style="width: 100px;">{{jobNumber}}</div></td>
<td><div style="width: 100px;">{{userName}}</div></td>
<td><div style="width: 140px;">{{companyName}}</div></td>
<td><div style="width: 100px;">{{departmentName}}</div></td>
<td><div style="width: 120px;">{{jobName}}</div></td>
<td><div style="width: 100px;">{{staffMation.userCode}}</div></td>
<td><div style="width: 100px;">{{staffMation.userName}}</div></td>
<td><div style="width: 140px;">{{staffMation.companyName}}</div></td>
<td><div style="width: 100px;">{{staffMation.departmentName}}</div></td>
<td><div style="width: 120px;">{{staffMation.jobName}}</div></td>
</tr>
{{/each}}
</tbody>
......
......@@ -10,9 +10,9 @@ spring:
cloud:
nacos:
discovery:
server-addr: localhost:9000 # 配置服务注册nacos地址
server-addr: 172.18.92.40:9000 # 配置服务注册nacos地址
config:
# 指定nacos server的地址
server-addr: localhost:9000
server-addr: 172.18.92.40:9000
file-extension: yml
namespace: dev
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册