|
@@ -63,10 +63,8 @@
|
|
|
<script setup>
|
|
|
import { ref, getCurrentInstance } from "vue";
|
|
|
import { useCrud } from "@/hooks/userCrud";
|
|
|
-import ButtonPermKeys from "@/common/configs/buttonPermission";
|
|
|
import { useCommonStoreHook, useDictionaryStore } from "@/store";
|
|
|
import dictDataUtil from "@/common/configs/dictDataUtil";
|
|
|
-import SingleUpload from "@/components/Upload/SingleUpload.vue";
|
|
|
const { isShowTable, tableType } = toRefs(useCommonStoreHook());
|
|
|
import {getPostSkill,addEmployeeSkill} from "@/api/system/skill";
|
|
|
// 数据字典相关
|
|
@@ -194,10 +192,8 @@ option2.value = {
|
|
|
|
|
|
{ label: "用户id", prop: "userId", width: 130,overHidden: true,search: true ,
|
|
|
filterable: true,
|
|
|
- width: 100,overHidden: true,
|
|
|
disabled:true,
|
|
|
display:false,
|
|
|
-
|
|
|
},
|
|
|
{ label: "用户名", prop: "userName", width: 140,overHidden: true,search: true ,rules: [{
|
|
|
required: true,
|
|
@@ -208,11 +204,9 @@ option2.value = {
|
|
|
click: ({ value, column }) => {
|
|
|
ctableRef.value.startSelect();
|
|
|
},},
|
|
|
- { label: "所属机构", prop: "institution", width: 130,overHidden: true,search: true ,
|
|
|
+ { label: "所属机构", prop: "deptName", width: 130,overHidden: true,search: true ,
|
|
|
filterable: true,
|
|
|
- width: 100,overHidden: true,
|
|
|
disabled:true,
|
|
|
-
|
|
|
},
|
|
|
{
|
|
|
label: "员工编号",
|
|
@@ -237,9 +231,8 @@ option2.value = {
|
|
|
props: { label: "postName", value: "id" },
|
|
|
|
|
|
},
|
|
|
- { label: "部门", prop: "deptName", overHidden: true,
|
|
|
- disabled:true, },
|
|
|
-
|
|
|
+ /* { label: "部门", prop: "deptName", overHidden: true,
|
|
|
+ disabled:true, },*/
|
|
|
],
|
|
|
};
|
|
|
|
|
@@ -258,7 +251,6 @@ option.value = Object.assign(option.value,{
|
|
|
viewBtn: false,
|
|
|
editBtn:false,
|
|
|
saveBtn:false,
|
|
|
-
|
|
|
cellBtn: true,
|
|
|
column: [{
|
|
|
label: "技能",
|
|
@@ -285,12 +277,10 @@ option.value = Object.assign(option.value,{
|
|
|
});
|
|
|
const onSelectedFinish=(selectedValue)=>{
|
|
|
form.value.userId=selectedValue.id;
|
|
|
-
|
|
|
form.value.userName=selectedValue.userName;
|
|
|
form.value.deptName=selectedValue.deptName;
|
|
|
form.value.employeeCode=selectedValue.employeeCode;
|
|
|
form.value.institution=selectedValue.institution;
|
|
|
-
|
|
|
}
|
|
|
const skillValue=ref(null);
|
|
|
const optionSkill=ref([]);
|