峰峰执法平台简易案件程序板块 pad端
yang
2022-10-26 1b3f4dd63fe08c6e8a48a635746aec1ea49c9c43
修改
5个文件已修改
17 ■■■■■ 已修改文件
src/router/axios.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/padWord.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeBL.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeJD.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/axios.js
@@ -24,7 +24,6 @@
let loadingInstance =null;
// HTTPrequest拦截
axios.interceptors.request.use(config => {
  console.log(config,'config--')
  /*NProgress.start() // start progress bar
 loadingInstance = Loading.service({
   lock: true,
@@ -35,8 +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`
  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
src/views/padSunmaryProcedure/padWord.vue
@@ -2,7 +2,7 @@
  <div style="width: 100%;height: 100%;overflow: auto;">
    <div id="navs">
      <el-button icon="el-icon-arrow-left" @click="goHome">返回</el-button>
      <div>{{ name1 }}</div>
<!--      <div>{{ name1 }}</div>-->
      <el-button icon="el-icon-upload el-icon--right" @click="submit">提交</el-button>
    </div>
    <el-tabs type="border-card" style="margin-top: 10px!important;" v-model="activeName" @tab-click="handleClick"
@@ -36,7 +36,7 @@
  data() {
    return {
      form:{
        id:''
        id:this.id,
      },
      name1: "",
      activeName: 'first'
@@ -56,7 +56,7 @@
      })
    },
    submit() {
      submitcase(this.id).then(res => {
      submitcase(this.form).then(res => {
        this.goHome()
      })
    },
src/views/padSunmaryProcedure/word_mange/mangeBL.vue
@@ -175,6 +175,7 @@
  },
  mounted() {
    this.id = this.$store.state.user.id
    console.log(this.id,'id')
    this.getDataList()
    window.getSignUrl =this.getSignUrl;
    window.getFingerUrl =this.getFingerUrl;
src/views/padSunmaryProcedure/word_mange/mangeJD.vue
@@ -144,9 +144,11 @@
  },
  methods: {
    init() {
      this.$nextTick(() => {
      nowpenaltydecision(this.id).then(res => {
        this.form = res.data.data
      })
      })
    },
    //点击保存数据
    dataFormSubmit() {
vue.config.js
@@ -3,10 +3,10 @@
 * https://cli.vuejs.org/zh/config/
 */
// const url = 'http://localhost:9999'
const url = 'http://192.168.0.164:9999'
// const url = 'http://192.168.0.164:9999'
// const url = 'http://192.168.0.134:9999'
// const url = 'http://boying.tpddns.cn:9999/'
// const url = 'http://36.138.175.42:9999/'
const url = 'http://36.138.175.42:9999/'
const webpack = require('webpack')
const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']