人员库修改
This commit is contained in:
parent
4f841d1ca1
commit
51cd2b7ce5
|
|
@ -15,7 +15,6 @@
|
||||||
<el-button @click="handleDocumentSearchWord">Word文档搜索功能</el-button>
|
<el-button @click="handleDocumentSearchWord">Word文档搜索功能</el-button>
|
||||||
<el-button @click="handleDocumentExcel">Excel文档查看</el-button>
|
<el-button @click="handleDocumentExcel">Excel文档查看</el-button>
|
||||||
<el-button @click="handleTestMQ">测试MQ</el-button>
|
<el-button @click="handleTestMQ">测试MQ</el-button>
|
||||||
<el-button @click="handleTestMQ2">测试MQ2</el-button>
|
|
||||||
</template>
|
</template>
|
||||||
<template slot="handle" slot-scope="{ data }">
|
<template slot="handle" slot-scope="{ data }">
|
||||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:analysis:detail']" class="action-btn"
|
<el-button type="text" v-hasPermi="['enterpriseLibrary:analysis:detail']" class="action-btn"
|
||||||
|
|
|
||||||
|
|
@ -175,8 +175,14 @@ export default {
|
||||||
this.handlePreviewFromExternal(newVal)
|
this.handlePreviewFromExternal(newVal)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
if(newVal.length === 0){
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.files = [];
|
||||||
|
this.handlePreviewFromExternal(newVal)
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
immediate: true,
|
immediate: false,
|
||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,6 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
// 切换校验规则
|
// 切换校验规则
|
||||||
switchValidate(newVal) {
|
switchValidate(newVal) {
|
||||||
|
|
||||||
if (newVal.value === 'project_manager') {
|
if (newVal.value === 'project_manager') {
|
||||||
this.rules = {
|
this.rules = {
|
||||||
professionalType: [
|
professionalType: [
|
||||||
|
|
@ -243,6 +242,12 @@ export default {
|
||||||
{ required: true, message: '请上传' + this.certificateName, trigger: 'blur' }
|
{ required: true, message: '请上传' + this.certificateName, trigger: 'blur' }
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
// 清空文件列表
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$set(this.form, 'fileList2', []);
|
||||||
|
this.form.delFileList.push(...this.form.fileList2.map(item => item?.response?.fileRes?.filePath || item.filePath));
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
// 清空校验信息
|
// 清空校验信息
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|
@ -397,7 +402,6 @@ export default {
|
||||||
certificate.certificateType === businessType
|
certificate.certificateType === businessType
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log('certificates:', certificates);
|
|
||||||
|
|
||||||
if (certificates.length > 0) {
|
if (certificates.length > 0) {
|
||||||
const value = certificates[0][key];
|
const value = certificates[0][key];
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 人员信息卡片 -->
|
<!-- 人员信息卡片 -->
|
||||||
<div class="personnel-card" v-for="item in personnelList" :key="item.personnelId">
|
<div class="personnel-card-wrapper" v-for="item in personnelList" :key="item.personnelId">
|
||||||
|
<div class="personnel-card">
|
||||||
<div class="personnel-header">
|
<div class="personnel-header">
|
||||||
<h3 class="personnel-name">{{ item.personnelName }}</h3>
|
<h3 class="personnel-name">{{ item.personnelName }}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -77,6 +78,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- 过期证件标签 - 独立于卡片之外 -->
|
||||||
|
<div class="expired-tags" v-if="item.errorInfos && item.errorInfos.length > 0">
|
||||||
|
<span class="expired-text">{{ item.errorInfos.join(',') }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 分页 -->
|
<!-- 分页 -->
|
||||||
|
|
@ -344,6 +351,11 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.personnel-card-wrapper {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.personnel-card {
|
.personnel-card {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|
@ -387,6 +399,19 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.expired-tags {
|
||||||
|
padding: 8px 12px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
|
.expired-text {
|
||||||
|
display: block;
|
||||||
|
color: #db3e29;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.5;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.personnel-header {
|
.personnel-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ const name = process.env.VUE_APP_TITLE || '智能投标系统' // 网页标题
|
||||||
|
|
||||||
// const baseUrl = 'http://localhost:8080' // 后端接口
|
// const baseUrl = 'http://localhost:8080' // 后端接口
|
||||||
const baseUrl = 'http://192.168.0.39:8080'
|
const baseUrl = 'http://192.168.0.39:8080'
|
||||||
// const baseUrl = 'http://192.168.31.170:8080'
|
// const baseUrl = 'http://192.168.31.169:8080'
|
||||||
|
|
||||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue