rk
2025-09-22 cf2391a86bdea88196d49cd33949570f74c0985d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<template>
  <GlobalWindow
    :title="title"
    :visible.sync="visible"
  >
    <div class="service">
      <el-descriptions size="medium" labelClassName="title-style" :column="2">
        <el-descriptions-item label="企业名称">{{ companyMessag.name }}</el-descriptions-item>
        <el-descriptions-item label="统一社会信用代码">{{ companyMessag.creditCode }}</el-descriptions-item>
        <el-descriptions-item label="成立时间">{{ companyMessag.registerDate }}</el-descriptions-item>
        <el-descriptions-item label="所属区域">{{ companyMessag.belongAreaName }}</el-descriptions-item>
        <el-descriptions-item label="单位类别" :span="2">{{ companyMessag.labelName }}</el-descriptions-item>
        <el-descriptions-item label="单位地址" :span="2">{{ companyMessag.address }}</el-descriptions-item>
        <el-descriptions-item label="联系人">{{ companyMessag.linkName }}</el-descriptions-item>
        <el-descriptions-item label="联系电话">{{ companyMessag.linkPhone }}</el-descriptions-item>
        <el-descriptions-item label="企业(单位)简介" :span="2">{{ companyMessag.content }}</el-descriptions-item>
        <el-descriptions-item label="营业执照/事业单位、社会团体登记证" :span="2">
          <el-image
            style="margin-right: 10px; width: 90px; height: 90px; border-radius: 2px;"
            v-for="(item, index) in companyMessag.businessList"
            :key="index"
            :initial-index="index"
            :src="item.fileurlfull"
            :preview-src-list="companyMessag.businessList.map(item => item.fileurlfull)"
            :z-index="3000"
          ></el-image>
        </el-descriptions-item>
        <el-descriptions-item label="企业资质" :span="2">
          <el-image
            style="margin-right: 10px; width: 90px; height: 90px; border-radius: 2px;"
            v-for="(item, index) in companyMessag.zzFileList"
            :key="index"
            :initial-index="index"
            :src="item.fileurlfull"
            :preview-src-list="companyMessag.zzFileList.map(item => item.fileurlfull)"
            :z-index="3000"
          ></el-image>
        </el-descriptions-item>
        <el-descriptions-item label="中标通知" :span="2">
          <el-image
            style="margin-right: 10px; width: 90px; height: 90px; border-radius: 2px;"
            v-for="(item, index) in companyMessag.noticeFileList"
            :key="index"
            :initial-index="index"
            :src="item.fileurlfull"
            :preview-src-list="companyMessag.noticeFileList.map(item => item.fileurlfull)"
            :z-index="3000"
          ></el-image>
        </el-descriptions-item>
      </el-descriptions>
    </div>
    <div slot="footer">
      <el-button @click="visible=false">返回</el-button>
    </div>
  </GlobalWindow>
</template>
 
<script>
import BaseOpera from '@/components/base/BaseOpera'
import GlobalWindow from '@/components/common/GlobalWindow'
import { queryCompanyDetail } from '@/api/business/company'
 
export default {
  name: 'OperaCompanyChangeIngWindow',
  extends: BaseOpera,
  components: { GlobalWindow },
  data () {
    return {
      form: {
        companyId: ''
      },
      companyMessag: {},
    }
  },
  created () {
  },
  methods: {
    open (title, target) {
      this.title = title
      this.visible = true
      // 编辑
      this.$nextTick(() => {
        for (const key in this.form) {
          this.form[key] = target[key]
        }
        this.initData()
      })
    },
    closeThis(){
      this.visible =false
    },
    initData() {
      queryCompanyDetail(this.form.companyId)
        .then(res => {
          this.companyMessag = res
          let registerDate = this.companyMessag.registerDate
          this.companyMessag.registerDate = registerDate.substring(0, registerDate.length-8)
        })
        .catch(e => {
          this.$message.error(e)
        })
    },
  }
}
</script>
 
<style lang="scss" scoped>
.company-message {
  width: 100%;
  display: flex;
  justify-content: space-between;
  .sub-company-message {
    width: calc(50% - 6px);
    margin-top: 20px;
    .message-title {
      height: 14px;
      font-size: 14px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #222222;
      line-height: 14px;
    }
    .after {
      color: #216EEE;
    }
    .message-content {
      border-radius: 2px;
      border: 1px solid #DFE2E8;
      margin-top: 16px;
      padding: 20px;
      ::v-deep .el-form-item {
        margin-bottom: 1px;
      }
    }
  }
}
.long-title-style {
  width: 150px;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis;
  overflow: hidden;
}
img {
  width: 90px;
  height: 90px;
}
.tip-style {
  background: rgba(33,110,238,0.1);
  color: #216EEE;
  display: flex;
  height: 44px;
  border-radius: 2px;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  line-height: 44px;
  padding-left: 20px;
  img {
    width: 16px;
    height: 16px;
    margin: auto 8px auto 0;
  }
  margin-bottom: 20px;
}
 
.fail-style {
  background: rgba(238,56,33,0.1);
  color: #EE3821;
}
.success-style {
  background: rgba(0,186,126,0.1);
  color: #00BA7E;
}
 
</style>