From 5506edbe54883b31db3cc8e4a1d9d0795a18a3c9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 27 十二月 2024 14:37:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1
---
company/src/components/business/operaCompanyUserApplyDescWindow.vue | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 168 insertions(+), 0 deletions(-)
diff --git a/company/src/components/business/operaCompanyUserApplyDescWindow.vue b/company/src/components/business/operaCompanyUserApplyDescWindow.vue
new file mode 100644
index 0000000..9c7a58e
--- /dev/null
+++ b/company/src/components/business/operaCompanyUserApplyDescWindow.vue
@@ -0,0 +1,168 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="100%"
+ :withFooter="false"
+ :visible.sync="visible"
+ >
+ <div class="info">
+ <div class="info_label">
+ <span>鐢宠璁板綍璇︽儏</span>
+ </div>
+ <div class="info_list">
+ <div class="info_list_item">
+ <div class="info_list_item_label">鐢宠浜猴細</div>
+ <div class="info_list_item_val">{{form.realName}}</div>
+ </div>
+ <div class="info_list_item">
+ <div class="info_list_item_label">鐢宠鏃堕棿锛�</div>
+ <div class="info_list_item_val">{{form.createDate}}</div>
+ </div>
+ <div class="info_list_item" style="width: 100%;">
+ <div class="info_list_item_label">鎺堟潈璐﹀彿锛�</div>
+ <div class="info_list_item_val">{{form.userName}}</div>
+ </div>
+ <div class="info_list_item" style="width: 100%;">
+ <div class="info_list_item_label">鎺堟潈绠$悊浼佷笟锛�</div>
+ <div class="info_list_item_val">{{form.companyNames}}</div>
+ </div>
+ <div class="info_list_item" style="width: 100%;">
+ <div class="info_list_item_label">鐢宠璇存槑锛�</div>
+ <div class="info_list_item_val">{{form.content}}</div>
+ </div>
+ <div class="info_list_item" style="width: 100%;">
+ <div class="info_list_item_label">鐢宠闄勪欢锛�</div>
+ <div class="info_list_item_val">
+ <div class="info_list_item_val_cul">
+ <u v-for="(item, index) in form.multifileList" :key="index" @click="openFile(item.name, item.fileurlFull)">{{item.name}}</u>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="info">
+ <div class="info_label">
+ <span>瀹℃壒鎯呭喌</span>
+ </div>
+ <div class="info_list">
+ <div class="info_list_item">
+ <div class="info_list_item_label">瀹℃壒缁撴灉锛�</div>
+ <div class="info_list_item_val">
+ <template v-if="form.status === 0">寰呭鏍�</template>
+ <template v-if="form.status === 1">瀹℃牳閫氳繃</template>
+ <template v-if="form.status === 2">瀹℃牳涓嶉�氳繃</template>
+ </div>
+ </div>
+ <div class="info_list_item">
+ <div class="info_list_item_label">瀹℃牳鏃堕棿锛�</div>
+ <div class="info_list_item_val">{{form.checkDate}}</div>
+ </div>
+ <div class="info_list_item" style="width: 100%;">
+ <div class="info_list_item_label">瀹℃牳璇存槑锛�</div>
+ <div class="info_list_item_val">{{form.checkInfo}}</div>
+ </div>
+ </div>
+ </div>
+ <!-- 棰勮pdf -->
+ <OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import { getById } from '@/api/business/companyUserApply'
+ import { mapState } from 'vuex'
+ import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
+ export default {
+ name: 'operaCompanyUserApplyDescWindow',
+ extends: BaseOpera,
+ components: { GlobalWindow, OperaPdfViewerWindow },
+ data () {
+ return {
+ form: {}
+ }
+ },
+ computed: {
+ ...mapState(['userInfo'])
+ },
+ methods: {
+ open (title, id) {
+ this.title = title
+ getById(id)
+ .then(res => {
+ console.log(res)
+ this.form = res
+ this.visible = true
+ })
+ },
+ openFile(name, url) {
+ this.$refs.OperaPdfViewerWindow.open(name, url)
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .info {
+ width: 100%;
+ .info_label {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-bottom: 20px;
+ span {
+ font-size: 18px;
+ font-weight: 600;
+ color: #000000;
+ }
+ }
+ .info_list {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ .info_list_item {
+ width: 50%;
+ display: flex;
+ align-items: start;
+ margin-bottom: 20px;
+ .info_list_item_label {
+ font-size: 15px;
+ flex-shrink: 0;
+ }
+ .info_list_item_val {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ font-size: 15px;
+ .info_list_item_val_cul {
+ display: flex;
+ flex-direction: column;
+ u {
+ font-size: 15px;
+ color: #2E68EC;
+ cursor: pointer;
+ margin-top: 5px;
+ &:first-child {
+ margin: 0;
+ }
+ }
+ }
+ .image {
+ width: 100px;
+ height: 100px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ overflow: hidden;
+ img {
+ width: 100%;
+ }
+ }
+ }
+ }
+ }
+ }
+</style>
--
Gitblit v1.9.3