zhouwx
3 天以前 048a1d039d347cf109e053961865f7b01d721643
src/views/safetyReview/expertManage/postEvaluation/components/evaluate.vue
@@ -463,14 +463,15 @@
})
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') : []
@@ -595,6 +596,7 @@
    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