峰峰执法平台简易案件程序板块 pad端
yang
2022-12-28 2591d9565cda1c392a630ddfd988952c7ae65cda
第一版PAD
8个文件已修改
1个文件已添加
37个文件已删除
491 ■■■■ 已修改文件
dist-11.4.rar 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/TranscriptOfStatement.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/administrativeEnforcementDecision.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/administrativePenaltyConfiscationProperty.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/administrativePenaltyRecord.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/advanceNotice.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/ajdczj.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/ajlydjb.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/applicationForRights.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/caseGroupDiscussWord.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/certificateOfService.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/chechCause.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/constraintExecute.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/constraintExecuteDecide.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/correctionNotice.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/dcxwtzs.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/evidence.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/finalReport.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/forceCaseDecide.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/forceCaseRecord.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/hearingNotice.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/inquiryCause.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/lasp.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/mswpclqd.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/nowAdministrativePenaltyDecision.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/penaltyDecision.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/photosEvidence.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/recordOfHearing.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/relieveForceDecide.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/reviewOpinion.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/samplingEvidenceForm.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/saveproofDisposeInform.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/ssxzqzcs.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/ssxzqzcs1.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/tolerance_exemption_notice.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/xxdjbczjspb.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/xxdjbczjwpcl.docx 补丁 | 查看 | 原始文档 | blame | 历史
public/wordes/xzcfjd.docx 补丁 | 查看 | 原始文档 | blame | 历史
src/libs/word.js 386 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/axios.js 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/pad/index.js 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/router.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/index.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/padFrom.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeBL.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
dist-11.4.rar
Binary files differ
public/wordes/TranscriptOfStatement.docx
Binary files differ
public/wordes/administrativeEnforcementDecision.docx
Binary files differ
public/wordes/administrativePenaltyConfiscationProperty.docx
Binary files differ
public/wordes/administrativePenaltyRecord.docx
Binary files differ
public/wordes/advanceNotice.docx
Binary files differ
public/wordes/ajdczj.docx
Binary files differ
public/wordes/ajlydjb.docx
Binary files differ
public/wordes/applicationForRights.docx
Binary files differ
public/wordes/caseGroupDiscussWord.docx
Binary files differ
public/wordes/certificateOfService.docx
Binary files differ
public/wordes/chechCause.docx
Binary files differ
public/wordes/constraintExecute.docx
Binary files differ
public/wordes/constraintExecuteDecide.docx
Binary files differ
public/wordes/correctionNotice.docx
Binary files differ
public/wordes/dcxwtzs.docx
Binary files differ
public/wordes/evidence.docx
Binary files differ
public/wordes/finalReport.docx
Binary files differ
public/wordes/forceCaseDecide.docx
Binary files differ
public/wordes/forceCaseRecord.docx
Binary files differ
public/wordes/hearingNotice.docx
Binary files differ
public/wordes/inquiryCause.docx
Binary files differ
public/wordes/lasp.docx
Binary files differ
public/wordes/mswpclqd.docx
Binary files differ
public/wordes/nowAdministrativePenaltyDecision.docx
Binary files differ
public/wordes/penaltyDecision.docx
Binary files differ
public/wordes/photosEvidence.docx
Binary files differ
public/wordes/recordOfHearing.docx
Binary files differ
public/wordes/relieveForceDecide.docx
Binary files differ
public/wordes/reviewOpinion.docx
Binary files differ
public/wordes/samplingEvidenceForm.docx
Binary files differ
public/wordes/saveproofDisposeInform.docx
Binary files differ
public/wordes/ssxzqzcs.docx
Binary files differ
public/wordes/ssxzqzcs1.docx
Binary files differ
public/wordes/tolerance_exemption_notice.docx
Binary files differ
public/wordes/xxdjbczjspb.docx
Binary files differ
public/wordes/xxdjbczjwpcl.docx
Binary files differ
public/wordes/xzcfjd.docx
Binary files differ
src/libs/word.js
@@ -2,62 +2,65 @@
import PizZip from 'pizzip'
import JSZipUtils from 'jszip-utils'
import {saveAs} from 'file-saver'
let docx = require("docx-preview");
const ImageModule = require("docxtemplater-image-module-free");
const base64Regex =
    /^data:image\/(png|jpg|svg|svg\+xml);base64,/;
  /^data:image\/(png|jpg|svg|svg\+xml);base64,/;
