diff --git a/src/components/drawerDialog/index.vue b/src/components/drawerDialog/index.vue index c660d8b..9c1826c 100644 --- a/src/components/drawerDialog/index.vue +++ b/src/components/drawerDialog/index.vue @@ -27,7 +27,7 @@ style="margin-left: 50px" > - + - + - + - + - - - - + + + + 查询 @@ -196,8 +196,7 @@ export default { modelList: [], listQuery: { pageNum: 1, // 页码 - pageRow: 20, // 每页条数 - searchOwnRw: {} + pageRow: 20 // 每页条数 }, listQueryCopy: { pageNum: 1, // 页码 @@ -569,7 +568,10 @@ export default { }) }, clearQuery() { - this.$set(this.listQuery, 'searchOwnRw', {}) + this.listQuery = { + pageNum: 1, // 页码 + pageRow: 20 + } this.getList() }, clearCopyQuery() { diff --git a/src/views/audit/list.vue b/src/views/audit/list.vue index 0a9ff01..38a71d4 100644 --- a/src/views/audit/list.vue +++ b/src/views/audit/list.vue @@ -20,8 +20,8 @@ - - + + 查询 @@ -165,9 +165,7 @@ export default { sort: 'asc', // 排序方式 link: 8, hasChild: true, - hasLook: 3, - searchYsjl: { - } + hasLook: 3 }, flowUserList: [], isQm: true, @@ -637,7 +635,15 @@ export default { } }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', {}) + this.listQuery = { + pageNum: 1, // 页码 + pageRow: 20, // 每页条数 + order: 'update_time', // 排序字段 + sort: 'asc', // 排序方式 + link: 8, + hasChild: true, + hasLook: 3 + } this.getList() }, closeDialog() { diff --git a/src/views/bggl/banjie_list.vue b/src/views/bggl/banjie_list.vue index 199246d..e06cce5 100644 --- a/src/views/bggl/banjie_list.vue +++ b/src/views/bggl/banjie_list.vue @@ -41,21 +41,21 @@ 查看类型: - + 只看创建人 @@ -189,7 +189,7 @@ - + - + - + - + @@ -544,9 +544,7 @@ export default { pageRow: 20, // 每页条数 order: 'shenpiriqi desc,id', // 排序字段 sort: 'desc', // 排序方式 - searchYsjl: { - createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined - }, + createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined, hasChild: true, hasFinish: true }, @@ -913,9 +911,15 @@ export default { }) }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { - createBy: this.$store.getters.userId - }) + this.listQuery = { + pageNum: 1, // 页码 + pageRow: 20, // 每页条数 + order: 'shenpiriqi desc,id', // 排序字段 + sort: 'desc', // 排序方式 + createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined, + hasChild: true, + hasFinish: true + } this.getList() }, clearExportReportQuery() { diff --git a/src/views/bggl/components/boiler_db_list.vue b/src/views/bggl/components/boiler_db_list.vue index e88d14f..35eb061 100644 --- a/src/views/bggl/components/boiler_db_list.vue +++ b/src/views/bggl/components/boiler_db_list.vue @@ -23,17 +23,17 @@ - + - + - + @@ -42,17 +42,17 @@ - + - + - + @@ -199,61 +199,61 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -352,9 +352,7 @@ export default { pageRow: 20, // 每页条数 order: 'update_time', // 排序字段 sort: 'asc', // 排序方式 - searchYsjl: { - flowStatus: 1 - }, + flowStatus: 1, hasChild: true, hasFinish: false }, @@ -982,7 +980,13 @@ export default { this.dialogQueryVisible = true }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', {}) + this.listQuery = { + order: 'update_time', // 排序字段 + sort: 'asc', // 排序方式 + flowStatus: 1, + hasChild: true, + hasFinish: false + } this.getList() }, clearCopyQuery() { diff --git a/src/views/bggl/components/original_db_list.vue b/src/views/bggl/components/original_db_list.vue index d295fca..aa0a400 100644 --- a/src/views/bggl/components/original_db_list.vue +++ b/src/views/bggl/components/original_db_list.vue @@ -25,10 +25,10 @@ - - - - + + + + 当前环节: - + 全部 @@ -192,61 +192,61 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -420,7 +420,6 @@ export default { pageRow: 20, // 每页条数 order: 'update_time', // 排序字段 sort: 'asc', // 排序方式 - searchYsjl: {}, hasChild: true, hasFinish: false }, @@ -1181,13 +1180,19 @@ export default { this.dialogQueryVisible = true }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', {}) + this.listQuery = { + order: 'update_time', // 排序字段 + sort: 'asc', // 排序方式 + hasChild: true, + hasFinish: false + } this.getList() }, clearCopyQuery() { this.$set(this.listQueryCopy, 'searchYsjl', { bglx: 1 }) + this.handleFilterCopy() }, closeDialog() { diff --git a/src/views/bggl/daishen_list.vue b/src/views/bggl/daishen_list.vue index fd756b6..44168e4 100644 --- a/src/views/bggl/daishen_list.vue +++ b/src/views/bggl/daishen_list.vue @@ -21,12 +21,12 @@ - + - + @@ -178,9 +178,7 @@ export default { pageRow: 20, // 每页条数 order: 'update_time', // 排序字段 sort: 'asc', // 排序方式 - searchYsjl: { - hasTrial: true - }, + hasTrial: true, hasChild: true, hasFinish: false }, @@ -673,7 +671,15 @@ export default { } }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', {}) + this.listQuery = { + pageNum: 1, // 页码 + pageRow: 20, // 每页条数 + order: 'update_time', // 排序字段 + sort: 'asc', // 排序方式 + hasTrial: true, + hasChild: true, + hasFinish: false + } this.getList() }, closeDialog() { diff --git a/src/views/bggl/eliminatingred_list.vue b/src/views/bggl/eliminatingred_list.vue index 9c3f5b3..7580637 100644 --- a/src/views/bggl/eliminatingred_list.vue +++ b/src/views/bggl/eliminatingred_list.vue @@ -11,7 +11,7 @@ 消红状态: - + 未消红 @@ -99,7 +99,7 @@ - + 不可消红 @@ -149,7 +149,7 @@ - + - + - + - + @@ -308,9 +308,8 @@ export default { pageNum: 1, // 页码 pageSize: 20, // 每页条数 orderBy: 'shenpiriqi desc,id desc', // 排序字段 - searchYsjl: { - updateState: 0 - } + updateState: 0 + }, multipleSelection: [], dialogQueryVisible: false, @@ -324,7 +323,7 @@ export default { } }, watch: { - 'listQuery.searchYsjl.updateState': function(val) { + 'listQuery.updateState': function(val) { this.showUpdateState = val === undefined || val === 3 } }, @@ -434,11 +433,13 @@ export default { this.dialogQueryVisible = true }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { - createBy: this.$store.getters.userId, - updateState: 2, - bglx: 1 - }) + this.listQuery = { + bglx: 1, + pageNum: 1, // 页码 + pageSize: 20, // 每页条数 + orderBy: 'shenpiriqi desc,id desc', // 排序字段 + updateState: 0 + } this.getList() }, cleanRed() { diff --git a/src/views/bggl/sign_list.vue b/src/views/bggl/sign_list.vue index fe4af7d..c75a86d 100644 --- a/src/views/bggl/sign_list.vue +++ b/src/views/bggl/sign_list.vue @@ -4,21 +4,21 @@ - + - + @@ -164,10 +164,8 @@ export default { pageRow: 20, // 每页条数 order: 'jianyanjieshuriqi desc,id', // 排序字段 sort: 'desc', // 排序方式 - searchYsjl: { - bglx: 2, // 无损报告 - jianyanrenyuan: this.$store.getters.userId - }, + bglx: 2, // 无损报告 + jianyanrenyuan: this.$store.getters.userId, hasFinish: null, hasLook: 1, // 科室数据 ownRoles: 1 // 检验员包括自己的 @@ -218,10 +216,15 @@ export default { this.dialogQueryVisible = true }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { - bglx: 2, - jianyanrenyuan: this.$store.getters.userId - }) + this.listQuery = { + order: 'jianyanjieshuriqi desc,id', // 排序字段 + sort: 'desc', // 排序方式 + bglx: 2, // 无损报告 + jianyanrenyuan: this.$store.getters.userId, + hasFinish: null, + hasLook: 1, // 科室数据 + ownRoles: 1 // 检验员包括自己的 + } this.getList() }, formatterHuanjie(row) { diff --git a/src/views/bggl/yiban_list.vue b/src/views/bggl/yiban_list.vue index 55fb07c..9749ca8 100644 --- a/src/views/bggl/yiban_list.vue +++ b/src/views/bggl/yiban_list.vue @@ -10,9 +10,9 @@ - - - + + + @@ -24,7 +24,7 @@ 查看类型: - + 只看创建人 @@ -121,9 +121,7 @@ export default { pageRow: 20, // 每页条数 order: undefined, // 排序字段 sort: undefined, // 排序方式 - searchYsjl: { - createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined - }, + createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined, hasChild: true, // 是否包含无损 ownRoles: undefined, // 角色 link: 7 // 已办报告环节 @@ -158,7 +156,7 @@ export default { }, methods: { getList() { - this.listQuery.searchYsjl.cjState = 'bggl' + this.listQuery.cjState = 'bggl' this.api({ url: '/ysjl/getList', method: 'get', @@ -216,9 +214,14 @@ export default { } }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { - createBy: this.$store.getters.userId - }) + this.listQuery = { + order: undefined, // 排序字段 + sort: undefined, // 排序方式 + createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined, + hasChild: true, // 是否包含无损 + ownRoles: undefined, // 角色 + link: 7 // 已办报告环节 + } this.getList() }, createQrcode() { @@ -274,7 +277,7 @@ export default { }, changeOwnRoles(val) { if (val === 2 || val === 3) { - this.listQuery.searchYsjl.createBy = undefined + this.listQuery.createBy = undefined } } } diff --git a/src/views/document/index.vue b/src/views/document/index.vue index 40ed97c..f355d2d 100644 --- a/src/views/document/index.vue +++ b/src/views/document/index.vue @@ -13,21 +13,20 @@ /> - - - 上传文件 - - + + + 上传文件 + + - - - - - + + + + 查询 @@ -28,13 +28,13 @@ 清空 - - - + + + - - + + @@ -155,12 +155,10 @@ export default { hasChild: false, hasFinish: true, flowstatus: undefined, - searchYsjl: { - shebeizhongleidaima: '1000', - printState: 1, - fafangState: 0, - departmentId: this.$store.getters.departmentId === 75 ? 75 : null - } + shebeizhongleidaima: '1000', + printState: 1, + fafangState: 0, + departmentId: this.$store.getters.departmentId === 75 ? 75 : null }, flowUserList: [], dialogFormVisible: false, @@ -231,11 +229,11 @@ export default { this.multipleSelection = val }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { + this.listQuery = { shebeizhongleidaima: '1000', printState: 1, fafangState: 0 - }) + } this.getList() }, openGrant() { diff --git a/src/views/print/1000/grant_list_yff.vue b/src/views/print/1000/grant_list_yff.vue index 41e9e29..4a44361 100644 --- a/src/views/print/1000/grant_list_yff.vue +++ b/src/views/print/1000/grant_list_yff.vue @@ -3,10 +3,10 @@ - - - - + + + + 查询 @@ -14,13 +14,13 @@ 清空 - - - + + + - - + + @@ -101,12 +101,11 @@ export default { hasChild: false, hasFinish: true, flowstatus: undefined, - searchYsjl: { - shebeizhongleidaima: '1000', - printState: 1, - fafangState: 1, - departmentId: this.$store.getters.departmentId === 77 ? null : this.$store.getters.departmentId - } + shebeizhongleidaima: '1000', + printState: 1, + fafangState: 1, + departmentId: this.$store.getters.departmentId === 77 ? null : this.$store.getters.departmentId + }, flowUserList: [], dialogFormVisible: false, @@ -175,11 +174,17 @@ export default { this.multipleSelection = val }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { + this.listQuery = { + order: 'id', // 排序字段 + sort: 'desc', // 排序方式 + hasChild: false, + hasFinish: true, + flowstatus: undefined, shebeizhongleidaima: '1000', printState: 1, - fafangState: 0 - }) + fafangState: 1, + departmentId: this.$store.getters.departmentId === 77 ? null : this.$store.getters.departmentId + } this.getList() }, openGrant() { diff --git a/src/views/print/8000/print_list.vue b/src/views/print/8000/print_list.vue index a67c279..8e5f681 100644 --- a/src/views/print/8000/print_list.vue +++ b/src/views/print/8000/print_list.vue @@ -33,10 +33,10 @@ - - - - + + + + 查询 @@ -44,14 +44,14 @@ 清空 - - - + + + - + 发放状态: - + 未发放 @@ -154,10 +154,8 @@ export default { hasChild: false, hasFinish: true, flowstatus: undefined, - searchYsjl: { - shebeizhongleidaima: '8000', - fafangState: 0 - } + shebeizhongleidaima: '8000', + fafangState: 0 }, flowUserList: [], fafangVisible: false, @@ -299,10 +297,15 @@ export default { }) }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { + this.listQuery = { shebeizhongleidaima: '8000', - printState: 0 - }) + printState: 0, + order: 'id', // 排序字段 + sort: 'desc', // 排序方式 + hasChild: false, + hasFinish: true, + flowstatus: undefined + } this.getList() }, viewBaogao(id, viewType, generateType = false) { diff --git a/src/views/statistics/gldj.vue b/src/views/statistics/gldj.vue index fa6456e..def2b85 100644 --- a/src/views/statistics/gldj.vue +++ b/src/views/statistics/gldj.vue @@ -4,7 +4,7 @@ - + - + @@ -128,9 +128,7 @@ export default { pageRow: 20, // 每页条数 order: 'shenpiriqi desc,id', // 排序字段 sort: 'desc', // 排序方式 - searchYsjl: { - createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined - }, + createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined, hasChild: true, hasFinish: true }, @@ -224,9 +222,13 @@ export default { this.multipleSelection = val }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { - createBy: this.$store.getters.userId - }) + this.listQuery = { + order: 'shenpiriqi desc,id', // 排序字段 + sort: 'desc', // 排序方式 + createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined, + hasChild: true, + hasFinish: true + } this.getList() }, getArea() { // 查询区划 @@ -263,8 +265,8 @@ export default { }) }, changeSbpz() { - const sblb = this.sblbList.filter(sblb => sblb.value === this.listQuery.searchYsjl.shebeileibiedaima)[0] - this.$set(this.listQuery.searchYsjl, 'shebeipinzhongdaima', '') + const sblb = this.sblbList.filter(sblb => sblb.value === this.listQuery.shebeileibiedaima)[0] + this.$set(this.listQuery, 'shebeipinzhongdaima', '') if (sblb) { this.sbpzList = sblb.children } else { diff --git a/src/views/task/list.vue b/src/views/task/list.vue index 47d18fe..a645bfc 100644 --- a/src/views/task/list.vue +++ b/src/views/task/list.vue @@ -568,7 +568,7 @@ export default { } } if (!this.dialogFormCopyVisible) { - this.listQueryCopy.searchYsjl.neibuleibie = this.multipleSelection[0].neibuleibie + this.listQueryCopy.neibuleibie = this.multipleSelection[0].neibuleibie this.handleFilterCopy() this.dialogFormCopyVisible = true } else { diff --git a/src/views/ysjl/components/gascylinder_yb_list.vue b/src/views/ysjl/components/gascylinder_yb_list.vue index 4af38cc..a073c6b 100644 --- a/src/views/ysjl/components/gascylinder_yb_list.vue +++ b/src/views/ysjl/components/gascylinder_yb_list.vue @@ -3,8 +3,8 @@ - - + + 查询 @@ -12,10 +12,10 @@ 清空条件 - - + + 编辑类型: - + 只看创建人 @@ -79,9 +79,7 @@ export default { pageRow: 20, // 每页条数 order: undefined, // 排序字段 sort: undefined, // 排序方式 - searchYsjl: { - createBy: this.$store.getters.userId - }, + createBy: this.$store.getters.userId, hasChild: true, link: 2 }, @@ -106,7 +104,7 @@ export default { }, methods: { getList() { - this.listQuery.searchYsjl.cjState = 'bggl' + this.listQuery.cjState = 'bggl' this.api({ url: '/ysjl/getList', method: 'get', @@ -138,10 +136,12 @@ export default { this.multipleSelection = val }, clearQuery() { - this.$set(this.listQuery, 'searchYsjl', { - bglx: 1, - createBy: this.$store.getters.userId - }) + this.listQuery = { + order: undefined, // 排序字段 + sort: undefined, // 排序方式 + createBy: this.$store.getters.userId, + hasChild: true + } this.getList() } } diff --git a/src/views/ysjl/elevator/common/index.vue b/src/views/ysjl/elevator/common/index.vue index 68cb415..0eec0e0 100644 --- a/src/views/ysjl/elevator/common/index.vue +++ b/src/views/ysjl/elevator/common/index.vue @@ -1,19 +1,41 @@ - + - + 保存 - + 更新 - + 生成报告 - + 预览 @@ -22,137 +44,388 @@ 检验项目批量签名 - + 批量清除签名 - + 批量修改日期 - + 编辑权限 - + 相关鉴证 - + 基本信息 - - - - - - { isRepeat = data })" /> + + + + + + + + + + - - - { isRepeat = data })" /> + + + + + - - 编号重复 + + + + - + - - + + - + - - + + - - - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + - - + + + + + + + - 收费信息 + 设备技术参数 - - + + kg - - + + m/s - - - - + + 层 + 站 + 门 - - + + - 校验信息 + 主要检验仪器和设备 - - 根据的规定,该产品的制造经我机构监督检验,符合 - - - 规定的基本安全要求,特发此证书。 + + 号检验专用工具箱 - - - - - - - + + + + + + 备选项 + + + 备选项 + + + 备选项 + + + 备选项 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -160,23 +433,54 @@ - - - - - + + + + + + + + + + + + + + - + - - + + + + + + + + @@ -184,86 +488,157 @@ - - - - - 外协 - - - 无此项 - - - 调台 - - - 前三台 - - - 清空 - - - - - - - - - - - - - - - - - + - - - - - - + + + + + - - + + {{ scope.row.xiangmuleibie }} - + - - + + - + - + - - + + - + - + - + 取 消 确 定 - - + + @@ -274,8 +649,18 @@ - - + + @@ -283,7 +668,15 @@ 确 定 - + + +