diff --git a/src/views/ysjl/1000/dj/sy/sysy.vue b/src/views/ysjl/1000/dj/sy/sysy.vue index 07ee012..d66f5ee 100644 --- a/src/views/ysjl/1000/dj/sy/sysy.vue +++ b/src/views/ysjl/1000/dj/sy/sysy.vue @@ -483,7 +483,8 @@ export default { data = { ysjlId: this.ysjlId, isReport: false, - order: sort + order: sort, + templateId: this.$route.query.templateId } } this.api({ diff --git a/src/views/ysjl/2000/2100/zbg/dj/edit.vue b/src/views/ysjl/2000/2100/zbg/dj/edit.vue index 8b04ac6..123350f 100644 --- a/src/views/ysjl/2000/2100/zbg/dj/edit.vue +++ b/src/views/ysjl/2000/2100/zbg/dj/edit.vue @@ -24,10 +24,10 @@ 预览 - + @@ -327,12 +327,12 @@ - + - + @@ -340,7 +340,7 @@ - + @@ -1006,9 +1006,9 @@ - + @@ -1052,13 +1052,13 @@ import jyfa from '../../../../addJyfa' import SignName from '@/views/common/SignName' import Utils from '@/utils/contact' import pictureUpload from '@/components/Upload' -import SliceUpload from '@/components/SliceUpload' -import Symbols from '@/views/common/Symbols' +// import SliceUpload from '@/components/SliceUpload' +// import Symbols from '@/views/common/Symbols' import { getDepartmentTreeList } from '@/api/common' export default { name: 'RqDjYsjl', - components: { SignName, Sticky, jyfa, pictureUpload, SliceUpload, Symbols }, + components: { SignName, Sticky, jyfa, pictureUpload }, data() { return { // 预定义值 @@ -1201,13 +1201,13 @@ export default { this.ysjl = data.ysjl this.departmentId = this.ysjl.departmentId this.param = data.param ? data.param : {} - // 设置初始值 - const tempTime = new Date() - this.ysjl.jianyankaishiriqi = tempTime - this.ysjl.jianyanjieshuriqi = tempTime - let xcjyrq = (tempTime.getFullYear() + 2) + '-' + (tempTime.getMonth() + 1) + '-' + tempTime.getDate() - xcjyrq = new Date(xcjyrq) - this.ysjl.xiacijianyanriqi = xcjyrq.setDate(xcjyrq.getDate() - 1) + // // 设置初始值 + // const tempTime = new Date() + // this.ysjl.jianyankaishiriqi = tempTime + // this.ysjl.jianyanjieshuriqi = tempTime + // let xcjyrq = (tempTime.getFullYear() + 2) + '-' + (tempTime.getMonth() + 1) + '-' + tempTime.getDate() + // xcjyrq = new Date(xcjyrq) + // this.ysjl.xiacijianyanriqi = xcjyrq.setDate(xcjyrq.getDate() - 1) this.ysjl.xiacijianyanriqishuoming = '/' this.$set(this.ysjl, 'shebeipinzhong', '储存') this.$set(this.ysjl, 'jianyanjielun', '符合要求') @@ -1589,9 +1589,9 @@ export default { data: { ysjl: this.ysjl, param: this.param, - cyJyxm:{ + cyJyxm: { jyxm: jyxm, - bgjyxm: jyxm, + bgjyxm: jyxm } } }).then(data => { diff --git a/src/views/ysjl/2000/2100/zbg/nd/edit.vue b/src/views/ysjl/2000/2100/zbg/nd/edit.vue index 1d51cb2..8a33d0a 100644 --- a/src/views/ysjl/2000/2100/zbg/nd/edit.vue +++ b/src/views/ysjl/2000/2100/zbg/nd/edit.vue @@ -17,7 +17,7 @@ 预览 - + @@ -117,7 +117,7 @@ - + @@ -190,7 +190,7 @@ - + @@ -281,11 +281,11 @@ import Utils from '@/utils/contact.js' // 导入签名方法 import Sticky from '@/components/Sticky' import SignName from '@/views/common/SignName' -import Symbols from '@/views/common/Symbols' +// import Symbols from '@/views/common/Symbols' import { getDepartmentTreeList } from '@/api/common' export default { name: 'RqNdYsjl', - components: { SignName, Sticky, Symbols }, + components: { SignName, Sticky }, data() { return { edit: false, // 页面编辑状态 @@ -381,8 +381,6 @@ export default { this.ysjl = data.ysjl this.departmentId = this.ysjl.departmentId this.param = data.param ? data.param : {} - const tempTime = new Date() - this.ysjl.jianyanjieshuriqi = tempTime this.ysjl.jianyanjielun = '符合要求' this.param = { wentijizai: '无', diff --git a/src/views/ysjl/2000/2200/zbg/dj/edit.vue b/src/views/ysjl/2000/2200/zbg/dj/edit.vue index d8bce7c..c8778c6 100644 --- a/src/views/ysjl/2000/2200/zbg/dj/edit.vue +++ b/src/views/ysjl/2000/2200/zbg/dj/edit.vue @@ -351,12 +351,12 @@ - + - + @@ -816,26 +816,7 @@ export default { name: 'RqDjGcYsjl', components: { SignName, Sticky, jyfa }, props: { - neibuleibiejielun: { - type: String, - default: '汽车罐车(罐式集装箱)定期检验结论记录' - }, - neibuleibieshencha: { - type: String, - default: '汽车罐车(罐式集装箱)资料审查记录' - }, - neibuleibieparam: { - type: String, - default: '汽车罐车(罐式集装箱)资料审查记录附页' - }, - datashow: { - type: Boolean, - default: true - }, - jyxm: { - type: String, - default: '' - } + }, data() { return { @@ -890,7 +871,12 @@ export default { similarVisible: false, similarTableData: [], djjgs: ['无'], - departmemtArr: [] + departmemtArr: [], + neibuleibiejielun: '汽车罐车(罐式集装箱)定期检验结论记录', + neibuleibieshencha: '汽车罐车(罐式集装箱)资料审查记录', + neibuleibieparam: '汽车罐车(罐式集装箱)资料审查记录附页', + datashow: true, + jyxm: '' } }, computed: { @@ -951,12 +937,12 @@ export default { this.ysjl = data.ysjl this.templateId = this.ysjl.departmentId this.param = data.param ? data.param : {} - const tempTime = new Date() + // const tempTime = new Date() this.$set(this.ysjl, 'jianyankaishiriqi', this.dateFormat(new Date())) this.$set(this.ysjl, 'jianyanjieshuriqi', this.dateFormat(new Date())) - let xcjyrq = (tempTime.getFullYear() + 1) + '-' + (tempTime.getMonth() + 1) + '-' + tempTime.getDate() - xcjyrq = new Date(xcjyrq) - this.ysjl.xiacijianyanriqi = xcjyrq.setDate(xcjyrq.getDate() - 1) + // let xcjyrq = (tempTime.getFullYear() + 1) + '-' + (tempTime.getMonth() + 1) + '-' + tempTime.getDate() + // xcjyrq = new Date(xcjyrq) + // this.ysjl.xiacijianyanriqi = xcjyrq.setDate(xcjyrq.getDate() - 1) this.$set(this.ysjl, 'bianzhiriqi', this.dateFormat(new Date())) this.$set(this.ysjl, 'jianyanyiju', '《移动式压力容器安全技术监察规程》(TSG R0005)\n' + '《压力容器定期检验规则》(TSG R7001)') this.$set(this.ysjl, 'shebeipinzhong', '汽车罐车') @@ -1185,9 +1171,9 @@ export default { data: { ysjl: this.ysjl, param: this.param, - cyJyxm:{ - jyxm: jyxm, - bgjyxm: jyxm, + cyJyxm: { + jyxm: jyxm, + bgjyxm: jyxm } } }).then(data => { diff --git a/src/views/ysjl/2000/2200/zbg/nd/tuoche.vue b/src/views/ysjl/2000/2200/zbg/nd/tuoche.vue index a461d1a..77b8596 100644 --- a/src/views/ysjl/2000/2200/zbg/nd/tuoche.vue +++ b/src/views/ysjl/2000/2200/zbg/nd/tuoche.vue @@ -629,9 +629,10 @@ export default { data: { ysjl: this.ysjl, param: this.param, - jyxm: JSON.stringify(this.tableData), - bgjyxm: JSON.stringify(this.tableDataBg), - flag: operation + cyJyxm: { + jyxm: JSON.stringify(this.tableData), + bgjyxm: JSON.stringify(this.tableDataBg) + } } }).then(data => { Utils.$emit('bggl-daiban-list') diff --git a/src/views/ysjl/2000/2300/zbg/jj/cyqp.vue b/src/views/ysjl/2000/2300/zbg/jj/cyqp.vue deleted file mode 100644 index 0f43138..0000000 --- a/src/views/ysjl/2000/2300/zbg/jj/cyqp.vue +++ /dev/null @@ -1,610 +0,0 @@ - - - - - - - 保存 - - - 更新 - - - 生成报告 - - - 预览 - - - 查看驳回意见 - - - - - - - - 基本信息 - - - - - - - - - - - - - - - - - 编号重复 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 性能参数 - - - - - - - - - - - - - - - - - - - - - - 检验信息 - - 根据《中华人民共和国特种设备安全法》、《特种设备安全监察条例》、《车用气瓶安全技术监察规程》的要求,该车用气瓶安装经我机构监督检验,其安装安全质量 - - - - - 相关要求,特发此证。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/ysjl/2000/2400/common/ycjl.vue b/src/views/ysjl/2000/2400/common/ycjl.vue index cf2775f..fde97d4 100644 --- a/src/views/ysjl/2000/2400/common/ycjl.vue +++ b/src/views/ysjl/2000/2400/common/ycjl.vue @@ -24,10 +24,10 @@ 预览 - + @@ -547,10 +547,10 @@ import Sticky from '@/components/Sticky' import jyfa from '@/views/ysjl/addJyfa' import SignName from '@/views/common/SignName' import Utils from '@/utils/contact.js' -import Symbols from '@/views/common/Symbols' +// import Symbols from '@/views/common/Symbols' export default { name: 'Ycjl', - components: { SignName, Sticky, jyfa, Symbols }, + components: { SignName, Sticky, jyfa }, props: { neibuleibieparam: { type: String, @@ -692,10 +692,10 @@ export default { this.ysjl = data.ysjl this.param = (data.param !== null && data.param !== undefined) ? data.param : {} // 设置初始值 - const tempTime = new Date() - let xcjyrq = (tempTime.getFullYear() + 2) + '-' + (tempTime.getMonth() + 1) + '-' + tempTime.getDate() - xcjyrq = new Date(xcjyrq) - this.ysjl.xiacijianyanriqi = xcjyrq.setDate(xcjyrq.getDate() - 1) + // const tempTime = new Date() + // let xcjyrq = (tempTime.getFullYear() + 2) + '-' + (tempTime.getMonth() + 1) + '-' + tempTime.getDate() + // xcjyrq = new Date(xcjyrq) + // this.ysjl.xiacijianyanriqi = xcjyrq.setDate(xcjyrq.getDate() - 1) this.dateFormat() this.ysjl.xiacijianyanriqishuoming = '/' this.ysjl.bianzhiren = this.$store.getters.userId + '' @@ -944,9 +944,10 @@ export default { data: { ysjl: this.ysjl, param: this.param, - jyxm: jyxm, - bgjyxm: jyxm, - flag: operation + cyJyxm: { + jyxm: jyxm, + bgjyxm: jyxm + } } }).then(data => { // 刷新任务列表,原始记录待办,原始记录已办,检验报告 diff --git a/src/views/ysjl/2000/2400/zbg/jj/edit.vue b/src/views/ysjl/2000/2400/zbg/jj/edit.vue index a67f721..1fc3fbd 100644 --- a/src/views/ysjl/2000/2400/zbg/jj/edit.vue +++ b/src/views/ysjl/2000/2400/zbg/jj/edit.vue @@ -34,10 +34,10 @@ 批量修改日期 - + @@ -402,9 +402,9 @@ - - - + + @@ -456,14 +456,14 @@ import Sticky from '@/components/Sticky' import SignName from '@/views/common/SignName' import Utils from '@/utils/contact.js' -import SliceUpload from '@/components/SliceUpload' -import Symbols from '@/views/common/Symbols' +// import SliceUpload from '@/components/SliceUpload' +// import Symbols from '@/views/common/Symbols' import jyfa from '@/views/ysjl/addJyfa' import { getDepartmentTreeList } from '@/api/common' export default { name: 'YcJdYsjl', - components: { SignName, Sticky, SliceUpload, Symbols, jyfa }, + components: { SignName, Sticky, jyfa }, data() { return { // 预定义值 diff --git a/src/views/ysjl/7000/jj/edit.vue b/src/views/ysjl/7000/jj/edit.vue index 5ad4623..da7d096 100644 --- a/src/views/ysjl/7000/jj/edit.vue +++ b/src/views/ysjl/7000/jj/edit.vue @@ -589,8 +589,8 @@ export default { data: { ysjl: this.ysjl, param: this.param, - cyJyxm:{ - jyxm: JSON.stringify(this.tableData), + cyJyxm: { + jyxm: JSON.stringify(this.tableData) } } }).then(data => {