yq1 10 ヶ月 前
コミット
b562c82c81
共有1 個のファイルを変更した6 個の追加5 個の削除を含む
  1. 6 5
      src/xt_pages/user/inspection.vue

+ 6 - 5
src/xt_pages/user/inspection.vue ファイルの表示

@@ -394,6 +394,7 @@
394 394
       </div>
395 395
     </el-dialog>
396 396
 
397
+    <!-- 上传图片弹窗 -->
397 398
     <el-dialog
398 399
       :title="formTitle"
399 400
       :visible.sync="dialogPicFormVisible"
@@ -1148,6 +1149,7 @@ export default {
1148 1149
 
1149 1150
       }
1150 1151
     },
1152
+    // 上传确认保存
1151 1153
     submitPicNew() {
1152 1154
       this.formLoading = true
1153 1155
       if (this.form.imgs.length == 0) {
@@ -1167,6 +1169,7 @@ export default {
1167 1169
               duration: 2000
1168 1170
             })
1169 1171
             this.itemDate = this.form.inspect_date
1172
+            console.log('111111111',this.itemDate);
1170 1173
             this.items = []
1171 1174
             for (var index in this.projects) {
1172 1175
               if (this.projects[index].project_id == this.form.project_id) {
@@ -1360,16 +1363,14 @@ export default {
1360 1363
               }
1361 1364
               console.log("items23233232",item)
1362 1365
               if(this.org_id!=10503){
1363
-                if(item.item_name!=""){
1366
+                if(item.project_name!=""){
1364 1367
                  this.items.push(item)
1365 1368
                }
1366 1369
               }else{
1367 1370
                 this.items.push(item)
1368 1371
               }
1369
-
1370
-
1371
-             
1372
-
1372
+              
1373
+              console.log('fffff',this.items);
1373 1374
               if(item.value.indexOf("http") <0){
1374 1375
                 this.isPic = true
1375 1376
               }