//下载word,不带图片
export const exportDoc = (e, path , dname) => {
    for (let attr in e) {
        if (e[attr] == null) {
            e[attr] = "";
        }
export const exportDoc = (e, path, dname) => {
  for (let attr in e) {
    if (e[attr] == null) {
      e[attr] = "";
    }
    let docxsrc = path;        //模板文件的位置
    let docxname = dname;        //导出文件的名字
    // 读取并获得模板文件的二进制内容
    JSZipUtils.getBinaryContent(docxsrc, function (error, content) {
        // docxsrc是模板。我们在导出的时候,会根据此模板来导出对应的数据
        // 抛出异常
        if (error) {
            throw error;
        }
  }
  let docxsrc = path;        //模板文件的位置
  let docxname = dname;        //导出文件的名字
  // 读取并获得模板文件的二进制内容
  JSZipUtils.getBinaryContent(docxsrc, function (error, content) {
    // docxsrc是模板。我们在导出的时候,会根据此模板来导出对应的数据
    // 抛出异常
    if (error) {
      throw error;
    }
        // 创建一个PizZip实例,内容为模板的内容
        let zip = new PizZip(content);
        // 创建并加载docx templater实例对象
        let doc = new docxtemplater().loadZip(zip);
        // 设置模板变量的值
        doc.setData(e);
    // 创建一个PizZip实例,内容为模板的内容
    let zip = new PizZip(content);
    // 创建并加载docx templater实例对象
    let doc = new docxtemplater().loadZip(zip);
    // 设置模板变量的值
    doc.setData(e);
    console.log(doc.setData(e), 'doc.setData(e);')
        try {
            //替换所有模板变量
            doc.render();
        } catch (error) {
            let e = {
                message: error.message,
                name: error.name,
                stack: error.stack,
                properties: error.properties
            };
            console.log(JSON.stringify({error: e}));
            throw error;
        }
        // 生成一个代表docxtemplater对象的zip文件(不是一个真实的文件,而是在内存中的表示)
        let out = doc.getZip().generate({
            type: "blob",
            mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
        });
        // 将目标文件对象保存为目标类型的文件,并命名
        saveAs(out, docxname);
    try {
      //替换所有模板变量
      doc.render();
    } catch (error) {
      let e = {
        message: error.message,
        name: error.name,
        stack: error.stack,
        properties: error.properties
      };
      console.log(JSON.stringify({error: e}));
      throw error;
    }
    console.log(doc, 'out~doc')
    // 生成一个代表docxtemplater对象的zip文件(不是一个真实的文件,而是在内存中的表示)
    let out = doc.getZip().generate({
      type: "blob",
      mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
    });
    console.log(doc.getZip().generate, 'doc.getZip().generate')
    // 将目标文件对象保存为目标类型的文件,并命名
    saveAs(out, docxname);
  });
};
//下载word,带图片
export const exportDocWidthImg = (e, path , dname, imgSize) => {
export const exportDocWidthImg = (e, path, dname, imgSize) => {
  for (let attr in e) {
    if (e[attr] == null) {
      e[attr] = "";
@@ -81,15 +84,15 @@
    // // 图片处理
    const opts = {}
    opts.fileType = "docx";
    opts.getImage = (chartId) =>{
    opts.getImage = (chartId) => {
      return base64DataURLToArrayBuffer(chartId);
    }
    opts.getSize = function(img, tagVlaue, tagName){  //图片size
      if(imgSize.hasOwnProperty(tagName)) {
    opts.getSize = function (img, tagVlaue, tagName) {  //图片size
      if (imgSize.hasOwnProperty(tagName)) {
        return imgSize[tagName]
      }else {
        return [100,100]
      } else {
        return [100, 100]
      }
    }
    let imageModule = new ImageModule(opts);
@@ -123,172 +126,175 @@
}
//预览word,不带图片的
export const viewD = (e, path , continer) => {
    for (let attr in e) {
        if (e[attr] == null) {
            e[attr] = "";
        }
export const viewD = (e, path, continer) => {
  for (let attr in e) {
    if (e[attr] == null) {
      e[attr] = "";
    }
    let docxsrc = path;        //模板文件的位置
    // 读取并获得模板文件的二进制内容
    JSZipUtils.getBinaryContent(docxsrc, function (error, content) {
        // docxsrc是模板。我们在导出的时候,会根据此模板来导出对应的数据
        // 抛出异常
        if (error) {
            throw error;
        }
  }
  let docxsrc = path;        //模板文件的位置
  // 读取并获得模板文件的二进制内容
  JSZipUtils.getBinaryContent(docxsrc, function (error, content) {
    // docxsrc是模板。我们在导出的时候,会根据此模板来导出对应的数据
    // 抛出异常
    if (error) {
      throw error;
    }
        // 创建一个PizZip实例,内容为模板的内容
        let zip = new PizZip(content);
        // 创建并加载docx templater实例对象
        let doc = new docxtemplater().loadZip(zip);
        // 设置模板变量的值
        doc.setData(e);
    // 创建一个PizZip实例,内容为模板的内容
    let zip = new PizZip(content);
    // 创建并加载docx templater实例对象
    let doc = new docxtemplater().loadZip(zip);
    // 设置模板变量的值
    doc.setData(e);
        try {
            //替换所有模板变量
            doc.render();
        } catch (error) {
            let e = {
                message: error.message,
                name: error.name,
                stack: error.stack,
                properties: error.properties
            };
            console.log(JSON.stringify({error: e}));
            throw error;
        }
    try {
      //替换所有模板变量
      doc.render();
    } catch (error) {
      let e = {
        message: error.message,
        name: error.name,
        stack: error.stack,
        properties: error.properties
      };
      console.log(JSON.stringify({error: e}));
      throw error;
    }
        // 生成一个代表docxtemplater对象的zip文件(不是一个真实的文件,而是在内存中的表示)
        let out = doc.getZip().generate({
            type: "blob",
            mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
        });
        docx.renderAsync(out, continer); // 渲染到页面预览
    // 生成一个代表docxtemplater对象的zip文件(不是一个真实的文件,而是在内存中的表示)
    let out = doc.getZip().generate({
      type: "blob",
      mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
    });
    console.log(out, 'out')
    // window.android.toDownLoadWord(out)
    docx.renderAsync(out, continer); // 渲染到页面预览
  });
};
//预览带图片的word
export const viewWithImg = (e, path , continer, imgSize) => {
    for (let attr in e) {
        if (e[attr] == null) {
            e[attr] = "";
        }
export const viewWithImg = (e, path, continer, imgSize) => {
  for (let attr in e) {
    if (e[attr] == null) {
      e[attr] = "";
    }
    let docxsrc = path;        //模板文件的位置
    JSZipUtils.getBinaryContent(docxsrc, function (error, content) {
        // docxsrc是模板。我们在导出的时候,会根据此模板来导出对应的数据
        // 抛出异常
        if (error) {
            throw error;
        }
  }
  let docxsrc = path;        //模板文件的位置
  JSZipUtils.getBinaryContent(docxsrc, function (error, content) {
    // docxsrc是模板。我们在导出的时候,会根据此模板来导出对应的数据
    // 抛出异常
    if (error) {
      throw error;
    }
        const doc = new docxtemplater();
        // // 创建一个PizZip实例,内容为模板的内容
        const zip = new PizZip(content);
        doc.loadZip(zip)
        // // 图片处理
        const opts = {}
        opts.fileType = "docx";
        opts.getImage = (chartId) =>{
            return base64DataURLToArrayBuffer(chartId);
        }
    const doc = new docxtemplater();
    // // 创建一个PizZip实例,内容为模板的内容
    const zip = new PizZip(content);
    doc.loadZip(zip)
    // // 图片处理
    const opts = {}
    opts.fileType = "docx";
    opts.getImage = (chartId) => {
      return base64DataURLToArrayBuffer(chartId);
    }
        opts.getSize = function(img, tagVlaue, tagName){  //图片size
          if(imgSize.hasOwnProperty(tagName)) {
            return imgSize[tagName]
          }else {
            return [100,100]
          }
        }
        let imageModule = new ImageModule(opts);
        doc.attachModule(imageModule);
        doc.setData(e);
    opts.getSize = function (img, tagVlaue, tagName) {  //图片size
      if (imgSize.hasOwnProperty(tagName)) {
        return imgSize[tagName]
      } else {
        return [100, 100]
      }
    }
    let imageModule = new ImageModule(opts);
    doc.attachModule(imageModule);
    doc.setData(e);
        try {
            //     //替换所有模板变量
            doc.render();
        } catch (error) {
            let e = {
                message: error.message,
                name: error.name,
                stack: error.stack,
                properties: error.properties
            };
            console.log(JSON.stringify({error: e}));
            //     throw error;
        }
    try {
      //     //替换所有模板变量
      doc.render();
    } catch (error) {
      let e = {
        message: error.message,
        name: error.name,
        stack: error.stack,
        properties: error.properties
      };
      console.log(JSON.stringify({error: e}));
      //     throw error;
    }
        // 生成一个代表docxtemplater对象的zip文件(不是一个真实的文件,而是在内存中的表示)
        let out = doc.getZip().generate({
            type: "blob",
            mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
        });
        docx.renderAsync(out, continer); // 渲染到页面预览
    // 生成一个代表docxtemplater对象的zip文件(不是一个真实的文件,而是在内存中的表示)
    let out = doc.getZip().generate({
      type: "blob",
      mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
    });
    docx.renderAsync(out, continer); // 渲染到页面预览
  });
};
function base64DataURLToArrayBuffer(dataURL) {
    const base64Regex = /^data:image\/(png|jpg|svg|svg\+xml);base64,/;
    if (!base64Regex.test(dataURL)) {
        return false;
    }
    const stringBase64 = dataURL.replace(base64Regex, "");
    let binaryString;
    if (typeof window !== "undefined") {
        binaryString = window.atob(stringBase64);
    } else {
        binaryString = new Buffer(stringBase64, "base64").toString("binary");
    }
    const len = binaryString.length;
    const bytes = new Uint8Array(len);
    for (let i = 0; i < len; i++) {
        const ascii = binaryString.charCodeAt(i);
        bytes[i] = ascii;
    }
    return bytes.buffer;
  const base64Regex = /^data:image\/(png|jpg|svg|svg\+xml);base64,/;
  if (!base64Regex.test(dataURL)) {
    return false;
  }
  const stringBase64 = dataURL.replace(base64Regex, "");
  let binaryString;
  if (typeof window !== "undefined") {
    binaryString = window.atob(stringBase64);
  } else {
    binaryString = new Buffer(stringBase64, "base64").toString("binary");
  }
  const len = binaryString.length;
  const bytes = new Uint8Array(len);
  for (let i = 0; i < len; i++) {
    const ascii = binaryString.charCodeAt(i);
    bytes[i] = ascii;
  }
  return bytes.buffer;
}
export const urlToBase64 = (url, callback) => {
    let image = new Image();
    //解决跨域问题
    image.setAttribute('crossOrigin', '*');
    image.src = url
    image.onload = () => {
        var canvas = document.createElement("canvas");
        canvas.width = image.width;
        canvas.height = image.height;
        var context = canvas.getContext('2d');
        context.drawImage(image, 0, 0, image.width, image.height);
        var quality = 0.8;
        //这里的dataurl就是base64类型
        var dataURL = canvas.toDataURL("image/png", quality);
        callback ? callback(dataURL) : null; //调用回调函数
    }
  let image = new Image();
  //解决跨域问题
  image.setAttribute('crossOrigin', '*');
  image.src = url
  image.onload = () => {
    var canvas = document.createElement("canvas");
    canvas.width = image.width;
    canvas.height = image.height;
    var context = canvas.getContext('2d');
    context.drawImage(image, 0, 0, image.width, image.height);
    var quality = 0.8;
    //这里的dataurl就是base64类型
    var dataURL = canvas.toDataURL("image/png", quality);
    callback ? callback(dataURL) : null; //调用回调函数
  }
};
function base64Parser(dataURL) {
    if (
        typeof dataURL !== "string" ||
        !base64Regex.test(dataURL)
    ) {
        return false;
    }
    const stringBase64 = dataURL.replace(base64Regex, "");
  if (
    typeof dataURL !== "string" ||
    !base64Regex.test(dataURL)
  ) {
    return false;
  }
  const stringBase64 = dataURL.replace(base64Regex, "");
    // For nodejs
    if (typeof Buffer !== "undefined" && Buffer.from) {
        return Buffer.from(stringBase64, "base64");
    }
  // For nodejs
  if (typeof Buffer !== "undefined" && Buffer.from) {
    return Buffer.from(stringBase64, "base64");
  }
    // For browsers :
    const binaryString = window.atob(stringBase64);
    const len = binaryString.length;
    const bytes = new Uint8Array(len);
    for (let i = 0; i < len; i++) {
        const ascii = binaryString.charCodeAt(i);
        bytes[i] = ascii;
    }
    return bytes.buffer;
  // For browsers :
  const binaryString = window.atob(stringBase64);
  const len = binaryString.length;
  const bytes = new Uint8Array(len);
  for (let i = 0; i < len; i++) {
    const ascii = binaryString.charCodeAt(i);
    bytes[i] = ascii;
  }
  return bytes.buffer;
}
src/router/axios.js
@@ -34,9 +34,9 @@
  const TENANT_ID = getStore({ name: 'tenantId' })
  const isToken = (config.headers || {}).isToken === false
  const token = window.android.getAppToken()
  // const token = `dd271fdb-4b69-4eb3-a940-52d70232e56b`
  // const token = `59866cb8-c5ba-4b2f-a367-3ab2f64f30c5`
  if (token && !isToken) {
    config.headers['Authorization'] = 'bearer ' + token// token
    config.headers['Authorization'] = 'Bearer ' + token// token
  }
  if (TENANT_ID) {
    config.headers['TENANT-ID'] = TENANT_ID // 租户ID
@@ -47,7 +47,7 @@
    config.data = serialize(config.data)
    delete config.data.serialize
  }
  config.headers['VERSION'] = 'lmm'
  // config.headers['VERSION'] = 'GHX'
  if (config.method === 'get'||config.params) {
    config.paramsSerializer = function (params) {
      let p ={};
@@ -73,27 +73,27 @@
  // loadingInstance.close();
  const status = Number(res.status) || 200
  const message = res.data.msg || errorCode[status] || errorCode['default']
 /* if (status === 401) {
    // Message({
    //   message: message,
    //   type: 'error'
    // })
  /*if (status === 401) {
    Message({
      message: message,
      type: 'error'
    })
    handleError(message)
    store.dispatch('FedLogOut').then(() => {
      router.push({ path: '/login' })
      router.push({ path: '/pad' })
    })
    return
  }*/
  // if (status !== 200 || res.data.code === 1) {
  //   // Message({
  //   //   message: message,
  //   //   type: 'error'
  //   // })
  //   // handleError(message)
  //   return handleError(message)
  //   // return Promise.reject(new Error(message))
  // }
  /*if (status !== 200 || res.data.code === 1) {
    Message({
      message: message,
      type: 'error'
    })
    handleError(message)
    return handleError(message)
    // return Promise.reject(new Error(message))
  }*/
  return res
}, error => {
  NProgress.done()
src/router/pad/index.js
@@ -5,26 +5,30 @@
  path: '/pad',
  component: padHome,
  redirect: '/pad',
  meta: { noNeedLogin: true },
  meta: {noNeedLogin: true},
  children: [{
    path: '/pad',
    name: '简易程序案件',
    component: () =>
      import(/* webpackChunkName: "page" */ '@/views/padSunmaryProcedure/index')
  },{
  }, {
    path: '/fromAdd',
    name: '简易程序案件',
    component: () =>
      import(/* webpackChunkName: "page" */ '@/views/padSunmaryProcedure/padFrom')
  },{
    path: '/padWord',
    name: '案件填报流程',
    component: () =>
      import(/* webpackChunkName: "page" */ '@/views/padSunmaryProcedure/padWord')
  },{
    path: '/WordYulan',
    name: 'word预览',
    component: () =>
      import(/* webpackChunkName: "page" */ '@/views/padSunmaryProcedure/word-view')
  }]
}]
  },
    {
      path: '/padWord',
      name: '案件填报流程',
      component: () =>
        import(/* webpackChunkName: "page" */ '../../views/padSunmaryProcedure/padWord')
    }
    /*,{
      path: '/WordYulan',
      name: 'word预览',
      component: () =>
        import(/!* webpackChunkName: "page" *!/ '@/views/padSunmaryProcedure/word-view')
    }*/
  ]
}
]
src/router/router.js
@@ -23,10 +23,10 @@
const originalPush = VueRouter.prototype.push
const originalReplace = VueRouter.prototype.replace
//push
VueRouter.prototype.push = function push(location, onResolve, onReject) {
/*VueRouter.prototype.push = function push(location, onResolve, onReject) {
  if (onResolve || onReject) return originalPush.call(this, location, onResolve, onReject)
  return originalPush.call(this, location).catch(err => err)
}
}*/
//replace
VueRouter.prototype.replace = function push(location, onResolve, onReject) {
  if (onResolve || onReject) return originalReplace.call(this, location, onResolve, onReject)
src/views/padSunmaryProcedure/index.vue
@@ -77,7 +77,9 @@
      isShow: false,
      formInline: {
        litigant: '',
        phone: ''
        phone: '',
        current:this.pageIndex,
        size:this.pageSize
      },
      pageSize: 10,
      pageIndex: 1,
@@ -99,14 +101,19 @@
    getDataList(type) {
      // this.$nextTick(()=>{
      if (type == 0) {
        this.formInline.type = type
        this.formInline.type = type;
        this.formInline.current=this.pageIndex;
        this.formInline.size=this.pageSize;
        getObj(this.formInline).then(res => {
          this.tableData = res.data.data.records
          this.total =res.data.data.total
        })
      } else {
        // this.formInline.type = type;
        this.formInline.current=this.pageIndex;
        this.formInline.size=this.pageSize;
        // this.formInline.user=333
        getObj().then(res => {
        getObj(this.formInline).then(res => {
          this.tableData = res.data.data.records
        })
      }
@@ -139,12 +146,12 @@
    sizeChangeHandle(val) {
      this.pageSize = val;
      this.pageIndex = 1;
      // this.getDataList();
      this.getDataList(0);
    },
    // 当前页
    currentChangeHandle(val) {
      this.pageIndex = val;
      // this.getDataList();
      this.getDataList(0);
    },
  }
}
src/views/padSunmaryProcedure/padFrom.vue
@@ -184,12 +184,12 @@
    },
    init() {
      // this.$nextTick(()=>{
      getIdByToken().then(res => {
        console.log(res, 'getIdByToken')
        let a = res.data.data;
      // getIdByToken().then(res => {
      //   console.log(res, 'getIdByToken')
      //   let a = res.data.data;
        // let b = parseInt(a)
        this.form.hanlderIds.push(a)
      })
        // this.form.hanlderIds.push(a)
      // })
      //查询办案人员信息
      getfindAll().then((res) => {
        this.organPersons = res.data.data;
src/views/padSunmaryProcedure/word_mange/mangeBL.vue
@@ -66,7 +66,7 @@
      <el-row>
        <el-col :span="12">
          <el-form-item label="询问人">
            <el-input v-model="form.inquirerNameOne" placeholder="请填写询问人"></el-input>
            <el-input v-model="form.inquisitorialNameOne" placeholder="请填写询问人"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
@@ -78,7 +78,7 @@
      <el-row>
        <el-col :span="12">
          <el-form-item>
            <el-input v-model="form.inquirerNameTwo" placeholder="请填写询问人"></el-input>
            <el-input v-model="form.inquisitorialNameTwo" placeholder="请填写询问人"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
vue.config.js
@@ -4,7 +4,7 @@
 */
// const url = 'http://localhost:9999'
// const url = 'http://192.168.0.164:9999'
// const url = 'http://192.168.0.134:9999'
//  const url = 'http://192.168.0.126:9999/'
// const url = 'http://boying.tpddns.cn:9999/'
const url = 'http://36.138.175.42:9999/'
const webpack = require('webpack')