许成详 6 years ago
parent
commit
ceca303e4f

+ 1
- 1
dist/index.html View File

@@ -1 +1 @@
1
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.fdb208b4bbd1ccfe0f211a34c6c91d95.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.7e921535e20f729cf046.js></script><script type=text/javascript src=./static/js/app.0f762915754ac8b23700.js></script></body></html>
1
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.b6dbecd964b31cde0f8af2d177debe74.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.992319e39e0ff64940a3.js></script><script type=text/javascript src=./static/js/app.1673d6c9593bc56e78c8.js></script></body></html>

+ 4
- 3
src/pages/system/caseManager/keyManager/add.vue View File

@@ -25,7 +25,8 @@
25 25
                 placeholder="请输入数字"
26 26
                 v-model="postData.beginnum"
27 27
                 clearable
28
-                onkeyup="value=value.replace(/[^\d]/g,'')">
28
+                onkeyup="value=value.replace(/[^\d]/g,'')"
29
+                @blur="postData.beginnum=postData.beginnum.replace(/[^\d]/g,'')">
29 30
               </el-input>
30 31
             </div>
31 32
           </div>
@@ -38,7 +39,8 @@
38 39
                 placeholder="请输入数字"
39 40
                 v-model="postData.endnum"
40 41
                 clearable
41
-                onkeyup="value=value.replace(/[^\d]/g,'')">
42
+                onkeyup="value=value.replace(/[^\d]/g,'')"
43
+                @blur="postData.beginnum=postData.beginnum.replace(/[^\d]/g,'')">
42 44
               </el-input>
43 45
             </div>
44 46
           </div>
@@ -101,7 +103,6 @@ export default {
101 103
       this.postData.AreaIcon = res.result.url
102 104
     },
103 105
     submit () { // 提交数据
104
-      console.log('柜子编号:' + this.postData.beginnum + ' ' + this.postData.endnum)
105 106
       if (this.postData.beginnum === '') {
106 107
         this.$message({
107 108
           type: 'error',

+ 23
- 17
src/pages/system/systemSet/userManager/index.vue View File

@@ -90,27 +90,28 @@
90 90
         </el-table-column>
91 91
         <el-table-column
92 92
           prop="CreateDate"
93
-          label="创建时间"
94
-          width="">
93
+          label="创建时间">
95 94
         </el-table-column>
96
-        <el-table-column label="操作" fixed='right' width="350">
95
+        <el-table-column label="操作" fixed='right' width="200">
97 96
           <template slot-scope="scope">
98
-            <el-button
97
+            <div style="width: 100%" class="btnBox">
98
+              <el-button
99
+                size="mini"
100
+                type="warning"
101
+                @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
102
+              <el-button
103
+                size="mini"
104
+                type="danger"
105
+                @click="handleDelete(scope.$index, scope.row)">删除</el-button>
106
+              <el-button
99 107
               size="mini"
100
-              type="warning"
101
-              @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
102
-            <el-button
108
+              type="success"
109
+              @click="handleBind(scope.$index, scope.row)">绑定角色</el-button>
110
+              <el-button
103 111
               size="mini"
104
-              type="danger"
105
-              @click="handleDelete(scope.$index, scope.row)">删除</el-button>
106
-            <el-button
107
-            size="mini"
108
-            type="success"
109
-            @click="handleBind(scope.$index, scope.row)">绑定角色</el-button>
110
-            <el-button
111
-            size="mini"
112
-            type="primary"
113
-            @click="resetPasswd(scope.$index, scope.row)">重置密码</el-button>
112
+              type="primary"
113
+              @click="resetPasswd(scope.$index, scope.row)">重置密码</el-button>
114
+              </div>
114 115
           </template>
115 116
         </el-table-column>
116 117
       </el-table>
@@ -385,4 +386,9 @@ export default {
385 386
 
386 387
 <!-- Add "scoped" attribute to limit CSS to this component only -->
387 388
 <style lang="scss" scoped>
389
+.btnBox{
390
+  >*{
391
+    margin-bottom: 10px;
392
+  }
393
+}
388 394
 </style>