xiebaomin il y a 1 an
Parent
commit
4c92c2a7fc

+ 5 - 2
src/views/serviceSettlement/components/CmQrcode/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-dialog :visible.sync="dialogTableVisible" :width="width + 'px'">
+    <el-dialog :visible.sync="dialogTableVisible" :width="width + 'px'" :title="itemObj.name">
       <!--<vue-qr
         ref="qrCode"
         :text="qrUrl"
@@ -74,7 +74,7 @@ export default {
       }).then(async() => {
         this.isLoading = true
         // 使用a链接下载
-        const downUrl = `${process.env.VUE_APP_BASE_API}/providers/download/image?ids=${this.itemObj.id}&type=1`
+        const downUrl = `${process.env.VUE_APP_BASE_API}/providers/download/image?ids=${this.itemObj.id}&type=2`
         this.downloadWithUrl(downUrl, this.itemObj.name)
           .catch((err) => {
             console.log(err)
@@ -106,4 +106,7 @@ export default {
     margin-top: 30px;
   }
 }
+::v-deep .el-dialog__header {
+  text-align: center;
+}
 </style>

+ 2 - 0
src/views/serviceSettlement/list/edit.vue

@@ -78,6 +78,7 @@
           :limit="20"
           :tip="'支持上传pdf、docx、 pptx文件格式'"
           :before-upload="beforeUpload"
+          :is-check="false"
           @success="uploadSuccess($event, 'infoRelateds')"
           @change="uploadChange($event, 'infoRelateds')"
           @remove="handleRemove($event, 'infoRelateds')"
@@ -109,6 +110,7 @@
         <el-form-item label="上传合同:" prop="contract.contractRelateds">
           <file-upload
             :limit="20"
+            :is-check="false"
             :file-list="contractList"
             :tip="'支持上传pdf、docx、 pptx文件格式'"
             @success="contractUploadSuccess($event)"