XMLWAN 4 yıl önce
ebeveyn
işleme
ea305095c4

+ 12 - 0
src/xt_pages/data/components/editProject.vue Dosyayı Görüntüle

@@ -323,6 +323,9 @@ export default {
323 323
     },
324 324
     methods:{
325 325
         getTime(val) {
326
+         if(val < 0){
327
+           return ""
328
+         }
326 329
          if(val == ""){
327 330
           return ""
328 331
          }else {
@@ -367,6 +370,9 @@ export default {
367 370
               this.form.cost_classify = projecDetail.cost_classify
368 371
               this.form.executive_section = projecDetail.executive_section
369 372
               this.form.medical_coverage = projecDetail.medical_coverage
373
+              if(projecDetail.statistical_classification == 0){
374
+                 this.form.statistical_classification = ""
375
+              }
370 376
               this.form.statistical_classification =projecDetail.statistical_classification
371 377
               this.form.disease_directory = projecDetail.disease_directory?projecDetail.disease_directory:""
372 378
               this.form.is_record = projecDetail.is_record?projecDetail.is_record:""
@@ -387,7 +393,13 @@ export default {
387 393
               this.form.execution_frequency = projecDetail.execution_frequency
388 394
               this.form.number_days = projecDetail.number_days
389 395
               this.form.total = projecDetail.total
396
+              if(projecDetail.category == 0){
397
+                this.form.category = ""
398
+              }
390 399
               this.form.category = projecDetail.category
400
+              if(projecDetail.specail_project == 0){
401
+                this.form.specail_project = ""
402
+              }
391 403
               this.form.specail_project = projecDetail.specail_project
392 404
               this.form.social_security_directory_code = projecDetail.social_security_directory_code
393 405
               this.form.record_date = this.getTime(projecDetail.record_date)

+ 1 - 1
src/xt_pages/data/components/project.vue Dosyayı Görüntüle

@@ -342,7 +342,7 @@ export default {
342 342
     },
343 343
     created(){
344 344
       this.getlist()
345
-      this.getDartmentList
345
+      this.getDartmentList()
346 346
      
347 347
     }
348 348
 }

+ 1 - 0
src/xt_pages/role/components/AdminRoleInfoForm.vue Dosyayı Görüntüle

@@ -148,6 +148,7 @@
148 148
             if (resp.state === 1) {
149 149
               this.roles = []
150 150
               this.roles.push(...resp.data.roles)
151
+              console.log("resp2222",resp.data.roles)
151 152
               this.qntoken = resp.data.qntoken
152 153
               var admin = resp.data.admin
153 154
               this.form.name = admin.user_name