Prechádzať zdrojové kódy

表单对象增加获取用户信息接口

cfort 2 rokov pred
rodič
commit
c772af132c

+ 1 - 1
src/business/platform/data/templaterender/components/print.vue

@@ -173,7 +173,7 @@
                 right: 0;
                 right: 0;
                 :global {
                 :global {
                     .vue-barcode-element {
                     .vue-barcode-element {
-                        widows: 100% !important;
+                        width: 100% !important;
                     }
                     }
                 }
                 }
             }
             }

+ 2 - 0
src/business/platform/form/utils/JForm.js

@@ -27,6 +27,7 @@ import pinyin4js from 'pinyin4js';
 import store from '@/store'
 import store from '@/store'
 import router from '@/router'
 import router from '@/router'
 import { save } from '@/api/platform/message/innerMessage'
 import { save } from '@/api/platform/message/innerMessage'
+import { get as getUserById } from '@/api/platform/org/user'
 
 
 import {
 import {
     goSeal, wordToPdf, sealByKeywords, docxToPdfAndSign
     goSeal, wordToPdf, sealByKeywords, docxToPdfAndSign
@@ -70,6 +71,7 @@ _.extend(JForm, {
         this.$getFileByte = getFileByte // 获取文件流
         this.$getFileByte = getFileByte // 获取文件流
         this.$uploadFile = uploadFile   // 文件上传接口
         this.$uploadFile = uploadFile   // 文件上传接口
         this.$sign = docxToPdfAndSign
         this.$sign = docxToPdfAndSign
+        this.$getUserById = getUserById
         this._ = _
         this._ = _
         this.$store = store
         this.$store = store
         this._isInitialization = true
         this._isInitialization = true