lex-xin 3 years ago
parent
commit
e8fc4bd83f
2 changed files with 8 additions and 5 deletions
  1. 4 1
      src/utils/downLoadFile.js
  2. 4 4
      src/views/resetTeaming/modals/instrumentModel.vue

+ 4 - 1
src/utils/downLoadFile.js

@@ -60,11 +60,14 @@ export const Export = (that, params, message, func) => {
                 })
               }, 1000);
               return
+            } else if(json.code == 200){
+              that.$message.success(json.msg)
+            } else {
+              that.$message.error(json.msg)
             }
             if (func) {
               func()
             }
-            that.$message.error(json.msg)
           } else {
             let objectUrl = URL.createObjectURL(blob);
             let link = document.createElement("a");

+ 4 - 4
src/views/resetTeaming/modals/instrumentModel.vue

@@ -9,16 +9,16 @@
         <el-row class="title-row">
           <el-col :span="13">
             <template v-if="i[0]['kitType'] == 'GROUP'">
-              团购乐器{{ courseViewType == 2 ? "(赠送辅件一套)" : null }}
+              团购乐器
             </template>
             <template v-if="i[0]['kitType'] == 'LEASE'">
-              乐器租赁{{ courseViewType == 2 ? "(请自行购买辅件)" : null }}
+              乐器租赁
             </template>
             <template v-if="i[0]['kitType'] == 'FREE'">
-              免费乐器{{ courseViewType == 2 ? "(请自行购买辅件)" : null }}
+              免费乐器
             </template>
             <template v-if="i[0]['kitType'] == 'owned'">
-              自备乐器{{ courseViewType == 2 ? "(请自行购买辅件)" : null }}
+              自备乐器
             </template>
           </el-col>
           <el-col :span="5" style="text-align: right;">