From a2dfd2c6ae969fe185fe79a3ff4b3e1c39450575 Mon Sep 17 00:00:00 2001 From: sk1551 <15175617877@163.com> Date: Fri, 4 Sep 2020 13:47:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=80=83=E6=A0=B8=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/jxzxkhgl/jxzxqjsh/index.vue | 57 +++++++++++++- .../src/views/jxzxkhgl/jxzxxxsh/index.vue | 74 +++++++++++++++---- 2 files changed, 116 insertions(+), 15 deletions(-) diff --git a/ruoyi-ui/src/views/jxzxkhgl/jxzxqjsh/index.vue b/ruoyi-ui/src/views/jxzxkhgl/jxzxqjsh/index.vue index 840a400da..f827eab8d 100644 --- a/ruoyi-ui/src/views/jxzxkhgl/jxzxqjsh/index.vue +++ b/ruoyi-ui/src/views/jxzxkhgl/jxzxqjsh/index.vue @@ -90,7 +90,14 @@ - + + + @@ -162,6 +169,37 @@ 取 消 + + + + + + + + + + + + + + + + + + + + + + + @@ -181,6 +219,10 @@ export default { return { //教师姓名 jsxm: "", + // 教师聘任校 + jsprx: "", + // 教师详情弹出层 + open1: false, //默认方案id defaultFaid: "", // 遮罩层 @@ -304,6 +346,7 @@ export default { // 取消按钮 cancel() { this.open = false; + this.open1 = false; this.reset(); }, // 表单重置 @@ -352,6 +395,18 @@ export default { this.title = "区级考核审核"; }); }, + /** 详情按钮操作 */ + handleDetail(row) { + this.reset(); + const id = row.id || this.ids; + getJzxzkhsh(id).then((response) => { + this.jsxm = response.data.tsbzJxjsjbxx.name; + this.jsprx = response.data.tsbzJxjsjbxx.prdwmc; + this.form = response.data; + this.open1 = true; + this.title = "教师详情"; + }); + }, /** 提交按钮 */ submitForm() { this.$refs["form"].validate((valid) => { diff --git a/ruoyi-ui/src/views/jxzxkhgl/jxzxxxsh/index.vue b/ruoyi-ui/src/views/jxzxkhgl/jxzxxxsh/index.vue index 931a155b2..77f6aa6ef 100644 --- a/ruoyi-ui/src/views/jxzxkhgl/jxzxxxsh/index.vue +++ b/ruoyi-ui/src/views/jxzxkhgl/jxzxxxsh/index.vue @@ -75,7 +75,14 @@ - + + + @@ -121,16 +128,6 @@ - 取 消 + + + + + + + + + + + + + + + + + + + + + + + @@ -169,6 +197,8 @@ export default { return { //教师姓名 jsxm: "", + // 教师聘任校 + jsprx: "", //默认方案id defaultFaid: "", // 遮罩层 @@ -189,6 +219,8 @@ export default { title: "", // 是否显示弹出层 open: false, + // 教师详情弹出层 + open1: false, // 状态字典 statusOptions: [], // 校级审核意见字典 @@ -197,6 +229,7 @@ export default { qjshyjOptions: [], //方案 faOptions: [], + // 查询参数 queryParams: { pageNum: 1, @@ -224,9 +257,6 @@ export default { form: {}, // 表单校验 rules: { - faid: [ - { required: true, message: "方案编号不能为空", trigger: "blur" }, - ], xjshyj: [ { required: true, message: "方案编号不能为空", trigger: "blur" }, ], @@ -304,6 +334,7 @@ export default { // 取消按钮 cancel() { this.open = false; + this.open1 = false; this.reset(); }, // 表单重置 @@ -355,6 +386,21 @@ export default { this.title = "修改考核审核过程"; }); }, + /** 详情按钮操作 */ + handleDetail(row) { + this.reset(); + const id = row.id || this.ids; + if (id == null || id == "") { + return this.msgError("当前教师未提交数据,无法查看详情!"); + } + getJzxzkhsh(id).then((response) => { + this.jsxm = response.data.tsbzJxjsjbxx.name; + this.jsprx = response.data.tsbzJxjsjbxx.prdwmc; + this.form = response.data; + this.open1 = true; + this.title = "教师详情"; + }); + }, /** 提交按钮 */ submitForm() { this.$refs["form"].validate((valid) => {