journal.js 770 Bytes
import request from '@/utils/request'
import SERVER from './config'

class journal {
  // 重新抽取
  async extractionAndInsertData (id) {
    return request({
      url: SERVER.SERVERAPI + '/sjsbFunctionOper/extractionAndInsertData',
      method: 'get',
      params: {
        msgid: id
      }
    })
  }
  // 错误日志查询
  async queryErrorLog (id) {
    return request({
      url: SERVER.SERVERAPI + '/sjsbFunctionOper/queryErrorLog',
      method: 'get',
      params: {
        msgid: id
      }
    })
  }
  // 校验报文
  async checkSjsbXmlDatas (id) {
    return request({
      url: SERVER.SERVERAPI + '/sjsbFunctionOper/checkSjsbXmlDatas',
      method: 'get',
      params: {
        msgid: id
      }
    })
  }
}
export default new journal()