Browse Source

修改提出问题的显示

ajun 5 years ago
parent
commit
ddd716144b

+ 1 - 1
resources/views/demand/_create.blade.php

@@ -1,5 +1,5 @@
 @auth
-<div id="demand-div">
+<div id="demand-div" class="d-none">
     <div class="container-fluid position-absolute" style="min-width:10px;z-index:300;top: 100px;">
         <div class="float-right position-absolute" style="right: 50px" >
             <button class="btn-circle btn-outline-primary" type="button" id="dropdownMenu2" data-toggle="dropdown" style="width: 45px;height: 45px"

+ 1 - 2
resources/views/demand/_createjs.blade.php

@@ -17,9 +17,9 @@
             this.authoritiesFilter = JSON.parse(JSON.stringify(this.authorities));
             this.getAuthority();
             this.setUnClaimDemandRatio();
+            $('#demand-div').removeClass('d-none');
         },
         mounted() {
-            // this.setUnClaimDemandRatio();
         },
         methods: {
             /** 筛选 */
@@ -88,7 +88,6 @@
                 });
             },
             setUnClaimDemandRatio(){
-                console.log('setUnClaimDemandRatio');
                 let url = '{{url('apiLocal/demand/unClaimDemandRatio')}}';
                 window.axios.get(url).then(res=>{
                     if(res.data.data){