|
|
|
@ -82,9 +82,9 @@
|
|
|
|
|
@selection="selectionChange" |
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<template v-if="slotProps.scope.column.label === '操作'"> |
|
|
|
|
<div class="ElBtnClass"> |
|
|
|
|
<el-button text @click="ClassificationDditing(slotProps.scope)">编辑</el-button> |
|
|
|
|
<template v-if="slotProps.scope.column.label == '操作'"> |
|
|
|
|
<div class="ElBtnClass" v-if="slotProps.scope.row.isEdit == '1'"> |
|
|
|
|
<el-button text @click="ClassificationDditing(slotProps.scope)">编辑</el-button> |
|
|
|
|
<el-button text type="primary" @click="CategoryDeletion(slotProps.scope)" |
|
|
|
|
>删除</el-button |
|
|
|
|
> |
|
|
|
@ -280,10 +280,11 @@ const examineDeptName = ref(''); //考核部门名字
|
|
|
|
|
|
|
|
|
|
/** 表格实例 */ |
|
|
|
|
const tableNode = ref(); |
|
|
|
|
const departmentName =ref('');//归属名称 |
|
|
|
|
const departmentNameTemp =ref('');//归属名称 |
|
|
|
|
const departmentName=ref('')//归属名称 |
|
|
|
|
const departmentNameID =ref('');//归属ID |
|
|
|
|
let my_DATA=JSON.parse(localStorage.getItem('my_data')) |
|
|
|
|
departmentName.value = my_DATA.departmentName//归属名称 |
|
|
|
|
departmentNameTemp.value = my_DATA.departmentName//归属名称 |
|
|
|
|
departmentNameID.value = my_DATA.department//归属名称ID |
|
|
|
|
console.log(departmentName.value,'归属名称'); |
|
|
|
|
console.log(departmentNameID.value,'归属名称ID'); |
|
|
|
@ -507,6 +508,7 @@ const ClassificationDditing = val => {
|
|
|
|
|
lassificationform.value.name = data.name; //分类名称 |
|
|
|
|
lassificationform.value.description = data.description; //分类描述 |
|
|
|
|
lassificationform.value.examineDeptId = data.examineDeptId; //审核部门ID |
|
|
|
|
departmentName.value = data.createDeptName; //归属部门 |
|
|
|
|
// 积分管理回显 |
|
|
|
|
data.pointsEntities.forEach(res => { |
|
|
|
|
PointsList.value.push({ integral: res.point }); |
|
|
|
|