From a7fea1c069cd55537ab8a6743758f12c8265f159 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 24 七月 2023 11:16:09 +0800
Subject: [PATCH] #权限3级硬编码
---
src/main/webapp/views/cstmr/cstmr.html | 43 +++++++++++++++++++++++++++++--------------
1 files changed, 29 insertions(+), 14 deletions(-)
diff --git a/src/main/webapp/views/cstmr/cstmr.html b/src/main/webapp/views/cstmr/cstmr.html
index a244bcb..bf3a046 100644
--- a/src/main/webapp/views/cstmr/cstmr.html
+++ b/src/main/webapp/views/cstmr/cstmr.html
@@ -66,7 +66,21 @@
<div class="layui-form-item">
<div class="layui-inline">
<div class="layui-input-inline">
- <input class="layui-input" type="text" name="condition" placeholder="璇疯緭鍏�" autocomplete="off" style="border-color: #e1e1e1">
+<!-- <input class="layui-input" type="text" name="conditionName" placeholder="鎼滅储瀛楁" autocomplete="off" style="border-color: #e1e1e1">-->
+ <span id="conditionNameSpan">鎼滅储瀛楁锛�</span>
+ <select id="conditionNameSelect" name="conditionName" lay-verify="required">
+ <option value = "" name="conditionName" disabled selected hidden > 璇烽�夋嫨... </option>
+ <option value="name" name="conditionName">瀹㈡埛鍚嶇О</option>
+ <option value="uuid" name="conditionName">瀹㈡埛浠g爜</option>
+ <option value="addr" name="conditionName">璇︾粏鍦板潃</option>
+ <option value="tel" name="conditionName">鐢佃瘽</option>
+ <option value="remarks" name="conditionName">澶囨敞</option>
+ <option value="rela" name="conditionName">瀹㈡埛鍏崇郴</option>
+ <option value="simple" name="conditionName">瀹㈡埛绠�绉�</option>
+ <option value="director" name="conditionName">璐熻矗浜�</option>
+ <option value="contacts" name="conditionName">瀹㈡埛鑱旂郴浜�</option>
+ </select>
+ <input class="layui-input" type="text" name="condition" placeholder="鍊�" autocomplete="off" style="border-color: #e1e1e1">
</div>
</div>
<div class="layui-inline"> 
@@ -84,6 +98,7 @@
</div>
</div>
<table class="layui-hide" id="cstmr" lay-filter="cstmr"></table>
+ <input style="display:none" id="importExcel" type="file" onchange="upload(this)" >
</div>
</div>
<div class="layui-card" style="margin-bottom: 0">
@@ -109,14 +124,14 @@
</body>
<!-- 琛ㄥ崟寮圭獥 -->
<script type="text/html" id="editDialog">
- <form id="detail" lay-filter="detail" class="layui-form admin-form model-form">
+ <div id="detail" lay-filter="detail" class="layui-form admin-form model-form">
<input name="id" type="hidden">
<div class="layui-row">
<div class="layui-col-md6">
<div class="layui-form-item">
<label class="layui-form-label layui-form-required">瀹㈡埛鍚嶇О: </label>
<div class="layui-input-block">
- <input class="layui-input" name="name" placeholder="璇疯緭鍏ュ鎴峰悕绉�" lay-vertype="tips" lay-verify="required" autocomplete="off">
+ <input class="layui-input" name="name" placeholder="璇疯緭鍏ュ鎴峰悕绉�" lay-vertype="tips" lay-verify="required|name" lay-min="8" autocomplete="off">
</div>
</div>
<div class="layui-form-item">
@@ -132,21 +147,21 @@
</div>
</div>
<div class="layui-form-item">
- <label class="layui-form-label">鐪佸競鍖� : </label>
+ <label class="layui-form-label layui-form-required">鐪佸競鍖� : </label>
<div class="layui-input-block">
- <input id="cascaderVal" name="pcd" placeholder="璇烽�夋嫨" class="layui-hide"/>
+ <input id="cascaderVal" name="pcd" placeholder="璇烽�夋嫨" class="layui-hide" lay-verify="required"/>
</div>
</div>
<div class="layui-form-item">
- <label class="layui-form-label">璇︾粏鍦板潃: </label>
+ <label class="layui-form-label layui-form-required">璇︾粏鍦板潃: </label>
<div class="layui-input-block">
- <input class="layui-input" name="addr" placeholder="璇疯緭鍏ヨ缁嗗湴鍧�" autocomplete="off">
+ <input class="layui-input" name="addr" placeholder="璇疯緭鍏ヨ缁嗗湴鍧�" autocomplete="off" lay-verify="required">
</div>
</div>
<div class="layui-form-item">
- <label class="layui-form-label">瀹㈡埛鑱旂郴浜�: </label>
+ <label class="layui-form-label layui-form-required">瀹㈡埛鑱旂郴浜�: </label>
<div class="layui-input-block">
- <input class="layui-input" name="contacts" placeholder="璇疯緭鍏ュ鎴疯仈绯讳汉" autocomplete="off">
+ <input class="layui-input" name="contacts" placeholder="璇疯緭鍏ュ鎴疯仈绯讳汉" autocomplete="off" lay-verify="required">
</div>
</div>
</div>
@@ -168,15 +183,15 @@
</div>
</div>
<div class="layui-form-item">
- <label class="layui-form-label">鐢佃瘽: </label>
+ <label class="layui-form-label layui-form-required">鐢佃瘽: </label>
<div class="layui-input-block">
- <input class="layui-input" name="tel" placeholder="璇疯緭鍏ョ數璇�" autocomplete="off">
+ <input class="layui-input" name="tel" placeholder="璇疯緭鍏ョ數璇�" autocomplete="off" lay-verify="required">
</div>
</div>
<div class="layui-form-item">
- <label class="layui-form-label">璐熻矗浜�: </label>
+ <label class="layui-form-label layui-form-required">璐熻矗浜�: </label>
<div class="layui-input-block cool-auto-complete">
- <input class="layui-input" name="director" placeholder="璇疯緭鍏ヨ礋璐d汉" style="display: none">
+ <input class="layui-input" name="director" placeholder="璇疯緭鍏ヨ礋璐d汉" style="display: none" lay-verify="required">
<input id="director$" name="director$" class="layui-input cool-auto-complete-div" onclick="autoShow(this.id)" type="text" placeholder="璇疯緭鍏ヨ礋璐d汉" onfocus=this.blur()>
<div class="cool-auto-complete-window">
<input class="cool-auto-complete-window-input" data-key="userQueryBydirector" onkeyup="autoLoad(this.getAttribute('data-key'))">
@@ -198,7 +213,7 @@
<button class="layui-btn" lay-filter="editSubmit" lay-submit="">淇濆瓨</button>
<button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">鍙栨秷</button>
</div>
- </form>
+ </div>
</script>
</html>
--
Gitblit v1.9.1