Browse Source

文件预览边框

peixh 4 years ago
parent
commit
6f50890e21

+ 2 - 2
front-vue/src/views/service/creditLine/addCreditLine.vue

@@ -248,8 +248,8 @@
         <el-button type="primary" @click="submitForm">确 定</el-button>
         <!-- <el-button @click="cancel">取 消</el-button> -->
       </div>
-    <el-dialog :title="title" :visible.sync="openWord" width="1000px" append-to-body>
-      <iframe :src="wordUrl" width='700px' height='500px' frameborder='1' />
+    <el-dialog :title="title" :visible.sync="openWord" width="900px" append-to-body>
+      <iframe :src="wordUrl" width='800px' height='500px' frameborder='1' />
     </el-dialog>
   </div>
 </template>

+ 1 - 3
front-vue/src/views/service/creditLine/creditLine.vue

@@ -416,10 +416,8 @@ export default {
         debugger
         this.creditLineList = response.data.records;
         if(response.data.records[0]){
-          // this.companyType = response.data.records[0].companyType
-          // this.companyType = '02'
+          this.companyType = response.data.records[0].companyType
         }
-        this.companyType = '02'
         this.total = response.data.total;
         this.loading = false
       });

+ 2 - 2
front-vue/src/views/service/creditLine/detailCreditLine.vue

@@ -266,8 +266,8 @@
         <!-- <el-button type="success" @click="submitForm"
             >提交</el-button> --> 
       </div>
-    <el-dialog :title="title" :visible.sync="openWord" width="1000px" append-to-body>
-      <iframe :src="wordUrl" width='700px' height='500px' frameborder='1' />
+    <el-dialog :title="title" :visible.sync="openWord" width="900px" append-to-body>
+      <iframe :src="wordUrl" width='800px' height='500px' frameborder='1' />
     </el-dialog>
   </div>
 </template>

+ 2 - 2
front-vue/src/views/service/creditLine/editCreditLine.vue

@@ -271,8 +271,8 @@
         <el-button type="primary" @click="submitForm">确 定</el-button>
         <!-- <el-button @click="cancel">取 消</el-button> -->
       </div>
-    <el-dialog :title="title" :visible.sync="openWord" width="1000px" append-to-body>
-      <iframe :src="wordUrl" width='700px' height='500px' frameborder='1' />
+    <el-dialog :title="title" :visible.sync="openWord" width="900px" append-to-body>
+      <iframe :src="wordUrl" width='800px' height='500px' frameborder='1' />
     </el-dialog>
   </div>
 </template>

+ 1 - 1
front-vue/src/views/service/financeRecord/addFinanceRecord.vue

@@ -127,7 +127,7 @@
       </div>
       <!--预览-->
       <el-dialog  :visible.sync="openFile" width="1000px" append-to-body>
-        <img :src="wordUrl" v-if="show" width='450px' height='500px'/>
+        <img :src="wordUrl" v-if="show" width='700px' height='500px'/>
         <iframe :src="wordUrl" width='800px' height='600px' frameborder='1' v-if="heid"/>
       </el-dialog>
   </div>

+ 3 - 3
front-vue/src/views/service/financeRecord/approvalRecordDetail.vue

@@ -132,9 +132,9 @@
         <!-- <el-button @click="cancel">取 消</el-button> -->
       </div>
       <!--预览-->
-      <el-dialog  :visible.sync="openFile" width="1000px" append-to-body>
-        <img :src="wordUrl" v-if="show" width='450px' height='500px'/>
-        <iframe :src="wordUrl" width='800px' height='600px' frameborder='1' v-if="heid"/>
+      <el-dialog  :visible.sync="openFile" width="900px" append-to-body>
+        <img :src="wordUrl" v-if="show" width='800px' height='500px'/>
+        <iframe :src="wordUrl" width='800px' height='500px' frameborder='1' v-if="heid"/>
       </el-dialog>
   </div>
 </template>

+ 3 - 3
front-vue/src/views/service/financeRecord/detailFinanceRecord.vue

@@ -135,9 +135,9 @@
             >提交</el-button> -->
       </div>
       <!--预览-->
-      <el-dialog  :visible.sync="openFile" width="1000px" append-to-body>
-        <img :src="wordUrl" v-if="show" width='450px' height='500px'/>
-        <iframe :src="wordUrl" width='800px' height='600px' frameborder='1' v-if="heid"/>
+      <el-dialog  :visible.sync="openFile" width="900px" append-to-body>
+        <img :src="wordUrl" v-if="show" width='800px' height='500px'/>
+        <iframe :src="wordUrl" width='800px' height='500px' frameborder='1' v-if="heid"/>
       </el-dialog>
   </div>
 </template>

+ 4 - 4
front-vue/src/views/service/financeRecord/recordSeal.vue

@@ -197,10 +197,10 @@
              <img :src="'data:image/jpeg;base64,' + this.fileUrl" style="overflow: auto; width: 100%; height: 100%;"/>
         </el-dialog>
         <!--预览-->
-      <el-dialog  :visible.sync="openFile" width="1000px" append-to-body>
-        <img :src="wordUrl" v-if="show" width='450px' height='500px'/>
-        <iframe :src="wordUrl" width='800px' height='600px' frameborder='1' v-if="heid"/>
-      </el-dialog>
+        <el-dialog  :visible.sync="openFile" width="900px" append-to-body>
+            <img :src="wordUrl" v-if="show" width='800px' height='500px'/>
+            <iframe :src="wordUrl" width='800px' height='500px' frameborder='1' v-if="heid"/>
+        </el-dialog>
   </div>
 </template>
 <script>