|
@@ -107,7 +107,7 @@ const addSkill = () => {
|
|
|
};
|
|
|
const employeeSkill = ref({});
|
|
|
const onHandle = () => {
|
|
|
- console.info(form.value);
|
|
|
+ console.info("dddd", data);
|
|
|
if (
|
|
|
form.value.userId === null ||
|
|
|
form.value.userId === undefined ||
|
|
@@ -230,7 +230,7 @@ option2.value = {
|
|
|
ctableRef.value.startSelect();
|
|
|
},
|
|
|
},
|
|
|
- /* {
|
|
|
+ /* {
|
|
|
label: "所属机构",
|
|
|
prop: "institution",
|
|
|
width: 130,
|
|
@@ -315,6 +315,22 @@ option.value = Object.assign(option.value, {
|
|
|
label: "skillDictLabel", // 下拉菜单显示的字段
|
|
|
value: "skillDictValue", // 下拉菜单值的字段
|
|
|
},
|
|
|
+ change: (row) => {
|
|
|
+ console.log(row);
|
|
|
+ data.value.forEach((item, index) => {
|
|
|
+ console.log("aaa", index);
|
|
|
+ console.log("bbbb", item);
|
|
|
+ if (item.skillDictValue == row.value && index != row.index) {
|
|
|
+ row.row.skillDictValue = "";
|
|
|
+ row.value = "";
|
|
|
+ console.log("ccc", row);
|
|
|
+ ElMessage({
|
|
|
+ message: item.$skillDictValue + " 打分项重复",
|
|
|
+ type: "error",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
label: "分数",
|