许成详 6 years ago
parent
commit
070fa58ad7
2 changed files with 40 additions and 35 deletions
  1. 2
    2
      config/index.js
  2. 38
    33
      src/pages/system/caseManager/signinManager/index.vue

+ 2
- 2
config/index.js View File

@@ -12,9 +12,9 @@ module.exports = {
12 12
     proxyTable: {
13 13
       '/api': {
14 14
         // target: 'https://dp.huiju360.com.cn/hj_operations',
15
-        // target: 'http://192.168.0.62:8080', //wf
15
+        target: 'http://192.168.0.62:8080', //wf
16 16
         // target: 'http://127.0.0.1:8080', 
17
-        target: 'http://192.168.0.11:8080', //ys
17
+        // target: 'http://192.168.0.11:8080', //ys
18 18
         // target: 'http://192.168.0.125:8080', //hyq
19 19
         // target: 'http://dev.ycjcjy.com/', //frp
20 20
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置

+ 38
- 33
src/pages/system/caseManager/signinManager/index.vue View File

@@ -1,38 +1,43 @@
1 1
 <template>
2 2
   <div class="subPage">
3
-    <div class="title">
4
-      签到列表
5
-    </div>
6
-    <div class="head-div">
7
-      <span class="time-title">时间选择:</span>
8
-       <el-select v-model="valueTime" placeholder="请选择">
9
-            <el-option
10
-              v-for="item in optionsTime"
11
-              :key="item.valueTime"
12
-              :label="item.label"
13
-              :value="item.valueTime">
14
-            </el-option>
15
-        </el-select>
16
-        <!-- 案场选择 -->
17
-      <span class="case-title">案场:</span>
18
-       <el-select v-model="valueCase" placeholder="请选择" @change="handelSignin">
19
-            <el-option
20
-              key="all"
21
-              label="所有案场"
22
-              value="all">
23
-            </el-option>
24
-            <el-option
25
-              v-for="item in optionsCase"
26
-              :key="item.valueCase"
27
-              :label="item.label"
28
-              :value="item.valueCase">
29
-            </el-option>
30
-        </el-select>
31
-    </div>
32
-    <div class="button-div">
33
-      <el-button type="success" icon="el-icon-search" style="float: right;" @click="excelSignin">导出excel</el-button>
34
-      <el-button type="warning" icon="el-icon-search" style="float: right;" @click="reset">重置</el-button>
35
-      <el-button type="primary" icon="el-icon-search" style="float: right; margin-right: -10px;" @click="getList">搜索</el-button>
3
+    <div class="system-table-search">
4
+      <div class="flex-h">
5
+        <div class="flex-item flex-h"></div>
6
+        <ul>
7
+          <li>
8
+            <el-select v-model="valueCase" placeholder="请选择案场" @change="handelSignin">
9
+              <el-option
10
+                key="all"
11
+                label="所有案场"
12
+                value="all">
13
+              </el-option>
14
+              <el-option
15
+                v-for="item in optionsCase"
16
+                :key="item.valueCase"
17
+                :label="item.label"
18
+                :value="item.valueCase">
19
+              </el-option>
20
+            </el-select>
21
+          </li>
22
+          <li>
23
+            <el-select v-model="valueTime" placeholder="请选择时间">
24
+              <el-option
25
+                v-for="item in optionsTime"
26
+                :key="item.valueTime"
27
+                :label="item.label"
28
+                :value="item.valueTime">
29
+              </el-option>
30
+            </el-select>
31
+          </li>
32
+        </ul>
33
+        <el-button
34
+          size="mini"
35
+          type="primary" @click="getList">搜索</el-button>
36
+        <el-button
37
+        size="mini"
38
+        type="success" @click="excelSignin">导出excel</el-button>
39
+      </div>
40
+      <div class="moreFilter"></div>
36 41
     </div>
37 42
     <!-- 表格 -->
38 43
     <div class="content">