瀏覽代碼

格式修改

zhuxinbo 5 年之前
父節點
當前提交
4e6022d3d4
共有 4 個文件被更改,包括 20 次插入5 次删除
  1. 15 0
      src/api/manage.js
  2. 2 2
      src/views/modules/Statistics/Statistics.vue
  3. 1 1
      src/views/modules/material/videoMaterial.vue
  4. 2 2
      vue.config.js

+ 15 - 0
src/api/manage.js

@@ -10,6 +10,21 @@ const api = {
 
 
 export default api
 export default api
 
 
+
+
+//post  不缓存
+export function postNoCacheAction(url, parameter) {
+    return axios({
+      url: url,
+      method: 'post',
+      data: parameter,
+      headers: {
+        'Cache-Control': 'no-cache'
+      }
+    })
+  }
+
+
 //post
 //post
 export function postAction(url, parameter) {
 export function postAction(url, parameter) {
   return axios({
   return axios({

+ 2 - 2
src/views/modules/Statistics/Statistics.vue

@@ -491,8 +491,8 @@ export default {
         }
         }
       })
       })
       getKsDetail(params).then(res => {
       getKsDetail(params).then(res => {
-        this.contrastDataList = res
-        this.drawSearchLine(this.noTitleKeyTwo, res)
+        this.contrastDataList = res.result
+        this.drawSearchLine(this.noTitleKeyTwo, res.result)
       })
       })
       getReportList(params).then(res => {
       getReportList(params).then(res => {
         if (res.success) {
         if (res.success) {

+ 1 - 1
src/views/modules/material/videoMaterial.vue

@@ -668,7 +668,7 @@ a {
         <div
         <div
           style="width:50%;padding:10px;box-sizing:border-box;display:flex;justify-content:center;border-right:1px solid #f2f2f2"
           style="width:50%;padding:10px;box-sizing:border-box;display:flex;justify-content:center;border-right:1px solid #f2f2f2"
         >
         >
-          <video class="video" :src="showUrl" controls="controls" style="width:100%">
+          <video class="video" :src="showUrl" controls="controls" style="width:100%" controlsList="nodownload">
             您的浏览器不支持 video 标签。
             您的浏览器不支持 video 标签。
           </video>
           </video>
         </div>
         </div>

+ 2 - 2
vue.config.js

@@ -64,9 +64,9 @@ module.exports = {
          }
          }
        },*/
        },*/
       '/jeecg-boot': {
       '/jeecg-boot': {
-        target: 'http://39.97.120.42:8080', //请求本地 需要jeecg-boot后台项目  生产环境
+        // target: 'http://39.97.120.42:8080', //请求本地 需要jeecg-boot后台项目  生产环境
         // target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
-        // target: 'http://192.168.2.143:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
+        target: 'http://192.168.2.118:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
         // target: 'http://192.168.2.110:8080', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.2.110:8080', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.2.132:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://192.168.2.132:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云