bug修复
This commit is contained in:
parent
c028ba6847
commit
c80c8b6515
|
|
@ -4,7 +4,7 @@ VUE_APP_TITLE = 可视化管控平台
|
||||||
NODE_ENV = production
|
NODE_ENV = production
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
ENV = 'testing'
|
ENV = testing
|
||||||
|
|
||||||
VUE_APP_ENV = 'testing'
|
VUE_APP_ENV = 'testing'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,18 +22,18 @@ export default {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => {
|
default: () => {
|
||||||
return {
|
return {
|
||||||
filePreviewUrl: ''
|
filePreviewUrl: '',
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
},
|
||||||
fileType: {
|
fileType: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '' // docx: word
|
default: '', // docx: word
|
||||||
},
|
},
|
||||||
lookType: {
|
lookType: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'normal'
|
default: 'normal',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -44,7 +44,7 @@ export default {
|
||||||
filePreviewPath: '',
|
filePreviewPath: '',
|
||||||
file: '',
|
file: '',
|
||||||
loading: true,
|
loading: true,
|
||||||
loadingMessage: 'Loading...'
|
loadingMessage: 'Loading...',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -127,17 +127,19 @@ export default {
|
||||||
fillInComments() {
|
fillInComments() {
|
||||||
this.$prompt('请填写意见', '提示', {
|
this.$prompt('请填写意见', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消'
|
cancelButtonText: '取消',
|
||||||
}).then(({ value }) => {
|
})
|
||||||
|
.then(({ value }) => {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: '填写成功'
|
message: '填写成功',
|
||||||
})
|
})
|
||||||
this.$emit('fillInComments', value)
|
this.$emit('fillInComments', value)
|
||||||
}).catch(() => {
|
})
|
||||||
|
.catch(() => {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
message: '取消输入'
|
message: '取消输入',
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
@ -148,14 +150,14 @@ export default {
|
||||||
console.log('🚀 ~ download ~ this.fileUploadPath:', this.fileUploadPath)
|
console.log('🚀 ~ download ~ this.fileUploadPath:', this.fileUploadPath)
|
||||||
}
|
}
|
||||||
downloadFile(this.fileUploadPath, this.$props.items.fileName)
|
downloadFile(this.fileUploadPath, this.$props.items.fileName)
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
items: {
|
items: {
|
||||||
handler: 'setParam',
|
handler: 'setParam',
|
||||||
immediate: true
|
immediate: true,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
||||||
|
|
@ -271,6 +271,7 @@
|
||||||
v-on:finalInstance="finalInstance"
|
v-on:finalInstance="finalInstance"
|
||||||
v-on:turnDown="turnDown"
|
v-on:turnDown="turnDown"
|
||||||
:opinionValueOther="opinionValueOther"
|
:opinionValueOther="opinionValueOther"
|
||||||
|
:auditReason="[]"
|
||||||
></bns-timeline-tabs>
|
></bns-timeline-tabs>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
|
|
|
||||||
|
|
@ -259,7 +259,11 @@ export default {
|
||||||
// if (item.isActive == 1) return 'currentLight'
|
// if (item.isActive == 1) return 'currentLight'
|
||||||
if (item.auditStatus == 1 || item.auditStatus == 3) return 'highlight'
|
if (item.auditStatus == 1 || item.auditStatus == 3) return 'highlight'
|
||||||
if (item.auditStatus == 2) return 'rejectHighlight'
|
if (item.auditStatus == 2) return 'rejectHighlight'
|
||||||
if (item.auditStatus == null && this.endAuditingIndex < 0) return 'normal'
|
if (
|
||||||
|
(item.auditStatus == null && this.endAuditingIndex < 0) ||
|
||||||
|
(this.enterStatus && this.enterStatus.includes('撤回'))
|
||||||
|
)
|
||||||
|
return 'normal'
|
||||||
if ((item.auditStatus == null || item.auditStatus == 4) && this.endAuditingIndex > -1) return 'currentGary'
|
if ((item.auditStatus == null || item.auditStatus == 4) && this.endAuditingIndex > -1) return 'currentGary'
|
||||||
if (item.auditStatus == 4 && this.endAuditingIndex < 0) return 'currentLight'
|
if (item.auditStatus == 4 && this.endAuditingIndex < 0) return 'currentLight'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import { getToDoNum } from '@/api/system/notice'
|
import { getToDoNum } from '@/api/system/notice'
|
||||||
//0 测试 1生产
|
//0 测试 1生产
|
||||||
let fileType = process.env.ENV === 'testing' ? 0 : 1
|
let fileType = process.env.VUE_APP_ENV === 'testing' ? 0 : 1
|
||||||
|
// let fileType = 0
|
||||||
|
|
||||||
export function lookFile() {
|
export function lookFile() {
|
||||||
if (fileType === 0) {
|
if (fileType === 0) {
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<h3 style="color: #409eff; background: #f6f6f6; padding: 15px; border-radius: 10px">工程基础信息</h3>
|
<h3 style="color: #409eff; background: #f6f6f6; padding: 15px; border-radius: 10px">工程基础信息----</h3>
|
||||||
<el-row :gutter="gutter">
|
<el-row :gutter="gutter">
|
||||||
<el-col :span="7">
|
<el-col :span="7">
|
||||||
<el-form-item label="工程名称:" label-width="130px" prop="">
|
<el-form-item label="工程名称:" label-width="130px" prop="">
|
||||||
|
|
@ -452,6 +452,7 @@ export default {
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
type: 'view',
|
type: 'view',
|
||||||
taskId: row.taskId,
|
taskId: row.taskId,
|
||||||
|
enterStatus: row.enterStatus,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -658,11 +658,11 @@ export default {
|
||||||
id: this.row.id,
|
id: this.row.id,
|
||||||
// proId: this.proId,
|
// proId: this.proId,
|
||||||
}
|
}
|
||||||
console.log('🚀 ~ 详情 ~ params:', params)
|
// console.log('🚀 ~ 详情 ~ params:', params)
|
||||||
const res = await getHiddenDangerRectificationForm(params)
|
const res = await getHiddenDangerRectificationForm(params)
|
||||||
this.proId = res.data.proId
|
this.proId = res.data.proId
|
||||||
await this.getPersonByConsIdSelect(res.data.subId)
|
await this.getPersonByConsIdSelect(res.data.subId)
|
||||||
console.log('🚀 ~ getDetails ~ res:', res)
|
console.log('排查详情', res)
|
||||||
this.baseInfoForm = { ...res.data }
|
this.baseInfoForm = { ...res.data }
|
||||||
this.baseInfoForm.inspectLevelName = res.data.checkLevelName
|
this.baseInfoForm.inspectLevelName = res.data.checkLevelName
|
||||||
this.inspectForm = { ...res.data }
|
this.inspectForm = { ...res.data }
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
size="mini"
|
size="mini"
|
||||||
style="color: #f56c6c"
|
style="color: #f56c6c"
|
||||||
@click="handleRectify(scope.row, 1)"
|
@click="handleRectify(scope.row, 3)"
|
||||||
v-if="scope.row.intoStatus == '1'"
|
v-if="scope.row.intoStatus == '1'"
|
||||||
>
|
>
|
||||||
审批
|
审批
|
||||||
|
|
|
||||||
|
|
@ -1017,7 +1017,7 @@ export default {
|
||||||
},
|
},
|
||||||
submitFileForm() {
|
submitFileForm() {
|
||||||
this.$refs['form'].validate(valid => {
|
this.$refs['form'].validate(valid => {
|
||||||
console.log("--->")
|
console.log('--->')
|
||||||
console.log(valid)
|
console.log(valid)
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (!this.formFile.fileList[0].name.toLowerCase().endsWith('.zip')) {
|
if (!this.formFile.fileList[0].name.toLowerCase().endsWith('.zip')) {
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog :title="`人员基础数据导入`" :visible.sync="personBasicOpen" width="60%" style="height: 1000px">
|
<el-dialog :title="`人员基础数据导入`" :visible.sync="personBasicOpen" width="70%">
|
||||||
<div style="padding: 15px; width: 100%; height: 750px">
|
<div style="padding: 15px; width: 100%; height: 750px">
|
||||||
<el-steps :active="active" :finish-status="status" align-center>
|
<el-steps :active="active" :finish-status="status" align-center>
|
||||||
<el-step title="选择文件"></el-step>
|
<el-step title="选择文件"></el-step>
|
||||||
|
|
@ -261,17 +261,7 @@
|
||||||
<div class="step2" style="margin-bottom: 30px">
|
<div class="step2" style="margin-bottom: 30px">
|
||||||
<div
|
<div
|
||||||
v-if="active === 2"
|
v-if="active === 2"
|
||||||
style="
|
style="overflow-x: auto; overflow-y: auto; display: flex; flex-direction: column; padding: 20px"
|
||||||
height: 680px;
|
|
||||||
overflow-x: auto;
|
|
||||||
overflow-y: auto;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
padding: 20px;
|
|
||||||
margin-left: 7%;
|
|
||||||
margin-top: 20px;
|
|
||||||
margin-right: 7%;
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="errorLine.length > 0 || errorPhone.length > 0"
|
v-if="errorLine.length > 0 || errorPhone.length > 0"
|
||||||
|
|
@ -293,19 +283,15 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 这里展示excel数据的表格 -->
|
<!-- 这里展示excel数据的表格 -->
|
||||||
<el-table
|
<el-table :data="excelData" border>
|
||||||
:data="excelData"
|
|
||||||
style="width: 100%; height: 700px; overflow-x: auto; overflow-y: auto"
|
|
||||||
border
|
|
||||||
>
|
|
||||||
<!-- 表格列定义 -->
|
<!-- 表格列定义 -->
|
||||||
<el-table-column prop="arg0" width="55" align="center" />
|
<el-table-column prop="arg0" width="55" align="center" />
|
||||||
<el-table-column prop="arg1" width="120" align="center" />
|
<el-table-column prop="arg1" align="center" />
|
||||||
<el-table-column prop="arg2" width="120" align="center" />
|
<el-table-column prop="arg2" align="center" />
|
||||||
<el-table-column prop="arg3" width="120" align="center" />
|
<el-table-column prop="arg3" align="center" />
|
||||||
<el-table-column prop="arg4" width="220" align="center" />
|
<el-table-column prop="arg4" align="center" />
|
||||||
<el-table-column prop="arg5" width="160" align="center" />
|
<el-table-column prop="arg5" align="center" />
|
||||||
<el-table-column prop="arg6" width="120" align="center" />
|
<el-table-column prop="arg6" align="center" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -985,10 +971,11 @@ export default {
|
||||||
parentUuid: this.$store.state.user.thisIds.parentUuid,
|
parentUuid: this.$store.state.user.thisIds.parentUuid,
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
this.formData.enterpriseQualificationFiles.length === 0 ||
|
(this.formData.enterpriseQualificationFiles.length === 0 ||
|
||||||
this.formData.securityAgreementFiles.length === 0 ||
|
this.formData.securityAgreementFiles.length === 0 ||
|
||||||
this.formData.supervisionPlanningFiles.length === 0 ||
|
this.formData.supervisionPlanningFiles.length === 0 ||
|
||||||
this.formData.implementationRulesFiles.length === 0
|
this.formData.implementationRulesFiles.length === 0) &&
|
||||||
|
submitType === '提交'
|
||||||
) {
|
) {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: '请先上传企业资质、安全协议书、监理规划、实施细则文件!',
|
message: '请先上传企业资质、安全协议书、监理规划、实施细则文件!',
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,7 @@ export default {
|
||||||
/** 查询承包商入场资质列表 */
|
/** 查询承包商入场资质列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.queryParams.proId = this.$store.state.user.thisIds.proId;
|
this.queryParams.proId = this.$store.state.user.thisIds.proId
|
||||||
this.queryParams.supUuid = this.$store.state.user.thisIds.supUuid
|
this.queryParams.supUuid = this.$store.state.user.thisIds.supUuid
|
||||||
this.queryParams.userType = this.$store.state.user.userType
|
this.queryParams.userType = this.$store.state.user.userType
|
||||||
getConsEntranceList(this.queryParams).then(response => {
|
getConsEntranceList(this.queryParams).then(response => {
|
||||||
|
|
|
||||||
|
|
@ -275,7 +275,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
<h2 style="color: #409eff; background: #e8e8e8; padding: 15px; border-radius: 10px">承包商配置</h2>
|
<h2 style="color: #409eff; background: #e8e8e8; padding: 15px; border-radius: 10px">承包商配置</h2>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form-item v-for="(domain, index) in formData.consArr" :label="'选择承包商' + index" :key="domain.key">
|
<el-form-item v-for="(domain, index) in formData.consArr" :label="`选择承包商${index + 1}`" :key="domain.key">
|
||||||
<el-col :span="7">
|
<el-col :span="7">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="domain.value"
|
v-model="domain.value"
|
||||||
|
|
|
||||||
|
|
@ -431,7 +431,7 @@ export default {
|
||||||
uuid: row.uuid,
|
uuid: row.uuid,
|
||||||
taskId: row.taskId,
|
taskId: row.taskId,
|
||||||
procInstId: row.procInsId,
|
procInstId: row.procInsId,
|
||||||
// contUuid: row.contUuid,
|
contUuid: row.contUuid,
|
||||||
id: row.id,
|
id: row.id,
|
||||||
proId: row.proId,
|
proId: row.proId,
|
||||||
uuid: row.uuid,
|
uuid: row.uuid,
|
||||||
|
|
@ -439,7 +439,7 @@ export default {
|
||||||
showType: 2,
|
showType: 2,
|
||||||
isExamine: true,
|
isExamine: true,
|
||||||
btnShow: true,
|
btnShow: true,
|
||||||
// finalCheck: row.finalCheck,
|
finalCheck: 0,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -398,7 +398,7 @@ export default {
|
||||||
//重置按钮
|
//重置按钮
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.resetForm('personQueryForm')
|
this.resetForm('queryForm')
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
//审核
|
//审核
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,14 @@
|
||||||
<el-tabs v-model="activeName" @tab-click="handleClick" :style="{ padding: '20px' }">
|
<el-tabs v-model="activeName" @tab-click="handleClick" :style="{ padding: '20px' }">
|
||||||
<el-tab-pane label="人员信息" name="first">
|
<el-tab-pane label="人员信息" name="first">
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-form ref="form" :model="form" size="medium" label-width="100px" :rules="rules">
|
<el-form
|
||||||
|
ref="form"
|
||||||
|
:model="form"
|
||||||
|
size="medium"
|
||||||
|
label-width="100px"
|
||||||
|
:rules="rules"
|
||||||
|
:disabled="paramsData.type == 'view'"
|
||||||
|
>
|
||||||
<el-row type="flex" justify="start" align="top" :gutter="gutterValue">
|
<el-row type="flex" justify="start" align="top" :gutter="gutterValue">
|
||||||
<el-col :span="11">
|
<el-col :span="11">
|
||||||
<el-form-item label-width="120px" label="姓名" prop="name">
|
<el-form-item label-width="120px" label="姓名" prop="name">
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<el-form-item label="监理人员" prop="name">
|
<el-form-item label="监理人员" prop="name">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.name"
|
v-model="queryParams.name"
|
||||||
placeholder="请输入施工人员姓名"
|
placeholder="请输入监理人员姓名"
|
||||||
v-no-whitespace
|
v-no-whitespace
|
||||||
maxlength="20"
|
maxlength="20"
|
||||||
show-word-limit
|
show-word-limit
|
||||||
|
|
@ -126,6 +126,14 @@
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
@click="handleDetails(scope.row)"
|
||||||
|
v-if="scope.row.intoStatus == 2 || scope.row.intoStatus == 3 || scope.row.intoStatus == 4"
|
||||||
|
>
|
||||||
|
查看
|
||||||
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
|
|
@ -1121,6 +1129,18 @@ export default {
|
||||||
this.$router.push('/project/supervisor-person-manage/addPersonnel/' + encryptCBC(JSON.stringify(params)))
|
this.$router.push('/project/supervisor-person-manage/addPersonnel/' + encryptCBC(JSON.stringify(params)))
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 查看
|
||||||
|
handleDetails(row) {
|
||||||
|
const params = {
|
||||||
|
id: row.id,
|
||||||
|
proId: row.proId,
|
||||||
|
uuid: row.uuid,
|
||||||
|
supUuid: row.supUuid,
|
||||||
|
type: 'view',
|
||||||
|
}
|
||||||
|
this.$router.push('/project/supervisor-person-manage/addPersonnel/' + encryptCBC(JSON.stringify(params)))
|
||||||
|
},
|
||||||
|
|
||||||
// 撤回
|
// 撤回
|
||||||
handleRetract(row) {
|
handleRetract(row) {
|
||||||
const taskId = row.taskId
|
const taskId = row.taskId
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue