Commit 8c8adc8f authored by 姬鋆屾's avatar 姬鋆屾

推修改工作人员考核窗口取值字段

parent 69fd1e74
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div class="text_line"> <div class="text_line">
<div class="text_box"> <div class="text_box">
<span style="width: 160px;">窗口 (单位) 名称:</span> <span style="width: 160px;">窗口 (单位) 名称:</span>
<span>{{ form.deptName || "--" }}</span> <span>{{ windowName || "--" }}</span>
</div> </div>
<div class="text_box"> <div class="text_box">
<span>登记年月:</span> <span>登记年月:</span>
...@@ -301,6 +301,7 @@ export default { ...@@ -301,6 +301,7 @@ export default {
}, },
data() { data() {
return { return {
windowName: "",
// 遮罩层 // 遮罩层
loading: true, loading: true,
// 弹出层标题 // 弹出层标题
...@@ -324,6 +325,7 @@ export default { ...@@ -324,6 +325,7 @@ export default {
}, },
/** 编辑 */ /** 编辑 */
async edit(row) { async edit(row) {
this.windowName = row.windowName;
// this.reset(); // this.reset();
// this.query = { id: row.id }; // this.query = { id: row.id };
this.urls.saveUrl = "check/window/workman/perform/examine"; this.urls.saveUrl = "check/window/workman/perform/examine";
...@@ -429,14 +431,13 @@ export default { ...@@ -429,14 +431,13 @@ export default {
// this.getData(); // this.getData();
// this.pageInfo.type = "view"; // this.pageInfo.type = "view";
// this.title = "窗口人员考核汇总核查详细"; // this.title = "窗口人员考核汇总核查详细";
this.windowName = row.windowName;
this.form = row; this.form = row;
this.reset(); this.reset();
this.query = { id: row.id }; this.query = { id: row.id };
await this.$get("/window/workman/perform/info", { await this.$get("/window/workman/perform/info", {
id: row.recordId, id: row.recordId,
}).then((res) => { }).then((res) => {
console.log(res);
if (res.code == 1) { if (res.code == 1) {
this.form = res.data; this.form = res.data;
this.form.id = row.id; this.form.id = row.id;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div class="text_line"> <div class="text_line">
<div class="text_box"> <div class="text_box">
<span style="width: 160px;">窗口 (单位) 名称:</span> <span style="width: 160px;">窗口 (单位) 名称:</span>
<span>{{ form.deptName || "--" }}</span> <span>{{ windowName || "--" }}</span>
</div> </div>
<div class="text_box"> <div class="text_box">
<span>登记年月:</span> <span>登记年月:</span>
...@@ -301,6 +301,7 @@ export default { ...@@ -301,6 +301,7 @@ export default {
}, },
data() { data() {
return { return {
windowName: "",
// 遮罩层 // 遮罩层
loading: true, loading: true,
// 弹出层标题 // 弹出层标题
...@@ -324,6 +325,7 @@ export default { ...@@ -324,6 +325,7 @@ export default {
}, },
/** 编辑 */ /** 编辑 */
async edit(row) { async edit(row) {
this.windowName = row.windowName;
// this.reset(); // this.reset();
// this.query = { id: row.id }; // this.query = { id: row.id };
this.urls.currUrl = "check/window/workman/perform/save"; this.urls.currUrl = "check/window/workman/perform/save";
...@@ -421,6 +423,7 @@ export default { ...@@ -421,6 +423,7 @@ export default {
}, },
/** 查看*/ /** 查看*/
async view(row) { async view(row) {
this.windowName = row.windowName;
// this.reset(); // this.reset();
// this.query = { id: row.id }; // this.query = { id: row.id };
// this.urls.currUrl = "check/window/workman/perform/view"; // this.urls.currUrl = "check/window/workman/perform/view";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment