Browse Source

disable time

Encore 6 years ago
parent
commit
cc04f28aa3

+ 17 - 17
src/views/agnetManagement/gambleMemberManagement/index.vue

1
 <template>
1
 <template>
2
   <div  class="app-container">
2
   <div  class="app-container">
3
     <div v-show="visible.secondLayer">
3
     <div v-show="visible.secondLayer">
4
-      <div  class="app-container">
5
-          <div class="block">
4
+      <!-- <div  class="app-container"> -->
5
+          <!-- <div class="block"> -->
6
               <!-- <span class="demonstration">時間篩選</span> -->
6
               <!-- <span class="demonstration">時間篩選</span> -->
7
-              <el-date-picker
7
+              <!-- <el-date-picker
8
               v-model="date"
8
               v-model="date"
9
               type="datetimerange"
9
               type="datetimerange"
10
               :picker-options="pickerOptions"
10
               :picker-options="pickerOptions"
15
               </el-date-picker>
15
               </el-date-picker>
16
               <el-button class="filter-item" type="primary" v-waves icon="el-icon-search" @click="handleFilter">搜尋</el-button>
16
               <el-button class="filter-item" type="primary" v-waves icon="el-icon-search" @click="handleFilter">搜尋</el-button>
17
           </div>
17
           </div>
18
-      </div>
18
+      </div> -->
19
       <el-table :data="allCombine" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row>
19
       <el-table :data="allCombine" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row>
20
           <el-table-column label="代理商名稱"  align="center">
20
           <el-table-column label="代理商名稱"  align="center">
21
             <template slot-scope="scope">
21
             <template slot-scope="scope">
131
       listQuery: {
131
       listQuery: {
132
         // page: 1,
132
         // page: 1,
133
         // limit: 20,
133
         // limit: 20,
134
-        startAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).subtract(1, 'weeks').day(7).hour(16).minute(0).second(0)).format(),
135
-        endAt: moment.utc(moment().day('sunday').hour(12).day(7).hour(11).minute(59).second(59)).format()
134
+        // startAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).subtract(1, 'weeks').day(7).hour(16).minute(0).second(0)).format(),
135
+        // endAt: moment.utc(moment().day('sunday').hour(12).day(7).hour(11).minute(59).second(59)).format()
136
       },
136
       },
137
       pickerOptions: {
137
       pickerOptions: {
138
         shortcuts: [{
138
         shortcuts: [{
296
       this.SetVisible(3)
296
       this.SetVisible(3)
297
       this.SetData({layer:3, data: temp})
297
       this.SetData({layer:3, data: temp})
298
     },
298
     },
299
-    handleFilter() {
300
-      this.listQuery.page = 1
301
-      if (this.date) {
302
-        this.listQuery.startAt = moment.utc(this.date[0]).format()
303
-        this.listQuery.endAt = moment.utc(this.date[1]).format()
304
-      } else {
305
-        this.listQuery.startAt = null
306
-        this.listQuery.endAt = null
307
-      }
308
-      this.getList()
309
-    },
299
+    // handleFilter() {
300
+    //   this.listQuery.page = 1
301
+    //   if (this.date) {
302
+    //     this.listQuery.startAt = moment.utc(this.date[0]).format()
303
+    //     this.listQuery.endAt = moment.utc(this.date[1]).format()
304
+    //   } else {
305
+    //     this.listQuery.startAt = null
306
+    //     this.listQuery.endAt = null
307
+    //   }
308
+    //   this.getList()
309
+    // },
310
     handleSizeChange(val) {
310
     handleSizeChange(val) {
311
       this.listQuery.limit = val
311
       this.listQuery.limit = val
312
       this.getList()
312
       this.getList()

+ 2 - 2
src/views/agnetManagement/index.vue

84
       listQuery: {
84
       listQuery: {
85
         page: 1,
85
         page: 1,
86
         limit: 20,
86
         limit: 20,
87
-        startAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).subtract(1, 'weeks').day(7).hour(16).minute(0).second(0)).format(),
88
-        endAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).day(7).hour(11).minute(59).second(59)).format()
87
+        // startAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).subtract(1, 'weeks').day(7).hour(16).minute(0).second(0)).format(),
88
+        // endAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).day(7).hour(11).minute(59).second(59)).format()
89
       },
89
       },
90
       dialogCreateFormVisible: false,
90
       dialogCreateFormVisible: false,
91
       dialogStatus: '',
91
       dialogStatus: '',

+ 15 - 15
src/views/studio/index.vue

1
 <template>
1
 <template>
2
 <div class="app-container calendar-list-container">
2
 <div class="app-container calendar-list-container">
3
   <div class="app-container" v-show="visible.firstLayer">
3
   <div class="app-container" v-show="visible.firstLayer">
4
-    <div class="app-container">
4
+    <!-- <div class="app-container">
5
       <el-date-picker
5
       <el-date-picker
6
         v-model="date"
6
         v-model="date"
7
         type="datetimerange"
7
         type="datetimerange"
12
         align="right">
12
         align="right">
13
       </el-date-picker>
13
       </el-date-picker>
14
       <el-button class="filter-item" type="primary" v-waves icon="el-icon-search" @click="handleFilter">搜尋</el-button>
14
       <el-button class="filter-item" type="primary" v-waves icon="el-icon-search" @click="handleFilter">搜尋</el-button>
15
-    </div>
15
+    </div> -->
16
     <el-table :data="list" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
16
     <el-table :data="list" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
17
       style="width: 100%">
17
       style="width: 100%">
18
       <el-table-column label="工作室上繳金額" align="center">
18
       <el-table-column label="工作室上繳金額" align="center">
50
       listLoading: true,
50
       listLoading: true,
51
       bucket: '',
51
       bucket: '',
52
       listQuery: {
52
       listQuery: {
53
-        startAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).subtract(1, 'weeks').day(7).hour(16).minute(0).second(0)).format(),
54
-        endAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).day(7).hour(11).minute(59).second(59)).format()
53
+        // startAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).subtract(1, 'weeks').day(7).hour(16).minute(0).second(0)).format(),
54
+        // endAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).day(7).hour(11).minute(59).second(59)).format()
55
       },
55
       },
56
       temp: {},
56
       temp: {},
57
       pickerOptions: {
57
       pickerOptions: {
122
         this.listLoading = false
122
         this.listLoading = false
123
       })
123
       })
124
     },
124
     },
125
-    handleFilter() {
126
-      this.listQuery.page = 1
127
-      if (this.date) {
128
-        this.listQuery.startAt = moment.utc(this.date[0]).format()
129
-        this.listQuery.endAt = moment.utc(this.date[1]).format()
130
-      } else {
131
-        this.listQuery.startAt = null
132
-        this.listQuery.endAt = null
133
-      }
134
-      this.getList()
135
-    },
125
+    // handleFilter() {
126
+    //   this.listQuery.page = 1
127
+    //   if (this.date) {
128
+    //     this.listQuery.startAt = moment.utc(this.date[0]).format()
129
+    //     this.listQuery.endAt = moment.utc(this.date[1]).format()
130
+    //   } else {
131
+    //     this.listQuery.startAt = null
132
+    //     this.listQuery.endAt = null
133
+    //   }
134
+    //   this.getList()
135
+    // },
136
     handleSizeChange(val) {
136
     handleSizeChange(val) {
137
       this.listQuery.limit = val
137
       this.listQuery.limit = val
138
       this.getList()
138
       this.getList()