+
- {{ option.label }}
+ {{ option.proName }}
{{ option.voltage }}
- {{ option.startDate }} 至{{ option.endDate }}
+ {{ option.startTime }} 至{{ option.endTime }}
@@ -500,7 +605,13 @@ import UploadImg from '@/components/UploadImg'
import DialogModel from '@/components/DialogModel/index'
import moment from 'moment'
import { getKeyPersonListAPI } from '@/api/common'
-import { getCompanyPerformanceListAPI } from '@/api/company-manage/performance-manage'
+import { getOtherPersonListAPI } from '@/api/company-manage/other-person'
+import {
+ getCompanyPerformanceListAPI,
+ getCompanyPerformanceListByPersonIdAPI,
+} from '@/api/company-manage/performance-manage'
+import { getSubManageListAPI } from '@/api/sub-manage/sub-manage'
+import { getSubPerformanceManageListAPI } from '@/api/sub-manage/sub-performance-manage'
export default {
components: {
UploadImg,
@@ -549,8 +660,6 @@ export default {
waitSelectData: [], // 待选列表
selectData: [], // 已选列表
- companyOtherPersonList: [], // 公司其他人员列表
- subcontractorList: [], // 分包商列表
companyPerformanceInnerList: [
{
key: 10,
@@ -620,79 +729,9 @@ export default {
keyTableCurrentIndex: 0,
otherTableCurrentIndex: 0,
- selectedPerson: null,
- selectSubcontractorData: [], // 分包商已选列表
- waitSubcontractorSelectData: [
- {
- key: 1,
- label: '川东电力集团有限公司',
- disabled: false,
- voltage: '110kv',
- startDate: '2020-01-01',
- endDate: '2020-01-01',
- companyPerformanceList: [],
- },
- {
- key: 2,
- label: '川西电力集团有限公司',
- disabled: false,
- voltage: '110kv',
- startDate: '2020-01-01',
- endDate: '2020-01-01',
- companyPerformanceList: [],
- },
- {
- key: 3,
- label: '川南电力集团有限公司',
- disabled: false,
- voltage: '110kv',
- startDate: '2020-01-01',
- endDate: '2020-01-01',
- companyPerformanceList: [],
- },
- ], // 分包商待选列表
// subcontractorList: [], // 分包商外层显示列表
- selectSubcontractorPerformanceData: [], // 分包商业绩已选列表 ---- 内层穿梭框选择后只有ID数据源
- waitSubcontractorPerformanceData: [
- {
- key: 10,
- label: '安徽送变电工程',
- disabled: false,
- voltage: '110kv',
- startDate: '2020-01-01',
- endDate: '2020-01-01',
- performance: '新疆工程取得完美收官',
- },
- {
- key: 11,
- label: '湖南送变电工程',
- disabled: false,
- voltage: '110kv',
- startDate: '2020-01-01',
- endDate: '2020-01-01',
- performance: '湖南(xx工程)工程取得完美收官',
- },
- {
- key: 12,
- label: '南网送变电工程',
- disabled: false,
- voltage: '110kv',
- startDate: '2020-01-01',
- endDate: '2020-01-01',
- performance: '日本(xx工程)工程取得完美收官',
- },
- {
- key: 13,
- label: '宁夏送变电工程',
- disabled: false,
- voltage: '110kv',
- startDate: '2020-01-01',
- endDate: '2020-01-01',
- performance: '校花工程取得完美收官',
- },
- ], // ---- 内层穿梭框显示的
subcontractorPerformanceInnerList: [], // 分包商业绩列表
subcontractorPersonInnerList: [], // 分包商人员列表
subcontractorPerformanceCurrentIndex: 0, // 分包商业绩当前操作的index
@@ -710,6 +749,7 @@ export default {
pageNum: 1,
pageSize: 10000,
timeValue: [],
+ personId: '',
},
/**
@@ -718,15 +758,43 @@ export default {
companyKeyPersonList: [], // 公司关键人员列表
keyTableCurrentIndex: 0, // 公司关键人员当前操作行的索引
keyPersonList: [], // 关键人员列表
- // 人员业绩待选列表查询条件
- keyPersonQueryParams: {
- age: '3',
- proName: '',
- voltage: '',
+
+ /**
+ * 公司其他人员需要的数据源
+ */
+ companyOtherPersonList: [], // 公司其他人员列表
+ otherTableCurrentIndex: 0, // 公司其他人员当前操作行的索引
+ // 其他人员列表查询条件
+ otherPersonQueryParams: {
+ userName: '',
+ pageNum: 1,
+ pageSize: 10,
+ },
+ otherPersonList: [], // 其他人员列表
+ otherPersonTotal: 0, // 其他人员列表总条数
+ selectedOtherPerson: null, // 其他人员列表选中项
+
+ /**
+ * 分包商模块需要的数据源
+ */
+ subcontractorList: [], // 分包商列表
+ selectSubcontractorData: [], // 穿梭框内分包商已选列表
+ waitSubcontractorSelectData: [], // 穿梭框内分包商待选列表
+ subcontractorPerformanceCurrentIndex: 0, // 分包商业绩当前操作的index
+ // 分包商业绩查询条件
+ personPerformanceForm: {
+ proName: '', //项目名称
+ startTime: '',
+ endTime: '',
pageNum: 1,
pageSize: 10000,
timeValue: [],
+ personId: '',
+ age: '3',
},
+ selectSubcontractorPerformanceData: [], // 分包商业绩已选列表 ---- 内层穿梭框选择后只有ID数据源
+ waitSubcontractorPerformanceData: [], // 分包商业绩待选列表 ---- 内层穿梭框显示的
+ subcontractorPersonCurrentIndex: 0, // 分包商人员当前操作的index
}
},
methods: {
@@ -741,26 +809,17 @@ export default {
})
},
- // 添加公司其他人员
- addCompanyOtherPerson() {
- console.log('添加公司其他人员')
- this.companyOtherPersonList.push({
- name: '',
- title: '',
- idCard: '',
- })
- },
- // 添加分包商
- addSubcontractor() {
- console.log('添加分包商')
- this.dialogConfig.outerTitle = '分包商选择'
- this.dialogConfig.outerVisible = true
- },
// 查询
searchPersonPerformance() {
// console.log('查询')
if (this.dialogConfig.outerTitle === '公司业绩选择') {
this.getCompanyPerformanceData()
+ } else {
+ if (this.companyPerformanceQueryParams.personId) {
+ this.getCompanyPerformanceListByPersonIdData()
+ } else {
+ this.$modal.msgError('请选择人员')
+ }
}
},
// 关闭弹窗
@@ -777,109 +836,66 @@ export default {
if (this.dialogConfig.outerTitle === '公司业绩选择') {
this.companyPerformanceList = this.waitSelectData.filter((item) => this.selectData.includes(item.id))
}
- // if (this.dialogConfig.outerTitle === '其他人员选择') {
- // if (!this.selectedPerson) {
- // this.$modal.msgError('请选择人员')
- // return false
- // } else {
- // this.companyOtherPersonList[this.otherTableCurrentIndex].name = this.selectedPerson.label
- // this.companyOtherPersonList[this.otherTableCurrentIndex].idCard = this.selectedPerson.idCard
- // }
- // } else if (this.dialogConfig.outerTitle === '分包商选择') {
- // if (this.selectSubcontractorData.length < 1) {
- // this.$modal.msgError('右侧已选列表为空,请操作后再确认')
- // return false
- // } else {
- // this.subcontractorList = this.waitSubcontractorSelectData.filter((item) =>
- // this.selectSubcontractorData.includes(item.key),
- // )
- // }
- // } else if (this.dialogConfig.outerTitle === '分包商业绩选择') {
- // if (this.selectSubcontractorPerformanceData.length < 1) {
- // this.$modal.msgError('右侧已选列表为空,请操作后再确认')
- // return false
- // } else {
- // this.subcontractorPerformanceList = this.waitSubcontractorPerformanceData.filter((item) =>
- // this.selectSubcontractorPerformanceData.includes(item.key),
- // )
- // this.subcontractorList[this.subcontractorPerformanceCurrentIndex].companyPerformanceList =
- // this.subcontractorPerformanceList
- // }
- // } else {
- // if (this.selectData.length < 1) {
- // this.$modal.msgError('右侧已选列表为空,请操作后再确认')
- // return false
- // }
- // if (this.dialogConfig.outerTitle === '公司业绩选择') {
- // this.companyPerformanceList = this.waitSelectData.filter((item) =>
- // this.selectData.includes(item.key),
- // )
- // } else if (this.dialogConfig.outerTitle === '拟派人员选择') {
- // this.keyPersonPerformanceInnerSelectList = this.waitSelectData.filter((item) =>
- // this.selectData.includes(item.key),
- // )
+ if (this.dialogConfig.outerTitle === '关键人员选择') {
+ if (this.companyPerformanceQueryParams.personId) {
+ const keyPersonPerformanceInnerSelectList = this.waitSelectData.filter((item) =>
+ this.selectData.includes(item.id),
+ )
+ this.companyKeyPersonList[this.keyTableCurrentIndex].proPerf = keyPersonPerformanceInnerSelectList
+ .map((item) => item.proName)
+ .join(',')
+ } else {
+ this.$modal.msgError('请选择人员')
+ return false
+ }
+ }
- // this.companyKeyPersonList[this.keyTableCurrentIndex].performance =
- // this.keyPersonPerformanceInnerSelectList.map((item) => item.performance).join(',')
- // }
- // }
+ if (this.dialogConfig.outerTitle === '其他人员选择') {
+ if (!this.selectedOtherPerson) {
+ this.$modal.msgError('请选择其他人员')
+ return false
+ } else {
+ // 选取需要的数据
+ const { id, userName, title, diploma, diplomaNum, major, level } = this.selectedOtherPerson
+ Object.assign(this.companyOtherPersonList[this.otherTableCurrentIndex], {
+ id,
+ userName,
+ title,
+ diploma,
+ diplomaNum,
+ major,
+ level,
+ })
+ }
+ }
+
+ if (this.dialogConfig.outerTitle === '分包商选择') {
+ this.subcontractorList = this.waitSubcontractorSelectData.filter((item) =>
+ this.selectSubcontractorData.includes(item.id),
+ )
+ }
+
+ if (this.dialogConfig.outerTitle === '分包商业绩选择') {
+ const subcontractorPerformanceInnerList = this.waitSubcontractorPerformanceData.filter((item) =>
+ this.selectSubcontractorPerformanceData.includes(item.id),
+ )
+
+ this.$set(
+ this.subcontractorList[this.subcontractorPerformanceCurrentIndex],
+ 'companyPerformanceList',
+ subcontractorPerformanceInnerList,
+ )
+ this.subcontractorList[this.subcontractorPerformanceCurrentIndex].companyPerformanceList =
+ subcontractorPerformanceInnerList
+ }
- this.personSelectValue = ''
this.dialogConfig.outerVisible = false
},
- // 删除公司业绩
- deleteCompanyPerformance(index) {
- this.companyPerformanceList.splice(index, 1)
- },
- // 删除公司关键人员
- deleteCompanyKeyPerson(index) {
- this.companyKeyPersonList.splice(index, 1)
- },
- onChangePerson(value) {
- const rowInfo = this.personList.find((item) => item.value === value)
- const { label, idCard, title } = rowInfo
- this.companyKeyPersonList[this.keyTableCurrentIndex].name = label
- this.companyKeyPersonList[this.keyTableCurrentIndex].idCard = idCard
- this.companyKeyPersonList[this.keyTableCurrentIndex].title = title
- },
-
- // 选择公司其他人员
- selectCompanyOtherPerson(index) {
- this.otherTableCurrentIndex = index
- this.dialogConfig.outerTitle = '其他人员选择'
- this.dialogConfig.outerVisible = true
- },
- // 选择其他人员
- onSelectionChange(selection) {
- console.log(selection)
-
- if (selection.length > 1) {
- const lastSelected = selection[selection.length - 1]
- this.$refs.singleTable.clearSelection() // 清空所有选中
- this.$refs.singleTable.toggleRowSelection(lastSelected, true) // 重新选中最后一个
- }
- this.selectedPerson = selection[0] || null // 存储当前选中项
- },
getOtherPersonList() {
console.log('查询')
},
- deleteCompanyOtherPerson(index) {
- this.companyOtherPersonList.splice(index, 1)
- },
- deleteSubcontractor(index) {
- this.subcontractorList.splice(index, 1)
- },
- addSubcontractorPerformance(index) {
- this.subcontractorPerformanceCurrentIndex = index
- this.dialogConfig.outerTitle = '分包商业绩选择'
- this.dialogConfig.outerVisible = true
- console.log('添加分包商业绩')
- },
- deleteSubcontractorPerformance(index, performanceIndex) {
- this.subcontractorList[index].companyPerformanceList.splice(performanceIndex, 1)
- },
/**
* 公司业绩模块
@@ -888,17 +904,11 @@ export default {
// 添加公司业绩
async addCompanyPerformance() {
this.dialogConfig.outerTitle = '公司业绩选择'
-
+ this.initQueryForm()
this.getCompanyPerformanceData()
// 获取已选择过的数据 赋值给穿梭框 作回显
- if (this.companyPerformanceList.length > 0) {
- this.selectData = this.companyPerformanceList.map((item) => item.id)
- } else {
- this.selectData = []
- }
- this.dialogConfig.outerVisible = true
},
- // 获取公司业绩数据
+ // 获取公司业绩
async getCompanyPerformanceData() {
const { age, proName, voltage, pageNum, pageSize, timeValue } = this.companyPerformanceQueryParams
@@ -930,6 +940,17 @@ export default {
...item,
disabled: false,
}))
+
+ if (this.companyPerformanceList.length > 0) {
+ this.selectData = this.companyPerformanceList.map((item) => item.id)
+ } else {
+ this.selectData = []
+ }
+ this.dialogConfig.outerVisible = true
+ },
+ // 删除公司业绩
+ deleteCompanyPerformance(index) {
+ this.companyPerformanceList.splice(index, 1)
},
/**
* 添加公司关键人员
@@ -938,37 +959,213 @@ export default {
// 添加公司关键人员
addCompanyKeyPerson() {
this.companyKeyPersonList.push({
- name: '',
- title: '',
- idCard: '',
- performance: '',
- duty: '',
- planEnterTime: '',
- planLeaveTime: '',
+ id: '', // 人员id
+ userName: '', // 人员名称
+ title: '', // 人员职称
+ diploma: '', // 执业资格证书
+ idCard: '', // 身份证号
+ postName: '', // 本施工队伍中的职责分工
+ proPerf: '', // 人员业绩
+ einDate: '', // 计划入场事件
+ exitDate: '', // 计划退场事件
})
},
// 选择公司关键人员
selectCompanyKeyPerson(index) {
+ this.getKeyPersonList()
+ this.initQueryForm()
this.keyTableCurrentIndex = index
this.dialogConfig.outerTitle = '关键人员选择'
- // this.waitSelectData = this.keyPersonPerformanceInnerList
- // if (this.keyPersonPerformanceInnerSelectList.length > 0) {
- // this.selectData = this.keyPersonPerformanceInnerSelectList.map((item) => item.key)
- // }
- // this.keyPersonPerformanceInnerSelectList = []
- // this.selectData = []
+ this.waitSelectData = []
+ this.selectData = []
this.dialogConfig.outerVisible = true
},
+
+ // 删除公司关键人员
+ deleteCompanyKeyPerson(index) {
+ this.companyKeyPersonList.splice(index, 1)
+ },
// 获取关键人员列表
async getKeyPersonList() {
const { rows: res } = await getKeyPersonListAPI()
this.keyPersonList = res
},
- // 根据人员信息获取公司业绩数据
- async getCompanyPerformanceData() {
- const { age, proName, voltage, pageNum, pageSize, timeValue } = this.companyPerformanceQueryParams
+ // 获取人员业绩数据
+ async getCompanyPerformanceListByPersonIdData() {
+ const { age, proName, voltage, pageNum, pageSize, timeValue, personId } = this.companyPerformanceQueryParams
+ const queryParams = {
+ proName,
+ voltage,
+ pageNum,
+ pageSize,
+ startTime: '',
+ endTime: '',
+ personId,
+ }
+
+ if (age == 3) {
+ queryParams.startTime = moment().subtract(3, 'years').format('YYYY-MM-DD')
+ queryParams.endTime = moment().format('YYYY-MM-DD')
+ }
+ if (age == 5) {
+ queryParams.startTime = moment().subtract(5, 'years').format('YYYY-MM-DD')
+ queryParams.endTime = moment().format('YYYY-MM-DD')
+ }
+
+ if (timeValue && timeValue.length > 0) {
+ queryParams.startTime = timeValue[0]
+ queryParams.endTime = timeValue[1]
+ }
+ const res = await getCompanyPerformanceListByPersonIdAPI(queryParams)
+ if (res && res.length > 0) {
+ this.waitSelectData = res.map((item) => ({
+ ...item,
+ disabled: false,
+ }))
+ } else {
+ this.waitSelectData = []
+ }
+ },
+
+ // 人员下拉选的change事件
+ onChangePerson(value) {
+ if (this.companyKeyPersonList.length > 0 && this.companyKeyPersonList.some((item) => item.id == value)) {
+ this.$modal.msgError('当前人员已选择,不可重复添加')
+ return false
+ } else {
+ const rowInfo = this.keyPersonList.find((item) => item.id == value)
+ const index = this.keyTableCurrentIndex
+ this.companyKeyPersonList[index].id = rowInfo.id
+ this.companyKeyPersonList[index].title = rowInfo.title
+ this.companyKeyPersonList[index].userName = rowInfo.userName
+ this.companyKeyPersonList[index].diploma = rowInfo.diploma
+ this.companyKeyPersonList[index].idCard = rowInfo.idCard
+ }
+ },
+
+ // 计划入场时间change事件
+ onChangeEinDate(index, value) {
+ // 使用moment.js 判断入场时间不能大于退场时间 否则提示错误
+ if (moment(value).isAfter(moment(this.companyKeyPersonList[index].exitDate))) {
+ this.$modal.msgError('计划入场时间不能大于计划退场时间')
+ this.companyKeyPersonList[index].einDate = ''
+ return false
+ }
+ },
+ // 计划退场时间change事件
+ onChangeExitDate(index, value) {
+ // 使用moment.js 判断退场时间不能小于入场时间 否则提示错误
+ if (moment(value).isBefore(moment(this.companyKeyPersonList[index].einDate))) {
+ this.$modal.msgError('计划退场时间不能小于计划入场时间')
+ this.companyKeyPersonList[index].exitDate = ''
+ return false
+ }
+ },
+ // 初始化查询表单
+ initQueryForm() {
+ this.companyPerformanceQueryParams = {
+ age: '3',
+ proName: '',
+ voltage: '',
+ pageNum: 1,
+ pageSize: 10000,
+ timeValue: [],
+ personId: '',
+ }
+ },
+
+ /**
+ * 添加公司其他人员
+ */
+
+ // 添加公司其他人员
+ addCompanyOtherPerson() {
+ this.companyOtherPersonList.push({
+ id: '', // 人员id
+ userName: '', // 人员名称
+ postName: '', // 本次标书中的职务职责分工
+ title: '', // 职称
+ diploma: '', // 证书名称
+ diplomaNum: '', // 证书编号
+ major: '', // 专业
+ level: '', // 级别
+ })
+ },
+ // 选择公司其他人员
+ selectCompanyOtherPerson(index) {
+ this.otherTableCurrentIndex = index
+ this.dialogConfig.outerTitle = '其他人员选择'
+ this.otherPersonQueryParams.pageNum = 1
+ this.otherPersonQueryParams.pageSize = 10
+ this.otherPersonQueryParams.userName = ''
+ this.searchOtherPerson()
+ this.dialogConfig.outerVisible = true
+ },
+ // 查询其他人员
+ async searchOtherPerson() {
+ const res = await getOtherPersonListAPI(this.otherPersonQueryParams)
+ this.otherPersonList = res.rows
+ this.otherPersonTotal = res.total
+
+ // 根据已选的人员 将已选人员的数据增加一个标识 让表格复选框禁用
+ if (this.companyOtherPersonList.length > 0) {
+ this.otherPersonList.forEach((item) => {
+ if (this.companyOtherPersonList.some((otherItem) => otherItem.id == item.id)) {
+ item.disabled = true
+ } else {
+ item.disabled = false
+ }
+ })
+ }
+ },
+ // 其他人员列表复选框
+ onSelectionChange(selection) {
+ if (selection.length > 1) {
+ const lastSelected = selection[selection.length - 1]
+ this.$refs.singleTable.clearSelection() // 清空所有选中
+ this.$refs.singleTable.toggleRowSelection(lastSelected, true) // 重新选中最后一个
+ }
+ this.selectedOtherPerson = selection[0] || null // 存储当前选中项
+ },
+ // 删除公司其他人员
+ deleteCompanyOtherPerson(index) {
+ this.companyOtherPersonList.splice(index, 1)
+ },
+
+ /**
+ * 添加分包商模块
+ */
+
+ // 添加分包商
+ addSubcontractor() {
+ console.log('添加分包商')
+ this.dialogConfig.outerTitle = '分包商选择'
+ this.getSubcontractorList()
+ this.dialogConfig.outerVisible = true
+ },
+
+ // 获取分包商列表
+ async getSubcontractorList() {
+ const res = await getSubManageListAPI({ pageNum: 1, pageSize: 10000 })
+ this.waitSubcontractorSelectData = res.rows
+ },
+
+ // 添加分包商业绩
+ addSubcontractorPerformance(index) {
+ this.subcontractorPerformanceCurrentIndex = index
+ this.dialogConfig.outerTitle = '分包商业绩选择'
+ this.getSubcontractorPerformanceData()
+ this.dialogConfig.outerVisible = true
+ },
+ // 删除分包商
+ deleteSubcontractor(index) {
+ this.subcontractorList.splice(index, 1)
+ },
+ // 获取分包商业绩数据
+ async getSubcontractorPerformanceData() {
+ const { age, proName, voltage, pageNum, pageSize, timeValue } = this.personPerformanceForm
const queryParams = {
proName,
voltage,
@@ -991,12 +1188,67 @@ export default {
queryParams.startTime = timeValue[0]
queryParams.endTime = timeValue[1]
}
- const res = await getCompanyPerformanceListAPI(queryParams)
+ const res = await getSubPerformanceManageListAPI(queryParams)
- this.waitSelectData = res.rows.map((item) => ({
- ...item,
- disabled: false,
- }))
+ if (res.rows.length > 0) {
+ this.waitSubcontractorPerformanceData = res.rows.map((item) => ({
+ ...item,
+ disabled: false,
+ }))
+ } else {
+ this.waitSubcontractorPerformanceData = []
+ }
+ },
+ // 初始化分包商业绩查询条件
+ initSubcontractorPerformanceQueryParams() {
+ this.personPerformanceForm = {
+ age: '3',
+ }
+ },
+ // 查询分包商业绩
+ async searchSubcontractorPerformanceData() {
+ if (this.dialogConfig.outerTitle === '分包商业绩选择') {
+ this.getSubcontractorPerformanceData()
+ }
+ },
+
+ // 删除分包商业绩
+ deleteSubcontractorPerformance(index, performanceIndex, id) {
+ this.subcontractorList[index].companyPerformanceList.splice(performanceIndex, 1)
+
+ this.selectSubcontractorPerformanceData = this.selectSubcontractorPerformanceData.filter(
+ (item) => item != id,
+ )
+
+ console.log(this.selectSubcontractorPerformanceData, id)
+ },
+
+ // 添加分包商人员
+ addSubcontractorPerson(index) {
+ if (!this.subcontractorList[index].subcontractorPersonList) {
+ this.$set(this.subcontractorList[index], 'subcontractorPersonList', [])
+ }
+
+ this.subcontractorList[index].subcontractorPersonList.push({
+ id: '',
+ userName: '',
+ title: '',
+ diploma: '',
+ idCard: '',
+ postName: '',
+ proPerf: '',
+ })
+ },
+
+ // 选择分包商人员
+ selectSubcontractorPerson(index, personIndex) {
+ this.dialogConfig.outerTitle = '分包人员选择'
+ this.dialogConfig.outerVisible = true
+ this.subcontractorPersonCurrentIndex = index
+ },
+ // 删除分包商人员
+ deleteSubcontractorPerson(index, personIndex) {
+ this.subcontractorList[index].subcontractorPersonList.splice(personIndex, 1)
},
},
}
@@ -1082,4 +1334,12 @@ export default {
::v-deep .el-button + .el-button {
margin: 0;
}
+
+::v-deep .el-table .el-table__header-wrapper th .el-checkbox {
+ display: none;
+}
+
+::v-deep .el-table .el-table__header-wrapper th .el-checkbox {
+ display: none;
+}
diff --git a/src/views/sub-manage/sub-performance-manage/index.vue b/src/views/sub-manage/sub-performance-manage/index.vue
index f95d51b..cb89354 100644
--- a/src/views/sub-manage/sub-performance-manage/index.vue
+++ b/src/views/sub-manage/sub-performance-manage/index.vue
@@ -142,6 +142,7 @@ export default {
tableList: [],
tableColumn: [
{ label: '项目名称(按合同)', prop: 'proName' },
+ { label: '电压等级', prop: 'voltage' },
{ label: '建设单位', prop: 'consUnit' },
{ label: '分包合同额(万元)', prop: 'money' },
{ label: '开竣工日期', isSlot: true },
diff --git a/vue.config.js b/vue.config.js
index f7ba35c..1ff047d 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,7 +36,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://192.168.0.60:58080`, // 赵福海
+ // target: `http://192.168.0.60:58080`, // 赵福海
+ target: `http://192.168.0.137:58080`, // 方亮
// target: `http://192.168.0.38:58080`,
changeOrigin: true,
pathRewrite: {