Quellcode durchsuchen

设备档案中的设备维修及停用报废的表单按钮及部门字段替换为org

wy vor 1 Jahr
Ursprung
Commit
46eb687223

+ 1 - 1
src/views/component/device/repairRecord.vue

@@ -84,7 +84,7 @@ export default {
         // 查看表单
         // 查看表单
         goLookForm (row) {
         goLookForm (row) {
             const orgId = this.$store.getters.org.id
             const orgId = this.$store.getters.org.id
-            this.srcUrl = this.$reportPath.replace('show', 'pdf') + '设备/设备维修记录表.rpx&id_=' + row.id + '&org_=' + orgId
+            this.srcUrl = this.$reportPath.replace('show', 'pdf') + '仪器设备管理程序/设备维修记录表.rpx&id_=' + row.id + '&org_=' + orgId
             this.iframeVisible = true
             this.iframeVisible = true
         },
         },
         async getData () {
         async getData () {

+ 2 - 2
src/views/component/device/scrappedRecord.vue

@@ -17,7 +17,7 @@
                 <template slot-scope="{row}">
                 <template slot-scope="{row}">
                     <ibps-user-selector
                     <ibps-user-selector
                         :value="row.bianZhiBuMen"
                         :value="row.bianZhiBuMen"
-                        type="position"
+                        type="org"
                         readonly-text="text"
                         readonly-text="text"
                         :disabled="true"
                         :disabled="true"
                         :multiple="true"
                         :multiple="true"
@@ -123,7 +123,7 @@ export default {
         // 查看表单
         // 查看表单
         goLookForm (row) {
         goLookForm (row) {
             const first = this.$store.getters.level.first
             const first = this.$store.getters.level.first
-            this.srcUrl = this.$reportPath.replace('show', 'pdf') + '设备/设备停用报废表.rpx&id_=' + row.id + '&org_=' + first
+            this.srcUrl = this.$reportPath.replace('show', 'pdf') + '仪器设备管理程序/设备停用报废表.rpx&id_=' + row.id + '&org_=' + first
             this.iframeVisible = true
             this.iframeVisible = true
         },
         },
         async getData () {
         async getData () {