psj 2 년 전
부모
커밋
14485090a1
2개의 변경된 파일16개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/views/electricCard/ElectricCard.vue
  2. 16 0
      src/views/evaluate/EvaluateRepeat.vue

+ 0 - 1
src/views/electricCard/ElectricCard.vue

@@ -136,7 +136,6 @@ import {getWeek, startTime, endTime, getYear} from "@/commomUse";
 import {mapEletricCardMutations, mapEletricCardState} from "@/units/map-units";
 import ElectricCardTableModel from "@/views/electricCard/c-cpns/ElectricCardTableModel";
 import {MessageBox} from "element-ui";
-import selectConfigModuleByRole from "@/role_button";
 export default {
   name: "ElectricCard",
   components: {ElePagination, MyTable,ElectricCardTableModel},

+ 16 - 0
src/views/evaluate/EvaluateRepeat.vue

@@ -21,6 +21,13 @@
               </el-option>
             </el-select>
           </el-form-item>
+
+          <el-form-item  label="开始时间:">
+            <el-date-picker    format="yyyy 年 MM 月 dd 日"    value-format="yyyy-MM-dd"  placeholder="选择日期" v-model="form.date1" style="width: 100%;"></el-date-picker>
+          </el-form-item>
+          <el-form-item  label="结束时间:">
+            <el-date-picker    format="yyyy 年 MM 月 dd 日"   value-format="yyyy-MM-dd" placeholder="选择日期" v-model="form.date2" style="width: 100%;"></el-date-picker>
+          </el-form-item>
         </el-col>
 
         <el-col :span="4">
@@ -201,6 +208,11 @@ export default {
          name:'',
          myTotalEvaluate:''
       },
+      form: {
+        //operationUnit: '',
+        date1: '',
+        date2: '',
+      },
       currentPage:1,
       pageSize:10,
       isModelShow:false,
@@ -513,6 +525,8 @@ export default {
           'MATTER_NAME':this.formData.name,
           'OVERALL_SATISFACTION':'',
           'TYPE':'0,1,2,3,4,5,6,7',
+          "START_TIME":this.form.date1,
+          "END_TIME":this.form.date2,
           'pageSize':this.pageSize,
           'pageIndex':this.currentPage,
           "appkey":localStorage.getItem("ywtb_userkeycode")
@@ -575,6 +589,8 @@ export default {
          'MATTER_NAME':this.formData.name,
          'OVERALL_SATISFACTION':this.formData.myTotalEvaluate,
          'TYPE':this.currentRepeatId,
+         "START_TIME":this.form.date1,
+         "END_TIME":this.form.date2,
          'pageSize':this.pageSize,
          'pageIndex':this.currentPage,
          "appkey":localStorage.getItem("ywtb_userkeycode")