yq1 10 months ago
parent
commit
b562c82c81
1 changed files with 6 additions and 5 deletions
  1. 6 5
      src/xt_pages/user/inspection.vue

+ 6 - 5
src/xt_pages/user/inspection.vue View File

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