From ce3c9d345a27d3a86e6c096d927f3ee619b6e68f Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123 <819527061@qq.com> Date: 星期三, 26 十月 2022 13:46:50 +0800 Subject: [PATCH] 细节 --- src/views/padSunmaryProcedure/word_mange/mangeJD.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/views/padSunmaryProcedure/word_mange/mangeJD.vue b/src/views/padSunmaryProcedure/word_mange/mangeJD.vue index 6e26e11..9cd0ffd 100644 --- a/src/views/padSunmaryProcedure/word_mange/mangeJD.vue +++ b/src/views/padSunmaryProcedure/word_mange/mangeJD.vue @@ -124,9 +124,9 @@ export default { name: "mangeJD", - props: ['id'], data() { return { + id:'', form: { unitName: "", litigant: "", @@ -138,7 +138,8 @@ } } }, - created() { + mounted() { + this.id = this.$store.state.user.id this.init(); }, methods: { @@ -149,9 +150,9 @@ }, //鐐瑰嚮淇濆瓨鏁版嵁 dataFormSubmit() { - this.form.startTime = this.value1[0] - this.form.endTime = this.value1[1] - this.form.registerId = this.id + /*this.form.startTime = this.value1[0] + this.form.endTime = this.value1[1]*/ + //this.form.registerId = this.id inquiry(this.form).then(res => { if (res.data.code == 0) { this.$message.success("淇濆瓨鎴愬姛"); @@ -165,17 +166,20 @@ path: '/WordYulan', query: { wordData: data, - src:'/wordes/penaltyDecision.docx' + src: '/wordes/penaltyDecision.docx', + name: '澶勭綒鍐冲畾涔�', } }) }, //鐐瑰嚮涓嬭浇 - downloadWord(data){ + downloadWord(data) { this.$router.push({ path: '/WordYulan', query: { + id:this.id, downWordData: data, - src:'/wordes/penaltyDecision.docx' + src: '/wordes/penaltyDecision.docx', + name: '澶勭綒鍐冲畾涔�', } }) // WordView.methods.exportDoc(wordData, "/wordes/inquiryCause.docx", "璋冩煡璇㈤棶绗斿綍.docx") -- Gitblit v1.9.1