| | |
| | | }) |
| | | |
| | | const openDialog = async (type, value, projectName, projectCheckTime) => { |
| | | state.info = value |
| | | state.info = JSON.parse(JSON.stringify(value)) |
| | | state.form.projectExpertId = value.id |
| | | state.info.projectName = projectName |
| | | state.info.teamLeader = state.info.teamLeader == 1 ? '是' : '否' |
| | | state.info.expertType= value.expertType |
| | | if (type === 'view') { |
| | | state.title = '查看' |
| | | state.disable = true |
| | | const res = await getExpertEvaDetail({projectExpertId: value.id}); |
| | | const res = await getExpertEvaDetail({projectExpertId: value.id,expertType: value.expertType}); |
| | | if (res.code == 200) { |
| | | state.form = res.data |
| | | state.addData = res.data.expertDetails ? res.data.expertDetails.filter(i => i.scoreType == '1') : [] |
| | |
| | | state.form.saveData = [...state.addData, ...state.deductData] |
| | | state.form.delData = state.form.delData.filter((id) => !state.form.saveData.some((item) => item.id === id)) |
| | | state.form.score = totalScore.value || 0 |
| | | state.form.expertType = state.info.expertType |
| | | // state.form.taxableIncome = taxIncome.value || 0 |
| | | // state.form.incomeTaxPayable = taxPay.value || 0 |
| | | // state.form.afterTaxAmount = afterTaxIncome.value || 0 |