heyang 1 year ago
parent
commit
c6b386abb7

+ 2 - 2
src/views/safetyCheck/checkConfiguration/configDialog.vue

@@ -39,7 +39,7 @@
           <div class="dept-table-max-box">
             <el-form :model="userQueryParamsLeft" class="form-box" ref="queryForm" :inline="true" label-width="50px">
               <el-form-item label="" prop="deptId">
-                <el-select v-model="userQueryParamsLeft.deptId" clearable placeholder="选择部门" style="width: 110px">
+                <el-select v-model="userQueryParamsLeft.deptId" clearable @change="userHandleQueryLeft" placeholder="选择部门" style="width: 110px">
                   <el-option
                     v-for="item in deptSelectList"
                     :key="item.deptId"
@@ -104,7 +104,7 @@
           <div class="dept-table-max-box">
             <el-form :model="userQueryParamsRight" class="form-box" ref="queryForm" :inline="true" label-width="50px">
               <el-form-item label="" prop="deptId">
-                <el-select v-model="userQueryParamsRight.deptId" clearable placeholder="选择部门" style="width: 110px">
+                <el-select v-model="userQueryParamsRight.deptId" clearable @change="userHandleQueryRight" placeholder="选择部门" style="width: 110px">
                   <el-option
                     v-for="item in deptSelectList"
                     :key="item.deptId"

+ 2 - 2
src/views/safetyCheck/laboratorySelfTest/selfInspectionTask/addDialog.vue

@@ -1022,9 +1022,9 @@
           maxTime = this.getMonthFinalDay(year,12);
         }
         let timeListA = minTime.split('-')
-        minTime = timeListA[0]+'-'+(timeListA[1]<10?'0'+timeListA[1]:timeListA[1])+'-'+(timeListA[2]<10?'0'+timeListA[1]:timeListA[2])
+        minTime = timeListA[0]+'-'+(timeListA[1]<10?'0'+timeListA[1]:timeListA[1])+'-'+(timeListA[2]<10?'0'+timeListA[2]:timeListA[2])
         let timeListB = maxTime.split('-')
-        maxTime = timeListB[0]+'-'+(timeListB[1]<10?'0'+timeListB[1]:timeListB[1])+'-'+(timeListB[2]<10?'0'+timeListB[1]:timeListB[2])
+        maxTime = timeListB[0]+'-'+(timeListB[1]<10?'0'+timeListB[1]:timeListB[1])+'-'+(timeListB[2]<10?'0'+timeListB[2]:timeListB[2])
         this.$set(this.dialogForm,'dateRange',[minTime,maxTime]);
       },
       //返回指定月份最后一天

+ 2 - 2
src/views/safetyCheck/schoolInspection/inspectionGroup/addDialog.vue

@@ -74,7 +74,7 @@
       <div class="dept-table-max-box">
         <el-form :model="userQueryParamsLeft" class="form-box" ref="queryForm" :inline="true" label-width="50px">
           <el-form-item label="" prop="deptId">
-            <el-select v-model="userQueryParamsLeft.deptId" clearable placeholder="选择部门" style="width: 110px">
+            <el-select v-model="userQueryParamsLeft.deptId" @change="userHandleQueryLeft" clearable placeholder="选择部门" style="width: 110px">
               <el-option
                 v-for="item in deptSelectList"
                 :key="item.deptId"
@@ -124,7 +124,7 @@
         <div class="dept-table-max-box">
           <el-form :model="userQueryParamsRight" class="form-box" ref="queryForm" :inline="true" label-width="50px">
             <el-form-item label="" prop="deptId">
-              <el-select v-model="userQueryParamsRight.deptId" clearable placeholder="选择部门" style="width: 110px">
+              <el-select v-model="userQueryParamsRight.deptId" clearable @change="userHandleQueryRight" placeholder="选择部门" style="width: 110px">
                 <el-option
                   v-for="item in deptSelectList"
                   :key="item.deptId"

+ 3 - 3
src/views/safetyCheck/schoolInspection/inspectionGroup/index.vue

