李帅 hai 3 meses
pai
achega
cf9f92d262
Modificáronse 1 ficheiros con 87 adicións e 0 borrados
  1. 87 0
      src/views/settingsPage/clinicMaintenance/index.vue

+ 87 - 0
src/views/settingsPage/clinicMaintenance/index.vue

@@ -0,0 +1,87 @@
1
+<template>
2
+  <div class="app-container">
3
+    <el-form :inline="true">
4
+      <el-form-item label="姓名:">
5
+        <el-input
6
+          v-model="form.doctorName"
7
+          placeholder="请输入姓名查找"
8
+        ></el-input>
9
+      </el-form-item>
10
+      <el-form-item label="日期">
11
+        <el-date-picker
12
+          type="month"
13
+          v-model="form.date"
14
+          format="yyyy 年 MM 月"
15
+          value-format="yyyy-MM"
16
+          :clearable="false"
17
+        >
18
+        </el-date-picker>
19
+      </el-form-item>
20
+      <el-form-item>
21
+        <el-button type="primary" @click="initList" icon="el-icon-search"
22
+          >搜索</el-button
23
+        >
24
+        <el-button @click="reset">重置</el-button>
25
+      </el-form-item>
26
+    </el-form>
27
+
28
+    <el-table :data="tableData" style="width: 100%">
29
+      <el-table-column prop="date" label="日期" width="180"> </el-table-column>
30
+      <el-table-column prop="name" label="姓名" width="180"> </el-table-column>
31
+      <el-table-column prop="address" label="地址"> </el-table-column>
32
+    </el-table>
33
+
34
+    <pagination
35
+      v-show="total > 0"
36
+      :total="total"
37
+      :page.sync="form.pageNum"
38
+      :limit.sync="form.pageSize"
39
+      @pagination="initList"
40
+    />
41
+  </div>
42
+</template>
43
+
44
+<script>
45
+export default {
46
+  name: 'EitcErmPcIndex',
47
+
48
+  data() {
49
+    return {
50
+      form: {
51
+        pageNum: 1,
52
+        pageSize: 10
53
+      },
54
+      tableData: [
55
+        {
56
+          date: '2016-05-02',
57
+          name: '王小虎',
58
+          address: '上海市普陀区金沙江路 1518 弄'
59
+        },
60
+        {
61
+          date: '2016-05-04',
62
+          name: '王小虎',
63
+          address: '上海市普陀区金沙江路 1517 弄'
64
+        },
65
+        {
66
+          date: '2016-05-01',
67
+          name: '王小虎',
68
+          address: '上海市普陀区金沙江路 1519 弄'
69
+        },
70
+        {
71
+          date: '2016-05-03',
72
+          name: '王小虎',
73
+          address: '上海市普陀区金沙江路 1516 弄'
74
+        }
75
+      ],
76
+      total: 0
77
+    }
78
+  },
79
+
80
+  mounted() {},
81
+
82
+  methods: {
83
+    initList() {},
84
+    reset() {}
85
+  }
86
+}
87
+</script>