Browse Source

master修改 开发新功能

husilu 5 years ago
parent
commit
57ae9476d1
2 changed files with 10 additions and 36 deletions
  1. 1 1
      src/components/chaogebrush.vue
  2. 9 35
      src/views/homepage/index.vue

+ 1 - 1
src/components/chaogebrush.vue

@@ -22,7 +22,7 @@ import moment from 'moment'
22 22
 // import BrushView from './utils/BrushView'
23 23
 // import chartConfig from '@/utils/chart/baseConf.js'
24 24
 // import BrushView from '../utils/BrushView'
25
-var BrushView = require('../utils/BrushView')
25
+// var BrushView = require('../utils/BrushView')
26 26
 let startTimes = (new Date()).getTime() - 60 * 60 * 1000
27 27
 
28 28
 let MockData = Mock.mock({

+ 9 - 35
src/views/homepage/index.vue

@@ -112,42 +112,16 @@
112 112
         <option value="">6</option>
113 113
         <option value="">7</option>
114 114
         <option value="">我来自release</option>
115
+        <option value="">我来自master</option>
115 116
       </select>
116
-       <el-table
117
-      :data="tableData"
118
-      style="width: 100%"
119
-      @sort-change='sortchange'
120
-      ref='sort'>
121
-      <el-table-column
122
-        prop="date"
123
-        label="日期"
124
-        width="180">
125
-      </el-table-column>
126
-      <el-table-column
127
-        prop="name"
128
-        label="姓名"
129
-        width="180">
130
-      </el-table-column>
131
-      <el-table-column
132
-        prop="address"
133
-        label="地址">
134
-      </el-table-column>
135
-      <el-table-column
136
-        prop="age"
137
-        label="年纪"
138
-        sortable='custom'
139
-        >
140
-      </el-table-column>
141
-      <el-table-column
142
-        label="操作"
143
-        >
144
-        <template slot-scope="scope">
145
-          <el-button
146
-          size="mini"
147
-          @click="handleClear">取消排序</el-button>
148
-        </template>
149
-      </el-table-column>
150
-    </el-table>
117
+      <el-date-picker
118
+        v-model="value4"
119
+        type="datetimerange"
120
+        range-separator="至"
121
+        start-placeholder="开始日期"
122
+        end-placeholder="结束日期"
123
+        value-format='timestamp'>
124
+      </el-date-picker>
151 125
       <router-view></router-view>
152 126
     </el-main>
153 127
   </el-container>