diff --git a/.gitignore b/.gitignore
index e52f20a..b1c025c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@ tests/**/coverage/
*.njsproj
*.sln
vue.config.js
+vue.config.js
diff --git a/src/views/user/picuserimport.vue b/src/views/user/picuserimport.vue
index a93e80d..52c1f73 100644
--- a/src/views/user/picuserimport.vue
+++ b/src/views/user/picuserimport.vue
@@ -36,15 +36,6 @@
@@ -166,6 +213,8 @@ import { formatTime } from '@/utils/util'
],
//表格数据
table_data: [],
+ dialogVisible:false,
+ form:{},
};
},
methods: {
@@ -219,26 +268,13 @@ import { formatTime } from '@/utils/util'
//编辑
handleEdit(index, row) {
+ this.dialogVisible = true;
if (row.ViewPath) {
this.currentFilePath = row.ViewPath;
} else {
this.currentFilePath = '';
}
- // debugger;
- // if(this.table_data)
- // this.table_data = this.table_data.map(t=>{
- // t.edit = false;
- // return t;
- // })
- this.table_data.forEach((o, i) => {
- this.$set(this.table_data[i], 'edit', i == index)
- });
- // this.table_data = Object.assign({},this.table_data);
- // this.table_data[index].edit = true;
- // this.table_data.push(this.table_data.pop());
- // this.$forceUpdate();
-
- // this.$set(this.table_data[index],'edit',true)
+ this.form=row;
},
//删除
handleDelete(index, row) {
@@ -266,18 +302,13 @@ import { formatTime } from '@/utils/util'
//保存
handleSave(index, row) {
- delete this.table_data[index].edit;
- let formData = {
- ...row
- };
- delete formData.DataJsonObj;
- UserInfo_Update(row);
- this.table_data.push(this.table_data.pop());
+ UserInfo_Update(this.form);
this.$forceUpdate();
this.$message({
message: "保存成功!",
type: "success",
});
+ this.dialogVisible = false;
},
handleCancelSave(index, row) {
delete this.table_data[index].edit;
diff --git a/src/views/user/userlist.vue b/src/views/user/userlist.vue
index be554f2..b8ceb15 100644
--- a/src/views/user/userlist.vue
+++ b/src/views/user/userlist.vue
@@ -1,140 +1,148 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
- 邀请面试(线上)
-
- 邀请面试(现场)
-
-
-
-
-
- 下载模板
-
- 导入用户
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+ 邀请面试(线上)
+
+ 邀请面试(现场)
+
+
+
+
+
+ 下载模板
+
+ 导入用户
+
+
+
+
+
- 所属分类
-
-
-
-
-
-
-
-
-
-
-
-
-
- 所属分类
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- {{scope.row.fullName || '无' }}
-
-
- 推荐
- {{item}}
- +
- 简历分析
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.phone1 }}
-
-
-
-
-
-
-
- {{ row.TestPaperTitle || "无" }}
-
-
-
-
-
-
-
+
+
+
+
+
+ {{scope.row.fullName || '无' }}
+
+
+ 推荐
+ {{item}}
+ +
+ 简历分析
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.phone1 }}
+
+
+
+
+
+
+
+ {{ row.TestPaperTitle || "无" }}
+
+
+
+
+
+
+
- {{row.processName}}
-
+ {{row.processName}}
+
-
-
+
+
-
-
-
- {{ scope.row.sex==1?'男':'女' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.addTime.split('T')[0] }}
-
-
-
-
-
-
-
- 编辑
- 邀请面试
-
- 删除
-
-
-
-
-
+
+ {{ scope.row.sex==1?'男':'女' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.addTime.split('T')[0] }}
+
+
+
+
+
+
+
+ 编辑
+ 邀请面试
+
+
+ 删除
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- {{
+
+
+
+
+
+
+
+
+
+ {{
"[" + item.id + "] " + (item.TestPaperTitle || "未命名")
}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.AnswerTime.replace("T", " ") }}
-
-
-
-
- {{ scope.row.StartTime.replace("T", " ") }}
-
-
-
-
- {{ scope.row.EndTime.replace("T", " ") }}
-
-
-
-
-
- 观看直播
- 答题详情
-
-
-
-
-
-
- 确定
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
-
-
- 确定
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 提交
-
-
-
-
-
-
-
-
-
-
-
-
-
- 移除
-
-
-
-
-
- 姓名
-
- {{user.fullName || ''}}
-
-
-
-
-
-
-
- 标签
-
-
- {{item}}
-
-
-
-
- 城市
-
- -
-
-
-
-
-
-
- 联系地址
-
- {{user.address || ''}}
-
-
-
-
- 手机号
-
- {{user.phone || ''}}
-
-
-
-
- 面试时间范围
-
-
-
-
-
-
-
-
- 消息内容
-
-
-
-
-
-
-
-
- 备注
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+