See999 4 years ago
parent
commit
ddea11ecf2

+ 6 - 0
src/xt_pages/qcd/basicInformationAnalysis.vue View File

74
                 <el-progress :percentage="70"></el-progress>
74
                 <el-progress :percentage="70"></el-progress>
75
                 <p>HD:64次(64%)</p>
75
                 <p>HD:64次(64%)</p>
76
                 <el-progress :percentage="70"></el-progress>
76
                 <el-progress :percentage="70"></el-progress>
77
+                <p>HD:64次(64%)</p>
78
+                <el-progress :percentage="70"></el-progress>
77
               </div>
79
               </div>
78
             </div>
80
             </div>
79
             <div class="infoOne">
81
             <div class="infoOne">
191
   },
193
   },
192
   created() {},
194
   created() {},
193
   methods: {
195
   methods: {
196
+    getTimestamp(time) {
197
+      // 把时间日期转成时间戳
198
+      return new Date(time).getTime() / 1000;
199
+    },
194
     changeTime() {},
200
     changeTime() {},
195
     changeEndTime(val) {
201
     changeEndTime(val) {
196
       var time =
202
       var time =

+ 6 - 6
src/xt_pages/qcd/checkStatistical.vue View File

15
       </el-row>
15
       </el-row>
16
       <div class="configTable">
16
       <div class="configTable">
17
         <el-table :data="checkList" border style="width: 100%">
17
         <el-table :data="checkList" border style="width: 100%">
18
-          <el-table-column prop="date" label="检验检查项" width="180">
18
+          <el-table-column prop="date" label="检验检查项">
19
               <template slot-scope="scope">{{ scope.row.project_name }}</template>
19
               <template slot-scope="scope">{{ scope.row.project_name }}</template>
20
           </el-table-column>
20
           </el-table-column>
21
-          <el-table-column prop="name" label="检查频次(天)" width="180">
21
+          <el-table-column prop="name" label="检查频次(天)">
22
               <template slot-scope="scope">{{ scope.row.inspection_frequency }}</template>
22
               <template slot-scope="scope">{{ scope.row.inspection_frequency }}</template>
23
           </el-table-column>
23
           </el-table-column>
24
           <el-table-column prop="address" label="排序">
24
           <el-table-column prop="address" label="排序">
47
       <el-dialog title="新增" :visible.sync="newDialog">
47
       <el-dialog title="新增" :visible.sync="newDialog">
48
         <el-form :model="form" ref="form" :rules="rules">
48
         <el-form :model="form" ref="form" :rules="rules">
49
           <el-form-item label="检查大项" :label-width="formLabelWidth" required prop="inspectionMajor">
49
           <el-form-item label="检查大项" :label-width="formLabelWidth" required prop="inspectionMajor">
50
-            <el-select v-model="form.inspectionMajor" placeholder="请选择活动区域">
50
+            <el-select v-model="form.inspectionMajor" placeholder="请选择检查大项">
51
                 <el-option
51
                 <el-option
52
                   v-for="it in InspectionMajor"
52
                   v-for="it in InspectionMajor"
53
                   :key="it.project_id"
53
                   :key="it.project_id"
66
         </el-form>
66
         </el-form>
67
         <div slot="footer" class="dialog-footer">
67
         <div slot="footer" class="dialog-footer">
68
           <el-button @click="newDialog = false">取 消</el-button>
68
           <el-button @click="newDialog = false">取 消</el-button>
69
-          <el-button type="primary" @click="SaveCheckConfiguration('form')">保存</el-button>
69
+          <el-button type="primary" @click="SaveCheckConfiguration('form')">保 存</el-button>
70
         </div>
70
         </div>
71
       </el-dialog>
71
       </el-dialog>
72
 
72
 
75
       <el-dialog title="编辑" :visible.sync="editDialog">
75
       <el-dialog title="编辑" :visible.sync="editDialog">
76
         <el-form :model="editform" ref="editform" :rules="rules">
76
         <el-form :model="editform" ref="editform" :rules="rules">
77
           <el-form-item label="检查大项" :label-width="formLabelWidth" required prop="inspectionMajor">
77
           <el-form-item label="检查大项" :label-width="formLabelWidth" required prop="inspectionMajor">
78
-            <el-select v-model="editform.inspectionMajor" placeholder="请选择活动区域">
78
+            <el-select v-model="editform.inspectionMajor" placeholder="请选择检查大项">
79
                 <el-option
79
                 <el-option
80
                   v-for="it in InspectionMajor"
80
                   v-for="it in InspectionMajor"
81
                   :key="it.project_id"
81
                   :key="it.project_id"
94
         </el-form>
94
         </el-form>
95
         <div slot="footer" class="dialog-footer">
95
         <div slot="footer" class="dialog-footer">
96
           <el-button @click="editDialog = false">取 消</el-button>
96
           <el-button @click="editDialog = false">取 消</el-button>
97
-          <el-button type="primary" @click="UpdateCheck('editform')">保存</el-button>
97
+          <el-button type="primary" @click="UpdateCheck('editform')">保 存</el-button>
98
         </div>
98
         </div>
99
       </el-dialog>
99
       </el-dialog>
100
     </div>
100
     </div>