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 |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/views/cstmr/cstmr.html b/src/main/webapp/views/cstmr/cstmr.html
index 9061cd5..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">&emsp;
@@ -110,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">
@@ -199,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