@@ -125,14 +125,14 @@
       addDialogOpen(type,data){
         if(type==1){
           this.$set(this,'addDialogData',{
-            title:"新增巡组",
+            title:"新增巡组",
             addType:true,
             lookInfoType:false,
           })
           this.$set(this,'addDialogType',true)
         }else if(type == 2){
           this.$set(this,'addDialogData',{
-            title:"编辑巡组",
+            title:"编辑巡组",
             addType:false,
             lookInfoType:false,
             id:data.id
@@ -140,7 +140,7 @@
           this.$set(this,'addDialogType',true)
         }else if(type == 3){
           this.$set(this,'addDialogData',{
-            title:"巡组详情",
+            title:"巡组详情",
             addType:false,
             lookInfoType:true,
             id:data.id

+ 4 - 4
src/views/safetyCheck/schoolInspection/inspectionPlan/addDialog.vue

@@ -445,7 +445,7 @@
         <div class="dept-table-max-box">
           <el-form :model="userQueryParamsLeft" class="form-box" ref="queryForm" :inline="true" label-width="50px">
             <el-form-item label="" prop="deptId">
-              <el-select v-model="userQueryParamsLeft.deptId" clearable placeholder="选择部门" style="width: 110px">
+              <el-select v-model="userQueryParamsLeft.deptId" clearable @change="userHandleQueryLeft" placeholder="选择部门" style="width: 110px">
                 <el-option
                   v-for="item in deptSelectList"
                   :key="item.deptId"
@@ -495,7 +495,7 @@
         <div class="dept-table-max-box">
           <el-form :model="userQueryParamsRight" class="form-box" ref="queryForm" :inline="true" label-width="50px">
             <el-form-item label="" prop="deptId">
-              <el-select v-model="userQueryParamsRight.deptId" clearable placeholder="选择部门" style="width: 110px">
+              <el-select v-model="userQueryParamsRight.deptId" clearable @change="userHandleQueryRight" placeholder="选择部门" style="width: 110px">
                 <el-option
                   v-for="item in deptSelectList"
                   :key="item.deptId"
@@ -1263,9 +1263,9 @@ export default {
         maxTime = this.getMonthFinalDay(year,12);
       }
       let timeListA = minTime.split('-')
-      minTime = timeListA[0]+'-'+(timeListA[1]<10?'0'+timeListA[1]:timeListA[1])+'-'+(timeListA[2]<10?'0'+timeListA[1]:timeListA[2])
+      minTime = timeListA[0]+'-'+(timeListA[1]<10?'0'+timeListA[1]:timeListA[1])+'-'+(timeListA[2]<10?'0'+timeListA[2]:timeListA[2])
       let timeListB = maxTime.split('-')
-      maxTime = timeListB[0]+'-'+(timeListB[1]<10?'0'+timeListB[1]:timeListB[1])+'-'+(timeListB[2]<10?'0'+timeListB[1]:timeListB[2])
+      maxTime = timeListB[0]+'-'+(timeListB[1]<10?'0'+timeListB[1]:timeListB[1])+'-'+(timeListB[2]<10?'0'+timeListB[2]:timeListB[2])
       this.$set(this.dialogForm,'dateRange',[minTime,maxTime]);
     },
     //返回指定月份最后一天

+ 2 - 2
src/views/safetyEducationExam/trainingCourse/addDialog.vue

@@ -150,7 +150,7 @@
         <div class="dept-table-max-box">
           <el-form :model="userQueryParamsLeft" class="form-box" ref="queryForm" :inline="true" label-width="50px">
             <el-form-item label="" prop="deptId">
-              <el-select v-model="userQueryParamsLeft.deptId" clearable placeholder="选择部门" style="width: 110px">
+              <el-select v-model="userQueryParamsLeft.deptId" clearable @change="userHandleQueryLeft" placeholder="选择部门" style="width: 110px">
                 <el-option
                   v-for="item in deptOptions"
                   :key="item.deptId"
@@ -201,7 +201,7 @@
         <div class="dept-table-max-box">
           <el-form :model="userQueryParamsRight" class="form-box" ref="queryForm" :inline="true" label-width="50px">
             <el-form-item label="" prop="deptId">
-              <el-select v-model="userQueryParamsRight.deptId" clearable placeholder="选择部门" style="width: 110px">
+              <el-select v-model="userQueryParamsRight.deptId" clearable @change="userHandleQueryRight" placeholder="选择部门" style="width: 110px">
                 <el-option
                   v-for="item in deptOptions"
                   :key="item.deptId"