项目部委托书
This commit is contained in:
parent
d6f8591d85
commit
58b61102b1
|
|
@ -321,21 +321,22 @@
|
||||||
<div>特此委托证明!</div>
|
<div>特此委托证明!</div>
|
||||||
<div>
|
<div>
|
||||||
<span>被授权人姓名:</span>
|
<span>被授权人姓名:</span>
|
||||||
<span v-for="(item, index) in authorizeData.detailsList" :key="index">
|
<span v-if="authorizeData.detailsList && authorizeData.detailsList.length > 0">
|
||||||
<img
|
<img
|
||||||
v-if="item.signName"
|
v-if="authorizeData.detailsList[0].signName"
|
||||||
:src="item.signName"
|
:src="authorizeData.detailsList[0].signName"
|
||||||
alt=""
|
alt=""
|
||||||
width="100px"
|
width="100px"
|
||||||
height="50px;"
|
height="50px;"
|
||||||
style="margin-right: 10px"
|
style="margin-right: 10px"
|
||||||
|
:style="{ transform: authorizeData.detailsList[0].signType == 0 ? 'rotate(-90deg)' : 'none' }"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-left: 62%; margin-bottom: 20px">
|
<div style="margin-left: 62%; margin-bottom: 20px">
|
||||||
<div>委托单位:{{ authorizeData.leaseUnit }}</div>
|
<div>委托单位:{{ authorizeData.leaseUnit }}</div>
|
||||||
<div>授权人:{{ authorizeData.userName }}</div>
|
<div>授权人:{{ authorizeData.userName }}</div>
|
||||||
<div>授权时间:{{ authorizeData.authorizeTime }}</div>
|
<div>授权时间:{{ authorizeData.createTime }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|
@ -466,7 +467,7 @@ export default {
|
||||||
leaseProject: '',
|
leaseProject: '',
|
||||||
detailsList: [],
|
detailsList: [],
|
||||||
userName: '',
|
userName: '',
|
||||||
authorizeTime: ''
|
createTime: ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -958,12 +959,21 @@ export default {
|
||||||
const res = await getAuthInfo(params)
|
const res = await getAuthInfo(params)
|
||||||
this.authorizeData = res.data
|
this.authorizeData = res.data
|
||||||
const date = new Date()
|
const date = new Date()
|
||||||
this.authorizeData.authorizeTime = `${date.getFullYear()} 年 ${date.getMonth() + 1} 月 ${date.getDate()} 日`
|
const time = `${date.getFullYear()} 年 ${date.getMonth() + 1} 月 ${date.getDate()} 日`
|
||||||
|
this.authorizeData.createTime = res.data.createTime ? this.formatTime(res.data.createTime) : time
|
||||||
this.authorizeVisible = true
|
this.authorizeVisible = true
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('🚀 ~ handleAuthorize ~ error:', error)
|
console.log('🚀 ~ handleAuthorize ~ error:', error)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 转换时间格式
|
||||||
|
formatTime(time) {
|
||||||
|
const date = new Date(time)
|
||||||
|
const year = date.getFullYear()
|
||||||
|
const month = date.getMonth() + 1
|
||||||
|
const day = date.getDate()
|
||||||
|
return `${year} 年 ${month} 月 ${day} 日`
|
||||||
|
},
|
||||||
// 打印
|
// 打印
|
||||||
authorizePrint() {
|
authorizePrint() {
|
||||||
this.$refs.remarksPrintRef.print()
|
this.$refs.remarksPrintRef.print()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue