|
@@ -1,25 +1,19 @@
|
|
|
<template>
|
|
|
<div class="contrl">
|
|
|
- <el-form :model="consignor" label-width="auto" style="margin-top: 30px;">
|
|
|
- <el-divider content-position="left"><span style="color:#ff6154;">委托人信息</span></el-divider>
|
|
|
- <el-form-item label="名称:" class="form-item">
|
|
|
- <el-input v-model="consignor.name" clearable />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="类型:" class="form-item">
|
|
|
- <el-input v-model="consignor.type" clearable />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="住所:" class="form-item">
|
|
|
- <el-input v-model="consignor.address" clearable />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="法定代表人:" class="form-item">
|
|
|
- <el-input v-model="consignor.legalPerson" clearable />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="统一社会信用代码:" class="form-item">
|
|
|
- <el-input v-model="consignor.legalCode" clearable />
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- <SwitchButton :nextPath="nextPath"></SwitchButton>
|
|
|
- <SheetView></SheetView>
|
|
|
+ <div style="width: 95%;">
|
|
|
+ <div class="title-div">
|
|
|
+ <span>上传估价结果一览表-表单</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="download-btn">
|
|
|
+ <img src="../../../assets/icons/form.png" style="width: 26px; height: 26px; float: left; margin-top: 27px;" />
|
|
|
+ <span class="form-name">估价结果一览表-表单.xlsx</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="target-windows">
|
|
|
+ <SheetView :uploadUrl="'/api/file/house/guaranty/target'" @getExcelDate="excelDate"></SheetView>
|
|
|
+ </div>
|
|
|
+ <SwitchButton :nextPath="nextPath" :nextDo="genConsignorLetter"></SwitchButton>
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
@@ -27,6 +21,7 @@
|
|
|
<script>
|
|
|
import SwitchButton from '../../../components/SwichButton/index.vue'
|
|
|
import SheetView from '../../../components/SheetView/index.vue'
|
|
|
+ import { genConsignorLetter } from '@/api/houseGuaranty.js';
|
|
|
export default {
|
|
|
components:{
|
|
|
SwitchButton,
|
|
@@ -34,19 +29,25 @@ import SheetView from '../../../components/SheetView/index.vue'
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- consignor: {
|
|
|
- name: null,
|
|
|
- type: null,
|
|
|
- address: null,
|
|
|
- legalPerson: null,
|
|
|
- legalCode: null
|
|
|
- },
|
|
|
- nextPath:'/home/houseWorkbench/certificate'
|
|
|
+ nextPath:'/home/houseWorkbench/certificate',
|
|
|
+ excelHtml:null
|
|
|
}
|
|
|
},
|
|
|
|
|
|
methods:{
|
|
|
-
|
|
|
+ genConsignorLetter(){
|
|
|
+ if (this.excelHtml){
|
|
|
+ genConsignorLetter(13).then(res=>{
|
|
|
+ console.log(res)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ excelDate(data){
|
|
|
+ this.excelHtml = data;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -67,4 +68,38 @@ import SheetView from '../../../components/SheetView/index.vue'
|
|
|
--el-input-focus-border: #ff6154;
|
|
|
--el-input-focus-border-color:#ff6154;
|
|
|
}
|
|
|
+
|
|
|
+.target-windows{
|
|
|
+ margin-top: 80px;
|
|
|
+ overflow-y: scroll;
|
|
|
+ padding: 5px;
|
|
|
+ border: 1.5px #dae1eb solid;
|
|
|
+ border-radius: 0.3em;
|
|
|
+}
|
|
|
+
|
|
|
+.download-btn{
|
|
|
+ height: 80px;
|
|
|
+ line-height: 80px;
|
|
|
+ float: right;
|
|
|
+ margin-left: 20px;
|
|
|
+}
|
|
|
+.form-name{
|
|
|
+ margin-left: 5px;
|
|
|
+ font-size: 16px;
|
|
|
+ text-decoration: underline;
|
|
|
+}
|
|
|
+
|
|
|
+.form-name:hover {
|
|
|
+ cursor: pointer;
|
|
|
+ color: #ff6154;
|
|
|
+}
|
|
|
+
|
|
|
+.title-div {
|
|
|
+ height: 80px;
|
|
|
+ line-height: 80px;
|
|
|
+ width: 300px;
|
|
|
+ float: left;
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: 900;
|
|
|
+}
|
|
|
</style>
|