Przeglądaj źródła

del:去除微签接口信息

liujiayin 3 lat temu
rodzic
commit
1c457a253f

+ 0 - 61
src/api/platform/file/attachment.js

@@ -190,67 +190,6 @@ export function snapshoot(params) {
     params: params
   })
 }
-/* 脚本对文件盖章 */
-export function seal(url, fileType, type) {
-  let Base64 = require('js-base64').Base64
-  let data = {
-    "signKey": "V1FTMjAyMTEyMjFkOTVjNWM=",
-    "signSecret": "YWQwMmY3ZjQ4ZDJmMmYwNDA=",
-    "sealUser": "YWRtaW4=",
-    "password": "MTIzNA==",
-    //"ruleName": "6aqR57yd56ug6KeE5YiZLOmmlumhteeblueroA==",
-    "ruleName": type,
-    "provideSigFile": Base64.encode(url),
-    "fileKey": Base64.encode(generateUUID() + '.' + fileType)
-  }
-  return axios({
-    url: this.$form.$getSealUploadingFile,
-    method: 'post',
-    isLoading: true,
-    data: data
-  })
-}
-
-/* 脚本对文件进行手动盖章-预处理 */
-export function sealPre(url, fileKey) {
-  let Base64 = require('js-base64').Base64
-  let data = {
-    "signKey": "V1FTMjAyMTEyMjFkOTVjNWM=",
-    "signSecret": "YWQwMmY3ZjQ4ZDJmMmYwNDA=",
-    "sealUser": "YWRtaW4=",
-    "password": "MTIzNA==",
-    "provideSigFile": Base64.encode(url),
-    // "getSigFile":  Base64.encode(this.$form.$getSigFile),
-    "getSigFile":  Base64.encode('http://120.78.154.31'),
-
-    "fileKey": Base64.encode(fileKey),
-  }
-  return axios({
-    url: this.$form.$getSealPreFile,
-    method: 'post',
-    isLoading: true,
-    data: data
-  })
-}
-/* 脚本对文件进行手动盖章-手动签章页面 */
-export function sealPage(sigFile) {
-  let data = {
-    "signKey": "V1FTMjAyMTEyMjFkOTVjNWM=",
-    "signSecret": "YWQwMmY3ZjQ4ZDJmMmYwNDA=",
-    "sigFile": sigFile?sigFile:''
-  }
-  return axios({
-    url: this.$form.$getSealPageFile,
-    method: 'get',
-    isLoading: true,
-    params: data
-  })
-}
-/* 脚本对文件进行手动盖章-手动签章页面的url */
-export function getSigPageUrl(sigFile) {
-  let sigUrl = this.$form.$getSealPageFile+'?signKey=V1FTMjAyMTEyMjFkOTVjNWM=&signSecret=YWQwMmY3ZjQ4ZDJmMmYwNDA=&sigFile='+sigFile;
-  return  sigUrl
-}
 
 export function generateUUID() {
   var d = new Date().getTime();

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

@@ -14,15 +14,10 @@ import request from '@/utils/request'
 import dialog from '@/utils/dialog'
 import getserial from './custom/serialNumber' //编码规则
 import pintText from './custom/pintText.js' //打印规则
-import doManulSeal from './custom/doManulSeal.js' // 手动签章弹框
 import repostCurd from './custom/joinCURD.js' //增删改查规则
 import getDate from './custom/getDateRule.js' //获取年月日
 import {
     snapshoot,
-    seal,
-    sealPre,
-    sealPage,
-    getSigPageUrl,
     generateUUID,
     getFileByte,
     uploadFile
@@ -66,11 +61,6 @@ _.extend(JForm, {
         this.$getPint = pintText //封装打开报表
         this.$curdPost = repostCurd //封装通用增删改查
         this.$snapshoot = snapshoot //报表快照(经过润乾)
-        this.$seal = seal //对报表进行印章
-        this.$sealPre = sealPre // 对报表进行手动印章->预处理
-        this.$sealPage = sealPage // 对报表进行手动印章->预处理->签章页面
-        this.$getSigPageUrl = getSigPageUrl // 对报表进行手动印章->预处理->签章页面
-        this.$doManulSeal = doManulSeal // 手动签章弹框
         this.$generateUUID = generateUUID // 自定义规则自动生成uuid
         this.$router = router //添加router对象
         this.$save = save   // 文件发放通知

+ 0 - 14
src/business/platform/form/utils/custom/doManulSeal.js

@@ -1,14 +0,0 @@
-import Vue from 'vue'
-import doSealDialog from '../../../../../views/component/doSealDialog.vue'
-
-
-let MessageConstructor = Vue.extend(doSealDialog)
-let instance
-const doManulSeal = function(options) {
-    instance = new MessageConstructor({
-        data: options
-    })
-    // console.log("options:",options.html)
-    document.body.appendChild(instance.$mount().$el) //this.$el拿到组件实际上的dom,把他挂载到body上
-}
-export default doManulSeal

+ 0 - 9
src/plugins/ibps/index.js

@@ -64,16 +64,7 @@ export default {
                 //报表路径
                 Vue.prototype.$reportPash = `http://120.78.154.31/demo/reportJsp/showReport.jsp?access_token=${getToken()}&rpx=${reportPath}/`
                 Vue.prototype.$getReportFile = downloadReport //通过方法函数,拼接url,并将字符串格式化
-                // Vue.prototype.$getSealUri = 'https://www.szjyxt.com/getSealFile/' //微签 回显获取文件地址
-                Vue.prototype.$getSealUri = 'http://120.78.154.31:9999/no/getSealFile/' //微签 回显获取文件地址
-
                 Vue.prototype.$getFileDow = 'http://120.78.154.31/ibps/platform/v3/file/download?attachmentId=' //文件下载地址
-                Vue.prototype.$getSealUploadingFile = 'http://120.78.154.31/doSeal/' //微签 上传地址
-                Vue.prototype.$getSealPreFile = 'http://120.78.154.31/preprocess/' //微签 手动签章-预处理
-                // Vue.prototype.$getSealPageFile = 'https://www.szjyxt.com/manualSigPage/' //微签 手动签章-页面接口
-                Vue.prototype.$getSealPageFile = 'http://120.77.249.241:9999/manualSig/manualSigPage/' //微签 手动签章-页面接口( 微签服务器地址,非nginx转发)
-                Vue.prototype.$getSigFile = 'http://120.77.249.241:8080/doSeal/getSigFile/' //微签 手动签章-页面接口-签章页面完成按钮回调接口
-
                 clearInterval(timer) //添加成功后即删除定时任务
             }
         }, 500)