Commit 6dbe5776 by dupengfei

人员档案修改 提交

parent 55fc5c6f
......@@ -2860,8 +2860,8 @@
},
"async-validator": {
"version": "1.8.5",
"resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-1.8.5.tgz?cache=0&sync_timestamp=1596623539220&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz",
"integrity": "sha1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A=",
"resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-1.8.5.tgz",
"integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==",
"requires": {
"babel-runtime": "6.x"
}
......@@ -3298,8 +3298,8 @@
},
"babel-helper-vue-jsx-merge-props": {
"version": "2.0.3",
"resolved": "https://registry.npm.taobao.org/babel-helper-vue-jsx-merge-props/download/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha1-Iq69OzOQIyjlEyk6jkmSs4T58bY="
"resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
},
"babel-helpers": {
"version": "6.24.1",
......@@ -6331,9 +6331,9 @@
"integrity": "sha1-5mcZNvRXGodOsm4ugzqgssC3duA="
},
"element-ui": {
"version": "2.13.2",
"resolved": "https://registry.npm.taobao.org/element-ui/download/element-ui-2.13.2.tgz?cache=0&sync_timestamp=1589795216634&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felement-ui%2Fdownload%2Felement-ui-2.13.2.tgz",
"integrity": "sha1-WCv0eqqqr+I+oZWPriF6aHrQZEc=",
"version": "2.15.6",
"resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.6.tgz",
"integrity": "sha512-rcYXEKd/j2G0AgficAOk1Zd1AsnHRkhmrK4yLHmNOiimU2JfsywgfKUjMoFuT6pQx0luhovj8lFjpE4Fnt58Iw==",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
......@@ -9909,8 +9909,8 @@
},
"normalize-wheel": {
"version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/normalize-wheel/download/normalize-wheel-1.0.1.tgz",
"integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU="
"resolved": "https://registry.npmmirror.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
"integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA=="
},
"npm-run-path": {
"version": "2.0.2",
......@@ -12350,8 +12350,8 @@
},
"resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npm.taobao.org/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ="
"resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"resolve": {
"version": "1.17.0",
......@@ -13825,8 +13825,8 @@
},
"throttle-debounce": {
"version": "1.1.0",
"resolved": "https://registry.npm.taobao.org/throttle-debounce/download/throttle-debounce-1.1.0.tgz?cache=0&sync_timestamp=1597223490354&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fthrottle-debounce%2Fdownload%2Fthrottle-debounce-1.1.0.tgz",
"integrity": "sha1-UYU9o3vmihVctugns1FKPEIuic0="
"resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz",
"integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg=="
},
"through": {
"version": "2.3.8",
......
......@@ -13,9 +13,10 @@
"crypto-js": "^4.0.0",
"css-loader": "^5.0.1",
"echarts": "^4.9.0",
"element-ui": "^2.4.5",
"element-ui": "^2.15.6",
"file-saver": "^2.0.5",
"js-cookie": "^2.2.1",
"moment": "^2.29.4",
"qs": "^6.9.4",
"relation-graph": "^1.1.0",
"sass-resources-loader": "^2.1.1",
......
......@@ -5,6 +5,7 @@
overflow: hidden;
.lf{
float: left;
padding-right: 20px;
}
.rt{
float: right;
......
......@@ -4,7 +4,7 @@
<div class="paneDiv">
<!--可配置化图标-->
<div
v-if="cxType != 'mySjh' && cxType != 'thjl' && cxType != 'sjLs'"
v-if="cxType != 'mySjh' && cxType != 'thjl' && cxType != 'sjLs' && cxType != 'txgxFx'"
style="
line-height: 35px;
display: flex;
......@@ -15,14 +15,35 @@
<div style="color: #333333; font-size: 15px; font-weight: bold">
{{ tableName }}{{ dataLength }}
</div>
<el-button plain class="export" size="small" @click="exportExcel"
<!--<el-button plain class="export" size="small" @click="exportExcel"
><i
class="fa fa-external-link"
aria-hidden="true"
style="margin-right: 5px"
></i
>导出</el-button
>
>-->
</div>
<div
v-if="cxType == 'txgxFx'"
style="
line-height: 35px;
display: flex;
justify-content: space-between;
align-items: center;
"
>
<div style="color: #333333; font-size: 15px; font-weight: bold">
{{ tableName }}
</div>
<!--<el-button plain class="export" size="small" @click="exportExcel"
><i
class="fa fa-external-link"
aria-hidden="true"
style="margin-right: 5px"
></i
>导出</el-button
>-->
</div>
<div v-if="cxType == 'mySjh'" style="font-size:16px;margin-bottom:5px">
<span style="font-wight:500;font-size:18px;margin-right:5px">{{phoneInfo.sjhm}}</span> <span style="margin-right:5px">{{phoneInfo.gsd}}</span> <span>{{phoneInfo.yys}}</span>
......@@ -48,15 +69,38 @@
:prop="columnTitle.prop"
:key="columnTitle.prop"
:label="columnTitle.label"
:width="columnTitle.width"
>
<template slot-scope="scope">
<div class="color2" v-html="scope.row[columnTitle.prop]"></div>
<div v-if="columnTitle.prop == 'detail'">
<div class="ajxq_s">
<span class="none">{{ scope.row[columnTitle.prop] }}</span
><a
href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
style="display: inline-block;width: 100%;text-align: right;color: #3692c6;font-weight:600;"
id="open"
>展开</a
>
</div>
<div class="ajxq_n" style="display:none;">
<span style="display: inline-block;">{{ scope.row[columnTitle.prop] }}</span
><a
href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.previousSibling.style.display="block"'
style="float:right;color: #3692c6;font-weight:600;"
id="stop"
>收起</a
>
</div>
</div>
<div v-else class="color2" v-html="scope.row[columnTitle.prop]"></div>
</template>
</el-table-column>
</el-table>
<!--分页-->
<el-pagination
v-if="cxType != 'mySjh' && cxType != 'sjLs'"
v-if="cxType != 'mySjh' && cxType != 'sjLs' && cxType != 'txgxFx'"
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -94,17 +138,27 @@ export default {
default: () => [],
},
cxType: String,
timeDiff: {
type:Number,
default: () => null
},
frequency: {
type:Number,
default: () => null
},
pageBs: String,
tableKey: String,
},
data() {
return {
dataLength: 0,
formThead: this.DefaultAjFormThead,
currentPage1: this.pageNum,
currentPage1: 1,
page_size: 10,
queryData: this.propQueryData,
tableLoading: false,
tableData: [],
key: 1,
key: this.tableKey,
phoneInfo:{}
};
},
......@@ -148,12 +202,17 @@ export default {
json[i] = self.queryData[i];
}
if (self.cxSj) {
json["cxSj"] =
/*json["cxSj"] =
self.cxSj != "" && self.cxSj != null
? `${window.util.timeStampTurnTime(
self.cxSj[0]
)} - ${window.util.timeStampTurnTime(self.cxSj[1])}`
: "";
: "";*/
if(self.cxSj != "" && self.cxSj != null){
json["timeStart"] = self.cxSj[0];
json["timeEnd"] = self.cxSj[1];
}
}
tHeader = [];
filterVal = [];
......@@ -211,12 +270,12 @@ export default {
},
handleSizeChange(val) {
this.page_size = val;
this.formData.rows = val;
this.queryData.pageSize = val;
this.doQuery("yes");
},
handleCurrentChange(val) {
this.currentPage1 = val;
this.formData.page = val;
this.queryData.pageNumber = val;
this.doQuery("yes");
},
doQueryRequest(form) {
......@@ -235,6 +294,7 @@ export default {
for (let i in self.queryData) {
json[i] = self.queryData[i];
}
//debugger
if (self.cxSj) {
/*json["cxSj"] =
self.cxSj != "" && self.cxSj != null
......@@ -243,12 +303,26 @@ export default {
)} - ${window.util.timeStampTurnTime(self.cxSj[1])}`
: "";*/
if(self.cxSj != "" && self.cxSj != null){
json["timeStart"] = self.cxSj[0];
json["timeEnd"] = self.cxSj[1];
if (this.pageBs == 'tzGx'){
json["startTime"] = self.cxSj[0];
json["endTime"] = self.cxSj[1];
} else {
json["timeStart"] = self.cxSj[0];
json["timeEnd"] = self.cxSj[1];
}
} else {
if(this.pageBs == 'tzGx' || this.pageBs == 'ryXwgj'){
return
}
}
}
if (self.frequency != null && self.timeDiff != null){
json["frequency"] = self.frequency;
json["timeDiff"] = self.timeDiff;
}
if (flag) {
self.tableLoading = true;
self
.doQueryRequest(JSON.stringify(json))
.then((res) => {
......@@ -257,13 +331,14 @@ export default {
self.dataLength = res.data.total;
self.tPage = Math.ceil(res.data.total / self.page_size);
self.phoneInfo = res.data.phoneInfo
// self.closeLoading();
self.tableLoading = false;
} else {
/*self.$message({
type: "error",
message: response.data.message
});*/
// self.closeLoading();
self.tableLoading = false;
}
})
.catch((err) => {
......@@ -271,11 +346,21 @@ export default {
});
}
},
},
watch: {
cxSj() {
this.doQuery("yes");
},
timeDiff(){
this.doQuery("yes");
},
frequency(){
this.doQuery("yes");
}
},
};
</script>
......@@ -296,6 +381,18 @@ export default {
.el-table th {
border-color: #e6e6e6;
}
.none {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.ajxq_s,
.ajxq_n {
line-height: 26px;
}
</style>
<style scoped lang="scss">
@import "../assets/styles/form.scss";
......
......@@ -551,7 +551,15 @@ export default[
name: "ryGx",
component: () => import("@/views/ryda/ryGx.vue"),
meta: {
title: "关系"
title: "人员关系"
}
},
{
path: "tzGx",
name: "tzGx",
component: () => import("@/views/ryda/tzGx.vue"),
meta: {
title: "同住关系"
}
},
{
......@@ -567,7 +575,7 @@ export default[
name: "ryFwDwDz",
component: () => import("@/views/ryda/ryFwDwDz.vue"),
meta: {
title: "房屋/单位/地址"
title: "房屋档案"
}
},
{
......@@ -575,7 +583,7 @@ export default[
name: "ryClCz",
component: () => import("@/views/ryda/ryClCz.vue"),
meta: {
title: "车辆/船只"
title: "车辆档案"
}
},
{
......
......@@ -11980,44 +11980,50 @@ let rydaPropLeftMenu = [
},
{
id: 'ryGx',
label: '关系',
label: '人员关系',
index: '3',
className: ''
},
{
id: 'ryAsj',
label: '案事件',
id: 'tzGx',
label: '同住关系',
index: '4',
className: ''
},
{
id: 'ryFwDwDz',
label: '房屋/单位/地址',
id: 'ryAsj',
label: '案事件',
index: '5',
className: ''
},
{
id: 'ryClCz',
label: '车辆/船只',
id: 'ryFwDwDz',
label: '房屋档案',
index: '6',
className: ''
},
{
id: 'ryClCz',
label: '车辆档案',
index: '7',
className: ''
},
/*{
id: 'ryDhZd',
label: '电话/终端',
index: '7',
index: '8',
className: ''
},
{
id: 'ryJstx',
label: '即时通讯',
index: '8',
index: '9',
className: ''
},
},*/
{
id: 'ryHlw',
label: '互联网',
index: '9',
index: '8',
className: ''
}
/*{
......
......@@ -45,15 +45,16 @@
</div>
</div>
<div class="right">
<div class="con-wrap">
<div class="con-wrap" v-if="this.filterTableById.indexOf(1) != -1">
<table-component
:DefaultAjFormThead="asjFormThead"
:propQueryData="asjQueryData"
:cxUrl="asjCxUrl"
:tableName="asjTableName"
tableKey='ryasj01'
></table-component>
</div>
<div class="con-wrap">
<div class="con-wrap" v-if="this.filterTableById.indexOf(2) != -1">
<div class="name">警情信息 ({{ jqxxTableData.length }}</div>
<el-table
ref="multipleTable"
......@@ -87,7 +88,7 @@
></template>
</el-table-column>
</el-table>
</div>
</div >
</div>
</div>
</div>
......@@ -119,6 +120,7 @@ export default {
],
date: "不限",
filterText: "",
filterTableById: [1, 2],
data: [
{
id: 1,
......@@ -276,13 +278,30 @@ export default {
},
watch: {
filterText(val) {
this.filterTableById = [];
this.$refs.tree.filter(val);
},
},
methods: {
filterNode(value, data) {
if (!value) return true;
return data.label.indexOf(value) !== -1;
filterNode(value, data, node) {
if (!value) {
this.process(data.id);
//console.log(this.filterTableById)
return true;
} else {
if (data.label.indexOf(value) !== -1){
this.process(data.id);
//console.log(this.filterTableById)
return true
} else {
return false
}
}
},
//先清除再把数据添加到filterTableByid
process(id){
this.filterTableById.push(id);
},
},
};
......
......@@ -45,43 +45,16 @@
</div>
</div>
<div class="right">
<div class="con-wrap">
<div class="con-wrap" v-if="this.filterTableById.indexOf(1) != -1">
<table-component
:DefaultAjFormThead="mycarFormThead"
:propQueryData="mycarQueryData"
:cxUrl="mycarCxUrl"
:tableName="mycarTableName"
:cxType="cxType"
tableKey='ryclda01'
></table-component>
</div>
<div class="con-wrap">
<div class="name">其他关联车辆 ({{ tableData2.length }}</div>
<el-table
ref="multipleTable"
:data="tableData2"
tooltip-effect="dark"
style="width: 100%"
>
<el-table-column type="selection" width="80"> </el-table-column>
<el-table-column prop="xm" label="车辆信息" width="380">
</el-table-column>
<el-table-column prop="cym" label="首次关联时间" width="320">
</el-table-column>
<el-table-column prop="zjlx" label="最后关联时间" width="320">
</el-table-column>
<el-table-column label="详情" width="220">
<template
><i
class="el-icon-document"
style="
color: rgb(64, 158, 255);
font-size: 18px;
cursor: pointer;
"
></i
></template>
</el-table-column>
</el-table>
</div>
</div>
</div>
</div>
......@@ -113,16 +86,12 @@ export default {
},
],
date: "不限",
filterTableById: [1],
filterText: "",
data: [
{
id: 1,
label: "本人和家属车辆",
num: "0",
},
{
id: 2,
label: "其他关联车辆",
label: "车辆档案",
num: "0",
},
],
......@@ -230,74 +199,118 @@ export default {
},
],
},
cxType: 'txgxFx',
//车辆档案
mycarFormThead: [
{
label: "车主姓名",
prop: "jdcsyr",
width: "220",
prop: "zwxm",
width: "120",
},
{
label: "车主身份证号",
prop: "sfzh",
width: "200",
width: "220",
},
{
label: "住址详址",
prop: "zzdzxz",
width: "220",
label: "证件类型",
prop: "zjlxmc",
width: "120",
},
{
label: "出厂登记日期",
prop: "ccdjrq",
label: "车辆品牌",
prop: "clpp",
width: "120",
},
{
label: "出厂日期",
prop: "ccrq",
width: "140",
label: "车辆颜色",
prop: "clysmc",
width: "120",
},
{
label: "车辆型号",
prop: "clxh",
width: "140",
label: "车牌号码",
prop: "cphm",
width: "120",
},
{
label: "车辆类型",
prop: "cllx",
width: "220",
prop: "cllxmc",
width: "120",
},
{
label: "车辆品牌",
prop: "clpp1",
prop: "clpp",
width: "120",
},
{
label: "车身颜色",
prop: "csys",
width: "140",
label: "车辆购买日期",
prop: "clgmrq",
width: "120",
},
{
label: "车架号",
prop: "cjh",
width: "220",
},
{
label: "车辆型号",
prop: "clxh",
label: "发动机号",
prop: "fdjh",
width: "140",
},
{
label: "号牌种类",
prop: "hpzlmc",
width: "120",
},
{
label: "机动车状态",
prop: "clyxztmc",
width: "120",
},
{
label: "机动车使用性质代码",
prop: "jdcsyxzdm",
width: "120",
},
],
mycarQueryData: {
objectValue: sessionStorage.getItem("zjhm"),
idCard: sessionStorage.getItem("zjhm"),
//请求人姓名
qqyhm : JSON.parse(sessionStorage.getItem("userInfo")).trueName,
qqrsfzh : JSON.parse(sessionStorage.getItem("userInfo")).identitycard,
qqip : JSON.parse(sessionStorage.getItem("userInfo")).ip
},
mycarCxUrl: "/daapi/getClxx",
mycarTableName: "本人和家属车辆",
mycarCxUrl: "/meiya/getMyClDaxx",
mycarTableName: "车辆档案",
};
},
watch: {
filterText(val) {
this.filterTableById = [];
this.$refs.tree.filter(val);
},
},
methods: {
filterNode(value, data) {
if (!value) return true;
return data.label.indexOf(value) !== -1;
filterNode(value, data, node) {
if (!value) {
this.process(data.id);
//console.log(this.filterTableById)
return true;
} else {
if (data.label.indexOf(value) !== -1){
this.process(data.id);
//console.log(this.filterTableById)
return true
} else {
return false
}
}
},
//先清除再把数据添加到filterTableByid
process(id){
this.filterTableById.push(id);
},
},
};
......
<template>
<div class="ryFwDwDz">
<div class="top">
<div class="top" v-if="false">
<div class="lf">
<span>时间:</span>
<div class="inl">
......@@ -22,20 +22,176 @@
<span>广东省东莞市石排镇普屋下管一路48号</span>
</div>
</div>
<img src="@/assets/img/fw/fw.svg" style="margin-top:16px;">
<!--<img src="@/assets/img/fw/fw.svg" style="margin-top:16px;">
<img src="@/assets/img/fw/dw.svg" style="margin-top:16px;">
<img src="@/assets/img/fw/qtdz.svg" style="margin-top:16px;">
<img src="@/assets/img/fw/qtdz.svg" style="margin-top:16px;">-->
<div class="con">
<div class="left">
<!--<img src="@/assets/img/dj/left.svg" style="margin:20px;"/>-->
<div style="margin: 15px">
<el-input
size="small"
placeholder="输入关键词查找"
suffix-icon="el-icon-search"
v-model="filterText"
>
</el-input>
</div>
<div style="margin: 15px">
<el-tree
class="filter-tree"
:data="data"
:props="defaultProps"
default-expand-all
:filter-node-method="filterNode"
ref="tree"
>
<span class="custom-tree-node" slot-scope="{ node, data }">
<span>{{ node.label }}</span>
</span>
</el-tree>
</div>
</div>
<div class="right">
<div class="con-wrap" v-if="this.filterTableById.indexOf(11) != -1">
<table-component
:DefaultAjFormThead="fwdaFormThead"
:propQueryData="fwdaQueryData"
:cxUrl="fwdaCxUrl"
:tableName="fwdaTableName"
tableKey='ryfwda01'
></table-component>
</div>
</div>
</div>
</div>
</template>
<script>
import tableComponent from "@c/qxda_compontents.vue";
export default {
components:{
tableComponent
},
name: "ryFwDwDz",
data(){
return{
date:'不限'
date:'不限',
filterText: "",
data: [
{
id: 1,
label: "房屋档案",
num: "1",
children: [
{
id: 11,
label: "房屋档案",
num: "11",
}
],
},
],
defaultProps: {
children: "children",
label: "label",
},
filterTableById:[11],
//房屋档案
fwdaFormThead: [
{
label: "房主身份证号",
prop: "fzsfzh",
width: "220",
},
{
label: "房主姓名",
prop: "fzxm",
width: "120",
},
{
label: "房主证件类型",
prop: "fzzjlx",
width: "120",
},
{
label: "房主联系电话",
prop: "fzlxdh",
width: "120",
},
{
label: "房屋地址",
prop: "dzmc",
width: "260",
},
{
label: "房屋类别",
prop: "fwlbmc",
width: "120",
},
{
label: "房屋用途",
prop: "fwytmc",
width: "120",
},
{
label: "房屋间数",
prop: "fwjs",
width: "120",
},
{
label: "房屋面积(平米)",
prop: "fwmj",
width: "120",
},
{
label: "登记时间",
prop: "djsj",
width: "120",
}
],
fwdaQueryData: {
sfzh: sessionStorage.getItem("zjhm"),
pageNumber: 1,
pageSize: 10,
//请求人姓名
qqyhm : JSON.parse(sessionStorage.getItem("userInfo")).trueName,
qqrsfzh : JSON.parse(sessionStorage.getItem("userInfo")).identitycard,
qqip : JSON.parse(sessionStorage.getItem("userInfo")).ip
},
fwdaCxUrl: "/meiya/getMyFwDaxx",
fwdaTableName: "房屋档案",
}
},
watch: {
filterText(val) {
this.filterTableById = [];
this.$refs.tree.filter(val);
},
},
methods:{
filterNode(value, data, node) {
if (!value) {
this.process(data.id);
//console.log(this.filterTableById)
return true;
} else {
if (data.label.indexOf(value) !== -1){
this.process(data.id);
//console.log(this.filterTableById)
return true
} else {
return false
}
}
},
process(id){
this.filterTableById.push(id);
},
}
}
</script>
......
......@@ -1069,22 +1069,21 @@ export default {
background-color: #fff;
height: 280px;
margin-right: 20px;
overflow: auto;
.sjda_top_left_title {
padding: 0 20px;
height: 40px;
height: 50px;
text-align: left;
color: #21272a;
line-height: 40px;
line-height: 50px;
font-size: 15px;
padding-bottom: 5px;
padding: 0 20px 5px;
}
.sjda_top_left_content {
color: #333333;
padding: 0 20px;
text-align: left;
padding-bottom: 5px;
padding: 0 20px 5px;
}
}
......
......@@ -61,7 +61,7 @@ module.exports = {
},
proxy: {
"/apiAjzb": {
target: "http://localhost:8001/", //统一的请求头部每次修改都要重启才会生效西藏:()
target: "http://localhost:8501/", //统一的请求头部每次修改都要重启才会生效西藏:()
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -69,7 +69,7 @@ module.exports = {
}
},
"/apiXzxt": {
target: "http://localhost:8001/", //统一的请求头部每次修改都要重启才会生效
target: "http://localhost:8501/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
......
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