| | |
| | | <el-table-column align="center" property="dutyDepartmentId" label="责任部门" width="180" /> |
| | | <el-table-column align="center" property="value" label="考核指标" width="180" /> |
| | | <el-table-column align="center" property="makerDepartmentId" label="制定人部门" /> |
| | | <el-table-column align="center" property="makeDate" label="制定日期" :formatter="timeDate"/> |
| | | <el-table-column align="center" property="makeDate" label="制定日期" /> |
| | | <el-table-column align="center" property="commitPersonName" label="上报人" /> |
| | | <el-table-column align="center" property="操作"> |
| | | <template #default="scope"> |
| | |
| | | import DailogSearch from '../../../../components/DailogSearch/DailogSearch.vue'; |
| | | import { goalManagementApi } from '/@/api/goalManagement'; |
| | | import { emit } from 'process'; |
| | | import {deepClone} from '/@/utils/other' |
| | | export default defineComponent({ |
| | | components: { DailogAdd, DailogSearch}, |
| | | setup(props,{emit}) { |
| | |
| | | delTargetDivideDetails: '', //要删除的目标指标分解ID,多个用逗号隔开 |
| | | targetDivideDetailList: [], //目标指标分解列表 |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | const add = (val: any) => { |
| | | const item = deepClone(val) |
| | | if(index.value==-1){ |
| | | formUp.targetDivideDetailList.push(val); |
| | | formUp.targetDivideDetailList.push(item); |
| | | }else{ |
| | | formUp.targetDivideDetailList[index.value] = val; |
| | | formUp.targetDivideDetailList[index.value] = item; |
| | | } |
| | | |
| | | // let obj=JSON.parse(JSON.stringify(form.value)) |