Commit 14ddd087 by 米嘉伟

Merge branch 'dev_zwpt' of http://47.92.108.28/changchao/founder_vue into dev_zwpt

parents da2b3c49 1e58ba44
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -18459,6 +18459,9 @@ ...@@ -18459,6 +18459,9 @@
if (!data) { if (!data) {
return _util.Promise.reject(_consts.rejectMessages.invalidParameters); return _util.Promise.reject(_consts.rejectMessages.invalidParameters);
} }
// 裁剪的----张
console.log(data);
// _util.Promise.resolve(data)
return this.loadImageFromURL(data.url, data.imageName); return this.loadImageFromURL(data.url, data.imageName);
} }
...@@ -147,4 +147,29 @@ export default {}; ...@@ -147,4 +147,29 @@ export default {};
color: #2e3846; color: #2e3846;
} }
} }
/*.el-loading-spinner {
position: relative;
width: 170px;
height: 170px;
background-image: url("./assets/img/loadingfinger.gif");
background-repeat: no-repeat;
background-size: 170px 170px;
background-position: center;
svg {
display: none;
}
}
.el-loading-spinner::after {
top: 100px;
left: 0;
content: "";
position: absolute;
width: 140px;
height: 40px;
background-image: url("./assets/img/loadingtxt.gif");
background-repeat: no-repeat;
background-size: 140px 40px;
}*/
</style> </style>
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-11-25 10:15:01 * @Date: 2021-11-25 10:15:01
* @LastEditTime: 2021-11-26 15:57:33 * @LastEditTime: 2021-11-27 14:29:27
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\components\SelectCode.vue * @FilePath: \founder_vue\src\components\SelectCode.vue
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
} }
.multiple /deep/ { .multiple /deep/ {
.el-tag { .el-tag {
max-width: 100%; max-width: calc(100% - 80px);
position: relative; position: relative;
padding-right: 15px; padding-right: 15px;
} }
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-09-07 09:57:48 * @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-11-26 16:55:10 * @LastEditTime: 2021-11-27 17:11:21
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\plugins\axios.js * @FilePath: \指纹系统\founder_vue\src\plugins\axios.js
...@@ -36,7 +36,6 @@ const _axios = axios.create(config); ...@@ -36,7 +36,6 @@ const _axios = axios.create(config);
_axios.interceptors.request.use( _axios.interceptors.request.use(
function (config) { function (config) {
debugger;
//判断是否登录 //判断是否登录
if (config.url.indexOf('/login/myLoginForm') <= 0) { if (config.url.indexOf('/login/myLoginForm') <= 0) {
if (localStorage.getItem("token")) { if (localStorage.getItem("token")) {
...@@ -58,7 +57,7 @@ _axios.interceptors.request.use( ...@@ -58,7 +57,7 @@ _axios.interceptors.request.use(
// 判断当前请求是否设置了不显示Loading,默认显示 // 判断当前请求是否设置了不显示Loading,默认显示
if (config.loading !== false) { if (config.loading !== false) {
showLoading(config.headers.loadingTarget); // 如果设置了targer,使用设置的target,比如el-table showLoading(config.loadingTarget); // 如果设置了targer,使用设置的target,比如el-table
} }
NProgress.start(); NProgress.start();
return config; return config;
...@@ -73,7 +72,6 @@ _axios.interceptors.request.use( ...@@ -73,7 +72,6 @@ _axios.interceptors.request.use(
// Add a response interceptor // Add a response interceptor
_axios.interceptors.response.use( _axios.interceptors.response.use(
function (response) { function (response) {
debugger;
if (response.config.loading !== false) { if (response.config.loading !== false) {
hideLoading(); hideLoading();
} }
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-09-07 09:57:48 * @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-11-15 20:07:17 * @LastEditTime: 2021-11-27 14:20:16
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\router\index.js * @FilePath: \指纹系统\founder_vue\src\router\index.js
...@@ -67,7 +67,7 @@ const router = new VueRouter({ ...@@ -67,7 +67,7 @@ const router = new VueRouter({
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
console.log(from); console.log(from);
if(from.name === 'ryzwbj' || from.name === 'ajzwbj') { if (from.name === 'ryzwbj' || from.name === 'ajzwbj') {
setTimeout(() => { setTimeout(() => {
// 清空session // 清空session
sessionStorage.clear() sessionStorage.clear()
......
...@@ -16,6 +16,7 @@ import layout from "./modules/layout" ...@@ -16,6 +16,7 @@ import layout from "./modules/layout"
import publicData from "./modules/publicData" import publicData from "./modules/publicData"
import rydaxx from "./modules/rydaxx"; import rydaxx from "./modules/rydaxx";
import ajdaxx from "./modules/ajdaxx"; import ajdaxx from "./modules/ajdaxx";
import loading from "./modules/loading";
Vue.use(Vuex); Vue.use(Vuex);
...@@ -26,7 +27,8 @@ const store = new Vuex.Store({ ...@@ -26,7 +27,8 @@ const store = new Vuex.Store({
layout, layout,
publicData, publicData,
rydaxx, rydaxx,
ajdaxx ajdaxx,
loading
}, },
getters, getters,
plugins: [ plugins: [
......
/*
* @Author: your name
* @Date: 2021-11-04 11:12:33
* @LastEditTime: 2021-11-11 23:22:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\store\modules\zwbj.js
*/
import { SET_LOADING, SET_JUMPROUTE } from "./mutations-types";
const state = {
// 是否处于加载中
loading: false,
jumproute: true
};
const mutations = {
[SET_LOADING] (state, content) {
state.loading = content
},
[SET_JUMPROUTE] (state, content) {
state.jumproute = content
}
};
const actions = {
};
export default {
namespaced: true,
state,
mutations,
actions
};
...@@ -17,3 +17,10 @@ export const SET_AUTOZYHZ = 'setAutoZyhz' ...@@ -17,3 +17,10 @@ export const SET_AUTOZYHZ = 'setAutoZyhz'
// 人员档案信息 // 人员档案信息
export const SET_RYINFO = 'setRyInfo' export const SET_RYINFO = 'setRyInfo'
export const SET_AJINFO = 'setAjInfo' export const SET_AJINFO = 'setAjInfo'
// 全局loading
export const SET_LOADING = 'setLoading'
// 跳转路由
export const SET_JUMPROUTE = 'setJumpRoute'
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-11-26 16:37:59 * @Date: 2021-11-26 16:37:59
* @LastEditTime: 2021-11-26 16:59:01 * @LastEditTime: 2021-11-27 18:02:15
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\utils\requestLoading.js * @FilePath: \founder_vue\src\utils\requestLoading.js
*/ */
import utils from "./util"; import utils from "./util";
import { Loading } from 'element-ui' // 装包方式这样引入,我这里通过cdn引入,通过window.ELEMENT调用 import store from '../store/index';
// import { Loading } from 'element-ui' // 装包方式这样引入,我这里通过cdn引入,通过window.ELEMENT调用
// loading对象 // loading对象
let loading; let loading;
...@@ -20,12 +21,13 @@ export function showLoading(target) { ...@@ -20,12 +21,13 @@ export function showLoading(target) {
// 但needLoadingRequestCount已经变成0.避免这种情况下会重新创建个loading // 但needLoadingRequestCount已经变成0.避免这种情况下会重新创建个loading
console.log(needLoadingRequestCount, loading); console.log(needLoadingRequestCount, loading);
if (needLoadingRequestCount === 0 && !loading) { if (needLoadingRequestCount === 0 && !loading) {
loading = Loading.service({ // 通过cdn引入的element-ui // loading = Loading.service({ // 通过cdn引入的element-ui
lock: true, // lock: true,
text: "加载中...", // text: "",
background: "rgba(255, 255, 255, 0.7)", // background: "rgba(255, 255, 255, 0.7)",
target: target || "#micro-apps-container" // target: target || "#micro-apps-container"
}); // });
store.commit('loading/setLoading', true)
} }
needLoadingRequestCount++; needLoadingRequestCount++;
} }
...@@ -42,6 +44,7 @@ export function hideLoading() { ...@@ -42,6 +44,7 @@ export function hideLoading() {
// 防抖:将 300ms 间隔内的关闭 loading 便合并为一次。防止连续请求时, loading闪烁的问题。 // 防抖:将 300ms 间隔内的关闭 loading 便合并为一次。防止连续请求时, loading闪烁的问题。
let toHideLoading = utils.debounce(() => { let toHideLoading = utils.debounce(() => {
loading.close(); // loading.close();
loading = null; loading = null;
store.commit('loading/setLoading', false)
}, 500); }, 500);
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-10-22 09:42:07 * @Date: 2021-10-22 09:42:07
* @LastEditTime: 2021-11-22 11:00:22 * @LastEditTime: 2021-11-27 17:04:54
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue * @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
...@@ -198,9 +198,9 @@ export default { ...@@ -198,9 +198,9 @@ export default {
* 获取案件指纹原图 * 获取案件指纹原图
*/ */
getCaseOrigin (seq) { getCaseOrigin (seq) {
this.loading = Loading.service({ fullscreen: true, text: '正在加载...' });
this.$store.commit('zwbj/setSeq', seq)
let self = this let self = this
self.$store.commit('loading/setLoading', true)
this.$store.commit('zwbj/setSeq', seq)
this.$axios({ this.$axios({
method: 'post', method: 'post',
url: `/api/org/caseBybarcode/barcode/seq`, url: `/api/org/caseBybarcode/barcode/seq`,
...@@ -223,9 +223,8 @@ export default { ...@@ -223,9 +223,8 @@ export default {
}) })
clearTimeout(self.timer) clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null }, 500);
}, 1200);
}, },
/** /**
* 获取案件指纹 * 获取案件指纹
......
...@@ -20,7 +20,7 @@ $transOrigin: var(--transOrigin, 0px, 0px); ...@@ -20,7 +20,7 @@ $transOrigin: var(--transOrigin, 0px, 0px);
.imageEd_header { .imageEd_header {
margin-top: 20px; margin-top: 20px;
margin-bottom: 14px; margin-bottom: 14px;
height: 59px !important; height: 32px !important;
// flex-grow: 1; // flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -1067,11 +1067,13 @@ $transOrigin: var(--transOrigin, 0px, 0px); ...@@ -1067,11 +1067,13 @@ $transOrigin: var(--transOrigin, 0px, 0px);
display: flex; display: flex;
margin-right: 4px; margin-right: 4px;
img { img {
cursor: pointer;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
.name { .name {
cursor: pointer;
font-size: 14px; font-size: 14px;
font-family: MicrosoftYaHei; font-family: MicrosoftYaHei;
color: #055fe7; color: #055fe7;
...@@ -1506,10 +1508,13 @@ $transOrigin: var(--transOrigin, 0px, 0px); ...@@ -1506,10 +1508,13 @@ $transOrigin: var(--transOrigin, 0px, 0px);
.options-bottom { .options-bottom {
margin-top: 16px; margin-top: 16px;
width: 336px; width: 336px;
height: 512px; height: 488px;
background: #F6F8FA; background: #F6F8FA;
box-shadow: 0px -1px 2px 0px rgba(5, 95, 231, 0.25); box-shadow: 0px -1px 2px 0px rgba(5, 95, 231, 0.25);
border-radius: 4px; border-radius: 4px;
font-size: 15px;
font-family: MicrosoftYaHei;
color: #333333;
.options-bottom-title { .options-bottom-title {
padding-left: 16px; padding-left: 16px;
width: 336px; width: 336px;
...@@ -1526,13 +1531,15 @@ $transOrigin: var(--transOrigin, 0px, 0px); ...@@ -1526,13 +1531,15 @@ $transOrigin: var(--transOrigin, 0px, 0px);
flex-wrap: wrap; flex-wrap: wrap;
padding: 24px 16px 0 16px; padding: 24px 16px 0 16px;
.btn { .btn {
font-size: 14px;
font-family: MicrosoftYaHei;
color: #666666; color: #666666;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 64px; width: 64px;
height: 40px; height: 32px;
background: #f6f8fa; background: #f6f8fa;
box-shadow: 4px 4px 4px 0px rgba(193, 216, 251, 0.8), box-shadow: 4px 4px 4px 0px rgba(193, 216, 251, 0.8),
-4px -4px 4px 0px #ffffff; -4px -4px 4px 0px #ffffff;
......
...@@ -2317,6 +2317,8 @@ export default { ...@@ -2317,6 +2317,8 @@ export default {
// 移除图片上的点 // 移除图片上的点
$(".tzdDom").remove(); $(".tzdDom").remove();
$(".auto_tzdDom").remove(); $(".auto_tzdDom").remove();
this.$store.commit('zwbj/setTzdall', null)
this.$store.commit('zwbj/setAutoTzdall', null)
self.historys.push("清空"); self.historys.push("清空");
this.$message.success("已清空!"); this.$message.success("已清空!");
...@@ -3859,6 +3861,7 @@ export default { ...@@ -3859,6 +3861,7 @@ export default {
if (sessionArr.length == this.sessionCount) { if (sessionArr.length == this.sessionCount) {
return; return;
} else { } else {
this.$store.commit('loading/setJumpRoute', false)
this.$message.error("当前页面有未保存的指位!"); this.$message.error("当前页面有未保存的指位!");
} }
} }
......
...@@ -19,7 +19,7 @@ $directionRotate: var(--directionRotate, 0deg); ...@@ -19,7 +19,7 @@ $directionRotate: var(--directionRotate, 0deg);
.imageEd_header { .imageEd_header {
margin-top: 20px; margin-top: 20px;
margin-bottom: 14px; margin-bottom: 14px;
height: 59px; height: 32px;
// flex-grow: 1; // flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -2085,7 +2085,7 @@ $directionRotate: var(--directionRotate, 0deg); ...@@ -2085,7 +2085,7 @@ $directionRotate: var(--directionRotate, 0deg);
z-index: 10; z-index: 10;
position: absolute; position: absolute;
top: 50px; top: 50px;
right: 204px; right: 0px;
width: 300px; width: 300px;
height: 114px; height: 114px;
background: #ffffff; background: #ffffff;
......
...@@ -185,8 +185,9 @@ ...@@ -185,8 +185,9 @@
color: #AEAFB4; color: #AEAFB4;
} }
.finger-total { .finger-total {
position: absolute; margin-top: 100px;
bottom: 30px; //position: absolute;
//bottom: 30px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-10-22 09:42:07 * @Date: 2021-10-22 09:42:07
* @LastEditTime: 2021-11-15 14:41:58 * @LastEditTime: 2021-11-27 17:05:04
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue * @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
...@@ -293,10 +293,10 @@ export default { ...@@ -293,10 +293,10 @@ export default {
* @return {*} * @return {*}
*/ */
getRollFingerOrigin (seq) { getRollFingerOrigin (seq) {
this.loading = Loading.service({ fullscreen: true, text: '正在加载...' }); let self = this
self.$store.commit('loading/setLoading', true)
this.$store.commit('zwbj/setSeq', seq) this.$store.commit('zwbj/setSeq', seq)
// ip:port/api/org/roll/{id}/{seq} // ip:port/api/org/roll/{id}/{seq}
let self = this
this.$axios({ this.$axios({
method: 'post', method: 'post',
// url: `/api/org/roll/${self.id}/${seq}?mnt=1`, // url: `/api/org/roll/${self.id}/${seq}?mnt=1`,
...@@ -320,9 +320,8 @@ export default { ...@@ -320,9 +320,8 @@ export default {
}) })
clearTimeout(self.timer) clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null }, 500);
}, 1200);
}, },
/** /**
* @description: 获取平面指纹原图 * @description: 获取平面指纹原图
...@@ -330,10 +329,10 @@ export default { ...@@ -330,10 +329,10 @@ export default {
* @return {*} * @return {*}
*/ */
getPainFingerOrigin (seq) { getPainFingerOrigin (seq) {
this.loading = Loading.service({ fullscreen: true, text: '正在加载...' }); let self = this
self.$store.commit('loading/setLoading', true)
this.$store.commit('zwbj/setSeq', seq) this.$store.commit('zwbj/setSeq', seq)
// ip:port/api/org/plain/{id}/{seq} // ip:port/api/org/plain/{id}/{seq}
let self = this
this.$axios({ this.$axios({
method: 'post', method: 'post',
// url: `/api/org/plain/${self.id}/${seq}?mnt=1`, // url: `/api/org/plain/${self.id}/${seq}?mnt=1`,
...@@ -357,9 +356,8 @@ export default { ...@@ -357,9 +356,8 @@ export default {
}) })
clearTimeout(self.timer) clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null }, 500);
}, 1200);
}, },
/** /**
* @description: 获取滚动指纹 * @description: 获取滚动指纹
...@@ -367,8 +365,8 @@ export default { ...@@ -367,8 +365,8 @@ export default {
* @return {*} * @return {*}
*/ */
async getRollFingers () { async getRollFingers () {
this.loading = Loading.service({ fullscreen: true, text: '正在加载...' });
let self = this let self = this
self.$store.commit('loading/setLoading', true)
// 请求之前先清空图片数据 // 请求之前先清空图片数据
self.rollFingersLeft.forEach((item) => { self.rollFingersLeft.forEach((item) => {
item.image = null item.image = null
...@@ -467,9 +465,8 @@ export default { ...@@ -467,9 +465,8 @@ export default {
} }
clearTimeout(self.timer) clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null }, 500);
}, 1200);
}, },
/** /**
* @description: 切换单个指纹 * @description: 切换单个指纹
......
<template> <template>
<div id="home-div"> <div id="home-div">
<div id="home" :class="{ zhanshi: isCropper }"> <div id="home" :class="{ zhanshi: isCropper || loading}">
<el-container class="layout-container"> <el-container class="layout-container">
<transition name="slide"> <transition name="slide">
<el-aside :width="isCollapse ? '4rem' : '17.5rem'" class="aside"> <el-aside :width="isCollapse ? '4rem' : '17.5rem'" class="aside">
<div <div
class="logo" class="logo"
:class="{ minLogo: isCollapse }" :class="{ minLogo: isCollapse }"
@click="$router.push('/Home/Home')" @click="$router.push('/gateway')"
> >
<img class="jh" src="../assets/img/Home/jh.png" alt="" /> <img class="jh" src="../assets/img/Home/jh.png" alt="" />
<img <img
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<div class="message"> <div class="message">
<div class="circle"></div> <div class="circle"></div>
</div> </div>
<div class="quit" @click="$router.push('/Home/Home')"></div> <div class="quit" @click="$router.push('/gateway')"></div>
<div class="logout" @click="logout"> <div class="logout" @click="logout">
<svg-icon <svg-icon
v-show="!isHoverLogout" v-show="!isHoverLogout"
...@@ -140,6 +140,14 @@ ...@@ -140,6 +140,14 @@
<button @click="toAllPersonnelBase">全部人员库</button> --> <button @click="toAllPersonnelBase">全部人员库</button> -->
</div> </div>
<div class="shadow" v-show="isCropper"></div> <div class="shadow" v-show="isCropper"></div>
<div class="loading" v-show="loading">
<div class="loading-finger">
<img src="../assets/img/loadingfinger.gif" alt="">
</div>
<div class="loading-name">
<img src="../assets/img/loadingtxt.gif" alt="">
</div>
</div>
</div> </div>
</template> </template>
...@@ -148,7 +156,7 @@ import html2canvas from "html2canvas"; ...@@ -148,7 +156,7 @@ import html2canvas from "html2canvas";
import "@/icons/logout_d.svg"; import "@/icons/logout_d.svg";
import "@/icons/logout_a.svg"; import "@/icons/logout_a.svg";
import indexRoutes from "@/router/modules/index"; import indexRoutes from "@/router/modules/index";
import { mapGetters } from "vuex"; import { mapGetters, mapState } from "vuex";
export default { export default {
name: "Home", name: "Home",
data() { data() {
...@@ -169,6 +177,7 @@ export default { ...@@ -169,6 +177,7 @@ export default {
}; };
}, },
mounted() { mounted() {
console.log(this.loading);
let self = this; let self = this;
this.menuActive = this.$route.name; this.menuActive = this.$route.name;
...@@ -186,6 +195,9 @@ export default { ...@@ -186,6 +195,9 @@ export default {
}, },
computed: { computed: {
...mapGetters(["defaultGoodsImage", "userAuth"]), ...mapGetters(["defaultGoodsImage", "userAuth"]),
...mapState({
loading: state => state.loading.loading
}),
cachePageName() { cachePageName() {
return this.$store.state.layout.cachePageName; return this.$store.state.layout.cachePageName;
}, },
...@@ -328,6 +340,9 @@ export default { ...@@ -328,6 +340,9 @@ export default {
}, },
}, },
watch: { watch: {
loading(newValue, oldValue) {
console.log(newValue);
},
$route: { $route: {
handler(newValue, oldValue) { handler(newValue, oldValue) {
//console.log(this.routePath, 11111111111); //console.log(this.routePath, 11111111111);
...@@ -755,4 +770,34 @@ export default { ...@@ -755,4 +770,34 @@ export default {
} }
} }
} }
.loading {
z-index: 999999;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba($color: #fff, $alpha: 0.65);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.loading-finger {
width: 100px;
height: 100px;
img {
width: 100%;
height: 100%;
}
}
.loading-name {
width: 100px;
height: auto;
margin-top: 20px;
img {
width: 100%;
height: 100%;
}
}
}
</style> </style>
...@@ -91,6 +91,7 @@ ...@@ -91,6 +91,7 @@
:height="height" :height="height"
highlight-current-row highlight-current-row
ref="multipleTable" ref="multipleTable"
:key="key"
:data="tableData" :data="tableData"
class="table" class="table"
:class="{ table: true, delSelection: !selectBoo }" :class="{ table: true, delSelection: !selectBoo }"
...@@ -722,6 +723,7 @@ export default { ...@@ -722,6 +723,7 @@ export default {
checked: false, checked: false,
defaultPerson: [], //系统默认角色集合 defaultPerson: [], //系统默认角色集合
customPerson: [], //自定义角色集合 customPerson: [], //自定义角色集合
key: 1,
}; };
}, },
computed: { computed: {
...@@ -1031,6 +1033,7 @@ export default { ...@@ -1031,6 +1033,7 @@ export default {
this.$axios.get("/security/user-groups").then((res) => { this.$axios.get("/security/user-groups").then((res) => {
if (res.data.code == "200") { if (res.data.code == "200") {
this.tableData = res.data.detail; this.tableData = res.data.detail;
this.allTableData = res.data.detail;
} }
}); });
}, },
...@@ -1052,6 +1055,14 @@ export default { ...@@ -1052,6 +1055,14 @@ export default {
$(".groupYonghuDialog").remove(); $(".groupYonghuDialog").remove();
}, },
watch: { watch: {
checked(val) {
this.key++;
if (val) {
this.tableData = this.allTableData.filter((i) => i.status == 0);
} else {
this.tableData = this.allTableData;
}
},
isShowEditGroupDialog(val) { isShowEditGroupDialog(val) {
this.$bus.emit("isBlur", val); this.$bus.emit("isBlur", val);
}, },
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
/> />
</div> </div>
<div class="search-item"> <div class="search-item">
<div class="label">单位代码</div> <div class="label">单位:</div>
<Cascader :form="searchParams" id="unitCode" width="9.6875"></Cascader> <Cascader :form="searchParams" id="unitCode" width="9.6875"></Cascader>
<!-- <el-input <!-- <el-input
class="search-info" class="search-info"
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
highlight-current-row highlight-current-row
ref="multipleTable" ref="multipleTable"
:data="tableData" :data="tableData"
:key="key"
:class="{ table: true, delSelection: !selectBoo }" :class="{ table: true, delSelection: !selectBoo }"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
...@@ -292,6 +293,7 @@ ...@@ -292,6 +293,7 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item class="info-item" label="所属单位:" prop="unitCode"> <el-form-item class="info-item" label="所属单位:" prop="unitCode">
<!-- <SelectCode :form="addFormParams" id="unitCode" codeUrl="cjxxyydm" multiple></SelectCode> -->
<Cascader :form="addFormParams" id="unitCode"></Cascader> <Cascader :form="addFormParams" id="unitCode"></Cascader>
</el-form-item> </el-form-item>
<el-form-item class="info-item" label="用户警号:" prop="policeNumber"> <el-form-item class="info-item" label="用户警号:" prop="policeNumber">
...@@ -684,6 +686,7 @@ export default { ...@@ -684,6 +686,7 @@ export default {
isShowEditUserDialog: false, isShowEditUserDialog: false,
tableData: [], tableData: [],
checked: false, checked: false,
key: 1,
// tableData: data1, // tableData: data1,
}; };
}, },
...@@ -833,6 +836,7 @@ export default { ...@@ -833,6 +836,7 @@ export default {
this.$axios.get("/security/users").then((res) => { this.$axios.get("/security/users").then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.tableData = res.data.detail; this.tableData = res.data.detail;
this.allTableData = res.data.detail;
} }
}); });
}, },
...@@ -987,6 +991,14 @@ export default { ...@@ -987,6 +991,14 @@ export default {
}); });
}, },
watch: { watch: {
checked(val) {
this.key++;
if (val) {
this.tableData = this.allTableData.filter((i) => i.status == 0);
} else {
this.tableData = this.allTableData;
}
},
isShowAddUserDialog(val) { isShowAddUserDialog(val) {
this.$bus.emit("isBlur", val); this.$bus.emit("isBlur", val);
}, },
...@@ -1069,7 +1081,7 @@ const data1 = [ ...@@ -1069,7 +1081,7 @@ const data1 = [
} }
</style> </style>
<style scoped lang="scss"> <style scoped lang="scss">
.delSelection /deep/ .el-table-column--selection .cell { .el-checkbox /deep/ .delSelection /deep/ .el-table-column--selection .cell {
display: none; display: none;
} }
/deep/ .el-form-item { /deep/ .el-form-item {
......
...@@ -13,6 +13,17 @@ ...@@ -13,6 +13,17 @@
} }
} }
} }
.el-checkbox /deep/ {
.el-checkbox__label{
color: #666666 !important;
}
.is-checked {
.el-checkbox__inner {
background-color: #055fe7;
border-color: #055fe7;
}
}
}
.manage-page { .manage-page {
width: 100%; width: 100%;
padding: 24px; padding: 24px;
...@@ -175,7 +186,7 @@ ...@@ -175,7 +186,7 @@
.circle-blue { .circle-blue {
width: 8px; width: 8px;
height: 8px; height: 8px;
background-color: #055fe7; background-color: #00b47a;
border-radius: 50%; border-radius: 50%;
-moz-border-radius: 50%; -moz-border-radius: 50%;
-webkit-border-radius: 50%; -webkit-border-radius: 50%;
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
.circle-blue { .circle-blue {
width: 8px; width: 8px;
height: 8px; height: 8px;
background-color: #055fe7; background-color: #00b47a;
border-radius: 50%; border-radius: 50%;
-moz-border-radius: 50%; -moz-border-radius: 50%;
-webkit-border-radius: 50%; -webkit-border-radius: 50%;
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
.circle-blue { .circle-blue {
width: 8px; width: 8px;
height: 8px; height: 8px;
background-color: #055fe7; background-color: #00b47a;
border-radius: 50%; border-radius: 50%;
-moz-border-radius: 50%; -moz-border-radius: 50%;
-webkit-border-radius: 50%; -webkit-border-radius: 50%;
......
...@@ -13,6 +13,17 @@ ...@@ -13,6 +13,17 @@
} }
} }
} }
.el-checkbox /deep/ {
.el-checkbox__label {
color: #666666 !important;
}
.is-checked {
.el-checkbox__inner {
background-color: #055fe7;
border-color: #055fe7;
}
}
}
.manage-page { .manage-page {
width: 100%; width: 100%;
padding: 24px; padding: 24px;
...@@ -179,7 +190,7 @@ ...@@ -179,7 +190,7 @@
.circle-blue { .circle-blue {
width: 8px; width: 8px;
height: 8px; height: 8px;
background-color: #055fe7; background-color: #00b47a;
border-radius: 50%; border-radius: 50%;
-moz-border-radius: 50%; -moz-border-radius: 50%;
-webkit-border-radius: 50%; -webkit-border-radius: 50%;
......
...@@ -1185,7 +1185,7 @@ export default { ...@@ -1185,7 +1185,7 @@ export default {
// } // }
let zcseq = sessionStorage.getItem("zcseq"); let zcseq = sessionStorage.getItem("zcseq");
let qqid = sessionStorage.getItem("qqid"); let qqid = sessionStorage.getItem("qqid");
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
this.$axios.post(`/api/query/matchcand/dest/${qqid}/${zcseq}`, { this.$axios.post(`/api/query/matchcand/dest/${qqid}/${zcseq}`, {
srcbarcode: sessionStorage.getItem("srcbarcode"), srcbarcode: sessionStorage.getItem("srcbarcode"),
destbarcode: self.input3.trim() destbarcode: self.input3.trim()
...@@ -1194,12 +1194,10 @@ export default { ...@@ -1194,12 +1194,10 @@ export default {
//console.log(response); //console.log(response);
self.tableData = response.data.ret; self.tableData = response.data.ret;
self.total = self.tableData.length; self.total = self.tableData.length;
clearTimeout(self.timer)
clearTimeout(self.timer);
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
}); });
}, },
/** /**
...@@ -1226,7 +1224,7 @@ export default { ...@@ -1226,7 +1224,7 @@ export default {
// 存储目的数据序号 // 存储目的数据序号
sessionStorage.setItem("destseqno", val.destseqno); sessionStorage.setItem("destseqno", val.destseqno);
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
// 平面 --- 换压缩图 // 平面 --- 换压缩图
if (val.destseqno > 10) { if (val.destseqno > 10) {
this.$axios this.$axios
...@@ -1248,11 +1246,10 @@ export default { ...@@ -1248,11 +1246,10 @@ export default {
self.$bus.emit("changImageEditTarget", response.data.ret[0].image); self.$bus.emit("changImageEditTarget", response.data.ret[0].image);
}); });
} }
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
// this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`) // this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`)
// this.$axios // this.$axios
......
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
handleCurrentChange(val, old) { handleCurrentChange(val, old) {
let self = this; let self = this;
// 发送请求 // 发送请求
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
// 被删除 // 被删除
if(val.removeFlag === 1) { if(val.removeFlag === 1) {
self.$bus.emit('deleteMessage', { self.$bus.emit('deleteMessage', {
...@@ -273,16 +273,16 @@ export default { ...@@ -273,16 +273,16 @@ export default {
sessionStorage.setItem("srcseqno", imageInfo.seq); sessionStorage.setItem("srcseqno", imageInfo.seq);
sessionStorage.setItem("zcseq", imageInfo.seq); sessionStorage.setItem("zcseq", imageInfo.seq);
// 发送请求 // 发送请求
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.seq}`, { srcbarcode: sessionStorage.getItem("srcbarcode") }) this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.seq}`, { srcbarcode: sessionStorage.getItem("srcbarcode") })
.then(response => { .then(response => {
//console.log(response); //console.log(response);
self.$bus.emit("initCandidate", response.data.ret); self.$bus.emit("initCandidate", response.data.ret);
}); });
clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
}); });
} else { } else {
// 没有被删除 // 没有被删除
...@@ -319,11 +319,10 @@ export default { ...@@ -319,11 +319,10 @@ export default {
self.isActive = ""; self.isActive = "";
} }
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
}, },
/** /**
* @description: 获取列表数据 * @description: 获取列表数据
...@@ -331,9 +330,9 @@ export default { ...@@ -331,9 +330,9 @@ export default {
* @return {*} * @return {*}
*/ */
getDetailData() { getDetailData() {
let self = this
// 发送请求 // 发送请求
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
let self = this;
if (this.type == "father") { if (this.type == "father") {
this.$axios this.$axios
.post("/api/queryque/standardAll", { contrastCustomSearchReq: { qid: Number(self.qid) } }) .post("/api/queryque/standardAll", { contrastCustomSearchReq: { qid: Number(self.qid) } })
...@@ -363,10 +362,10 @@ export default { ...@@ -363,10 +362,10 @@ export default {
}); });
}); });
} }
clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
}, },
// 获取选择的任务详情 // 获取选择的任务详情
getFirgerPrintDetail(row) { getFirgerPrintDetail(row) {
...@@ -398,16 +397,16 @@ export default { ...@@ -398,16 +397,16 @@ export default {
sessionStorage.setItem("zcseq", imageInfo.seq); sessionStorage.setItem("zcseq", imageInfo.seq);
this.$bus.emit("changImageEdit", imageInfo.image); this.$bus.emit("changImageEdit", imageInfo.image);
// 发送请求 // 发送请求
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.seq}`, { srcbarcode: sessionStorage.getItem("srcbarcode") }) this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.seq}`, { srcbarcode: sessionStorage.getItem("srcbarcode") })
.then(response => { .then(response => {
//console.log(response); //console.log(response);
self.$bus.emit("initCandidate", response.data.ret); self.$bus.emit("initCandidate", response.data.ret);
}); });
clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
} }
}, },
/** /**
......
...@@ -99,11 +99,10 @@ export default { ...@@ -99,11 +99,10 @@ export default {
//console.log(response); //console.log(response);
self.tableData = response.data.ret; self.tableData = response.data.ret;
self.total = self.tableData.total; self.total = self.tableData.total;
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
}); });
}, },
/** /**
...@@ -128,7 +127,7 @@ export default { ...@@ -128,7 +127,7 @@ export default {
sessionStorage.setItem("backcheckXh", val.destseqno); sessionStorage.setItem("backcheckXh", val.destseqno);
// this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`) // this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`)
if (!self.isFirstMounted) { if (!self.isFirstMounted) {
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
} }
this.$axios this.$axios
...@@ -140,11 +139,10 @@ export default { ...@@ -140,11 +139,10 @@ export default {
//console.log(response); //console.log(response);
self.$bus.emit("changImageEditTarget", response.data.ret[0].image); self.$bus.emit("changImageEditTarget", response.data.ret[0].image);
if (!self.isFirstMounted) { if (!self.isFirstMounted) {
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
} }
}); });
// this.$axios // this.$axios
......
...@@ -465,7 +465,7 @@ export default { ...@@ -465,7 +465,7 @@ export default {
async handleCurrentChange(val, old) { async handleCurrentChange(val, old) {
let self = this; let self = this;
// 发送请求 // 发送请求
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
// 被删除 // 被删除
if(val.removeFlag === 1) { if(val.removeFlag === 1) {
self.painFlag = false self.painFlag = false
...@@ -841,19 +841,18 @@ export default { ...@@ -841,19 +841,18 @@ export default {
} }
} }
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
}, },
// 获取列表数据 // 获取列表数据
async getDetailData() { async getDetailData() {
let self = this;
// 发送请求 // 发送请求
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
NProgress.start(); NProgress.start();
//console.info(this.dataList); //console.info(this.dataList);
let self = this;
if (self.type == "father") { if (self.type == "father") {
await this.$axios await this.$axios
.post("/api/queryque/standardAll", { contrastCustomSearchReq: { qid: Number(self.qid) } }, { .post("/api/queryque/standardAll", { contrastCustomSearchReq: { qid: Number(self.qid) } }, {
...@@ -1027,7 +1026,7 @@ export default { ...@@ -1027,7 +1026,7 @@ export default {
} }
NProgress.start(); NProgress.start();
if (!this.isFirstMounted) { if (!this.isFirstMounted) {
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
} }
this.$axios({ this.$axios({
method: "post", method: "post",
...@@ -1051,11 +1050,10 @@ export default { ...@@ -1051,11 +1050,10 @@ export default {
}); });
NProgress.done(); NProgress.done();
if (!this.isFirstMounted) { if (!this.isFirstMounted) {
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
} }
self.isFirstMounted = false self.isFirstMounted = false
...@@ -1085,7 +1083,7 @@ export default { ...@@ -1085,7 +1083,7 @@ export default {
} }
NProgress.start(); NProgress.start();
if (!this.isFirstMounted) { if (!this.isFirstMounted) {
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
} }
this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.code}`, { srcbarcode: sessionStorage.getItem("srcbarcode") }, { this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.code}`, { srcbarcode: sessionStorage.getItem("srcbarcode") }, {
loading: false, loading: false,
...@@ -1104,11 +1102,10 @@ export default { ...@@ -1104,11 +1102,10 @@ export default {
}); });
NProgress.done(); NProgress.done();
if (!this.isFirstMounted) { if (!this.isFirstMounted) {
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
} }
self.isFirstMounted = false self.isFirstMounted = false
...@@ -1138,7 +1135,7 @@ export default { ...@@ -1138,7 +1135,7 @@ export default {
} }
NProgress.start(); NProgress.start();
if(!this.isFirstMounted) { if(!this.isFirstMounted) {
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
} }
this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.code}`, { srcbarcode: sessionStorage.getItem("srcbarcode") }, { this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.code}`, { srcbarcode: sessionStorage.getItem("srcbarcode") }, {
loading: false, loading: false,
...@@ -1157,11 +1154,10 @@ export default { ...@@ -1157,11 +1154,10 @@ export default {
}); });
NProgress.done(); NProgress.done();
if(!this.isFirstMounted) { if(!this.isFirstMounted) {
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
} }
self.isFirstMounted = false self.isFirstMounted = false
...@@ -1191,7 +1187,7 @@ export default { ...@@ -1191,7 +1187,7 @@ export default {
} }
NProgress.start(); NProgress.start();
if(!this.isFirstMounted) { if(!this.isFirstMounted) {
this.loading = Loading.service({ fullscreen: true, text: "正在加载..." }); self.$store.commit('loading/setLoading', true)
} }
this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.code}`, { "srcbarcode": sessionStorage.getItem("srcbarcode") }, { this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.code}`, { "srcbarcode": sessionStorage.getItem("srcbarcode") }, {
...@@ -1211,11 +1207,10 @@ export default { ...@@ -1211,11 +1207,10 @@ export default {
}); });
NProgress.done(); NProgress.done();
if(!this.isFirstMounted) { if(!this.isFirstMounted) {
clearTimeout(self.timer); clearTimeout(self.timer)
self.timer = setTimeout(() => { self.timer = setTimeout(() => {
self.loading && self.loading.close(); self.$store.commit('loading/setLoading', false)
self.loading = null; }, 500);
}, 1200);
} }
self.isFirstMounted = false self.isFirstMounted = false
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
this.$message.success("登录成功!"); this.$message.success("登录成功!");
//所在单位数据 //所在单位数据
this.$store.dispatch("publicData/_getList"); this.$store.dispatch("publicData/_getList");
this.$router.push("/Home/Home"); this.$router.push("/gateway");
} else { } else {
this.$message.error("登陆失败"); this.$message.error("登陆失败");
} }
......
...@@ -92,13 +92,13 @@ module.exports = { ...@@ -92,13 +92,13 @@ module.exports = {
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ // target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://172.18.108.2:8099/", // 张 认定 // target: "http://172.18.108.2:8099/", // 张 认定
// target: "http://192.168.128.166:8099", // 湖南-张 // target: "http://192.168.128.166:8099", // 湖南-张
// target: "http://192.168.128.114:8099", // 湖南-马 target: "http://192.168.128.114:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王 // target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://192.168.128.118:8764", // 湖南-张呈光 // target: "http://192.168.128.118:8764", // 湖南-张呈光
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma // target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099", // target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602", // target: "http://47.92.225.109:5602",
target: "http://www.meetfood.cn:2390/", // 湖南-线上 // target: "http://www.meetfood.cn:2390/", // 湖南-线上
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment