Your Name
2022-05-10 30e36368e54581fcc0c581a004f1f68873c1e819
src/views/layout/components/Navbar.vue
@@ -37,7 +37,7 @@
    <el-dialog :visible.sync="appDialogVisible"
               :modal-append-to-body="false" :close-on-click-modal="false"
               width="320px"
    title="监管APP安卓版浏览器扫码下载">
    title="APP安卓版浏览器扫码下载">
        <div id="appcode" style="height: 200px;width: 200px"/>
    </el-dialog>
  </div>
@@ -79,6 +79,7 @@
  },
  data() {
    return {
      prefixUrl:process.env.IMG_API,
      warnBJList: [],
      warnBJVisible: false,
      pageSize: 10,
@@ -124,20 +125,20 @@
  methods: {
     getAppCode(){
         const roles = this.roles
         for (let role in roles){
             if(roles[role].name == '生产企业' ||
                 roles[role].name == '销售企业'){
                 this.appShow = false;
             }
         }
         // for (let role in roles){
         //     if(roles[role].name == '生产企业' ||
         //         roles[role].name == '销售企业'){
         //         this.appShow = false;
         //     }
         // }
         const _this = this
         const params = {}
         params['filetype'] = "监管"
         params['filetype'] = "众泰APP"
         newAppFile(params).then(response => {
             const res = response.data;
             if (res.code == 200) {
                 const result = res.result;
                 _this.appCode = result.fileurl
                 _this.appCode = this.prefixUrl + result.fileurl
             }
         }).catch(error => {
         })