-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选择
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
- 重置
-
-
-
-
-
+
+ });
+
+ },
+
+ closeMoule(e) {
+
+
+
+ this.type_employees = e;
+ this.dialogVisible = false;
+ var arrTemp = [];
+ var arrName = [];
+ for (let i = 0; i < e.length; i++) {
+
+ arrTemp.push(e[i].id);
+ arrName.push(e[i].name);
+ }
+ this.formData.employees = arrTemp;
+ this.formData.employeeList = arrName
+ }
+ ,
+ submitForm() {
+ this.$refs["elForm"].validate(valid => {
+ if (!valid) return;
+ // TODO 提交表单
+ updateTrain(this.formData.id,this.formData).then(response => {
+
+ this.$message({
+ type: 'success',
+ message: '成功!'
+
+ })
+ this.$router.go(-1);
+ });
+
+ });
+ },
+
+
+ resetForm() {
+ this.$refs['elForm'].resetFields()
+ },
+ }
+ }
+
diff --git a/client/src/views/employee/userselet.vue b/client/src/views/employee/userselet.vue
index f423327..68d910d 100644
--- a/client/src/views/employee/userselet.vue
+++ b/client/src/views/employee/userselet.vue
@@ -1,6 +1,4 @@
-
-
@@ -53,59 +51,55 @@
-
+
-
+ style="margin-left: 0;margin-top: 10px;">-->
-
+ >
+
{{ row.user.name }}
+
+
+
+
+
-
- 提交
+
+ 提交