|
@@ -7,7 +7,7 @@
|
|
<template #name="{ row }">
|
|
<template #name="{ row }">
|
|
<el-link type="primary" @click="rowNameClick(row)">{{ row.name }}</el-link>
|
|
<el-link type="primary" @click="rowNameClick(row)">{{ row.name }}</el-link>
|
|
</template>
|
|
</template>
|
|
-
|
|
|
|
|
|
+
|
|
<template #action="{ row }">
|
|
<template #action="{ row }">
|
|
<el-link v-if="isAdminAuth" type="warning" @click="completion(row)">项目完成情况</el-link>
|
|
<el-link v-if="isAdminAuth" type="warning" @click="completion(row)">项目完成情况</el-link>
|
|
<el-link type="primary" @click="examine(row)">查看</el-link>
|
|
<el-link type="primary" @click="examine(row)">查看</el-link>
|
|
@@ -88,7 +88,7 @@
|
|
<el-table-column prop="yearlyTarget" label="全年目标" width="100" align="center" />
|
|
<el-table-column prop="yearlyTarget" label="全年目标" width="100" align="center" />
|
|
<el-table-column prop="workPlan" label="工作计划" width="100" align="center" />
|
|
<el-table-column prop="workPlan" label="工作计划" width="100" align="center" />
|
|
<el-table-column prop="workProgressAll" label="累计进展计划" align="center" />
|
|
<el-table-column prop="workProgressAll" label="累计进展计划" align="center" />
|
|
-
|
|
|
|
|
|
+
|
|
<el-table-column prop="workProgress" label="工作计划进展计划" align="center" />
|
|
<el-table-column prop="workProgress" label="工作计划进展计划" align="center" />
|
|
<el-table-column prop="planRatio" label="形象进度百分比(%)" width="100" align="center" />
|
|
<el-table-column prop="planRatio" label="形象进度百分比(%)" width="100" align="center" />
|
|
</el-table>
|
|
</el-table>
|
|
@@ -409,7 +409,7 @@ const yearKey = ref('2023')
|
|
const yearData = ref({})
|
|
const yearData = ref({})
|
|
const yearIndex = ref(-1)
|
|
const yearIndex = ref(-1)
|
|
const yearChange = (_, index) => {
|
|
const yearChange = (_, index) => {
|
|
-
|
|
|
|
|
|
+
|
|
yearIndex.value = index
|
|
yearIndex.value = index
|
|
}
|
|
}
|
|
|
|
|
|
@@ -429,14 +429,14 @@ const saveCompleLoading = ref(false)
|
|
const saveComplete = async ()=>{
|
|
const saveComplete = async ()=>{
|
|
saveCompleLoading.value = true
|
|
saveCompleLoading.value = true
|
|
//发起请求
|
|
//发起请求
|
|
- const { error, code, msg } = await mainApi.updateProFin({
|
|
|
|
- ...yearData.value,
|
|
|
|
|
|
+ const { error, code, msg } = await mainApi.updateProFin({
|
|
|
|
+ ...yearData.value,
|
|
})
|
|
})
|
|
//判断状态
|
|
//判断状态
|
|
saveCompleLoading.value = false
|
|
saveCompleLoading.value = false
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
window?.$message?.success(msg)
|
|
window?.$message?.success(msg)
|
|
-
|
|
|
|
|
|
+ getDetailData(rowDetail.value.id)
|
|
} else {
|
|
} else {
|
|
window.$message.error(msg ?? '操作失败')
|
|
window.$message.error(msg ?? '操作失败')
|
|
}
|
|
}
|
|
@@ -550,7 +550,7 @@ const changePlanRatio = (val, row, index)=>{
|
|
row.planRatio = ''
|
|
row.planRatio = ''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
defineExpose({
|
|
defineExpose({
|
|
batchRemove,
|
|
batchRemove,
|