更新推送服务

This commit is contained in:
dengxin
2024-03-28 16:03:23 +08:00
parent ba3c5a408d
commit d7d7ec6c1b
3 changed files with 291 additions and 292 deletions

View File

@@ -1,209 +1,206 @@
import request from '@/router/axios'; import request from "@/router/axios";
/*获取人才列表*/ /*获取人才列表*/
export const getList = export const getList = (current, size, params, groupId) => {
(current, size, params, groupId) => { return request({
return request({ url: "/api/jobslink-api/serve/list",
url: '/api/jobslink-api/serve/list', method: "get",
method: 'get', params: { ...params, current, size, groupId }
params: {...params, current, size, groupId} });
}) };
}
/*新增人才*/ /*新增人才*/
export const add = export const add = row => {
(row) => { return request({
return request( url: "/api/jobslink-api/serve/save",
{url: '/api/jobslink-api/serve/save', method: 'post', data: row}) method: "post",
} data: row
});
};
/*编辑人才*/ /*编辑人才*/
export const update = export const update = row => {
(row) => { return request({
return request({ url: "/api/jobslink-api/serve/update",
url: '/api/jobslink-api/serve/update', method: "post",
method: 'post', data: row
data: row });
}) };
}
/*删除人才*/ /*删除人才*/
export const remove = export const remove = ids => {
(ids) => { return request({
return request({ url: "/api/jobslink-api/serve/remove",
url: '/api/jobslink-api/serve/remove', method: "post",
method: 'post', params: { ids }
params: {ids} });
}) };
}
/*人才详情*/ /*人才详情*/
export const detail = export const detail = id => {
(id) => { return request({
return request({ url: "/api/jobslink-api/serve/detail",
url: '/api/jobslink-api/serve/detail', method: "get",
method: 'get', params: { id }
params: {id} });
}) };
}
/*获取分组*/ /*获取分组*/
export const getDept = export const getDept = () => {
() => { return request({
return request({ url: "/api/jobslink-api/serve/group/listAll",
url: '/api/jobslink-api/serve/group/listAll', method: "get",
method: 'get', params: {}
params: {} });
}) };
}
/*新建分组*/ /*新建分组*/
export const addDept = export const addDept = row => {
(row) => { return request({
return request({ url: "/api/jobslink-api/serve/group/save",
url: '/api/jobslink-api/serve/group/save', method: "post",
method: 'post', data: row
data: row });
}) };
}
/*编辑分组*/ /*编辑分组*/
export const updateDept = export const updateDept = row => {
(row) => { return request({
return request({ url: "/api/jobslink-api/serve/group/update",
url: '/api/jobslink-api/serve/group/update', method: "post",
method: 'post', data: row
data: row });
}) };
}
/*删除分组*/ /*删除分组*/
export const removeDept = export const removeDept = ids => {
(ids) => { return request({
return request({ url: "/api/jobslink-api/serve/group/remove",
url: '/api/jobslink-api/serve/group/remove', method: "post",
method: 'post', params: { ids }
params: {ids} });
}) };
}
/*转移分组*/ /*转移分组*/
export const transferDept = export const transferDept = (groupIds, ids) => {
(groupIds, ids) => { return request({
return request({ url: "/api/jobslink-api/serve/updateAllGroup",
url: '/api/jobslink-api/serve/updateAllGroup', method: "post",
method: 'post', params: { groupIds, ids }
params: {groupIds, ids} });
}) };
}
/*导入人才库*/ /*导入人才库*/
export const upload = () => { export const upload = () => {
return `/api/jobslink-api/serve/group/import?isCovered=1` return `/api/jobslink-api/serve/group/import?isCovered=1`;
} };
/*转移分组*/ /*转移分组*/
export const getServeListTalents = export const getServeListTalents = params => {
(params) => { return request({
return request({ url: "/api/jobslink-api/serve/listTalents",
url: '/api/jobslink-api/serve/listTalents', method: "get",
method: 'get', params: params
params: params });
}) };
}
/*匹配岗位和任务*/ /*匹配岗位和任务*/
export const getMatchWorkStation = export const getMatchWorkStation = params => {
(params) => { return request({
return request({ url: "/api/jobslink-api/tenant/mainServeUserPost/postPage",
url: '/api/jobslink-api/tenant/mainServeUserPost/postPage', method: "get",
method: 'get', params: params
params: params });
}) };
}
/*匹配政策*/ /*匹配政策*/
export const getMatchPolicy = export const getMatchPolicy = params => {
(params) => { return request({
return request({ url: "/api/jobslink-api/serve/listPolicy",
url: '/api/jobslink-api/serve/listPolicy', method: "get",
method: 'get', params: params
params: params });
}) };
}
/*服务日志*/ /*服务日志*/
export const getMatchServeList = export const getMatchServeList = params => {
(params) => { return request({
return request({ url: "/api/jobslink-api/tenant/mainserveuserlog/page",
url: '/api/jobslink-api/tenant/mainserveuserlog/page', method: "get",
method: 'get', params: params
params: params });
}) };
}
export const getListAllPolicy = export const getListAllPolicy = params => {
(params) => { return request({
return request({ url: "/api/jobslink-api/serve/listAllPolicy",
url: '/api/jobslink-api/serve/listAllPolicy', method: "get",
method: 'get', params: params
params: params });
}) };
}
export const getListAllByLabels = params =>
request({
url: "/api/jobslink-api/tenant/talents/listAllByLabels",
method: "get",
params: params
});
export const getListGroupByLabels = params =>
request({
url: "/api/jobslink-api/tenant/talents/listGroupByLabels",
method: "get",
params: params
});
export const getListAllByPolicy = params =>
request({
url: "/api/jobslink-api/tenant/talents/listAllByPolicy",
method: "get",
params: params
});
export const getListAllByLabels = (params) => request({ export const getServeAllPolicyList = params =>
url: '/api/jobslink-api/tenant/talents/listAllByLabels', request({
method: 'get', url: "/api/jobslink-api/serve/listAllPolicy",
params: params method: "get",
}) params: params
export const getListGroupByLabels = (params) => request({ });
url: '/api/jobslink-api/tenant/talents/listGroupByLabels',
method: 'get',
params: params
})
export const getListAllByPolicy = (params) => request({
url: '/api/jobslink-api/tenant/talents/listAllByPolicy',
method: 'get',
params: params
})
export const getServeAllPolicyList = (params) => request({ export const getListByids = params =>
url: '/api/jobslink-api/serve/listAllPolicy', request({
method: 'get', url: "/api/jobslink-api/policy/listByids",
params: params method: "get",
}) params: params
});
export const getListByids = (params) => request({ export const getSearchAll = params =>
url: '/api/jobslink-api/policy/listByids', request({
method: 'get', url: "/api/jobslink-api/serve/searchAll",
params: params method: "get",
}) params: params
});
export const getSearchAllByUserId = params =>
request({
url: "/api/jobslink-api/serve/pushSearchList",
method: "get",
params: params
});
export const getSearchAll = (params) => request({ export const pushPolicyUserServe = params =>
url: '/api/jobslink-api/serve/searchAll', request({
method: 'get', url: "/api/jobslink-api/serve/push/policyUserServe",
params: params method: "post",
}) data: params
});
export const pushPolicyUserServe = (params) => request({ export const pushPostUserServe = params =>
url: '/api/jobslink-api/serve/push/policyUserServe', request({
method: 'post', url: "/api/jobslink-api/serve/push/postUserServe",
data: params method: "post",
}) data: params
});
export const pushPostUserServe = (params) => request({
url: '/api/jobslink-api/serve/push/postUserServe',
method: 'post',
data: params
})
export const getListAllTalents = (params) => request({
url: '/api/jobslink-api/serve/listAllTalents',
method: 'get',
params
})
export const getListAllTalents = params =>
request({
url: "/api/jobslink-api/serve/listAllTalents",
method: "get",
params
});

View File

@@ -1,85 +1,62 @@
<template> <template>
<el-drawer <el-drawer size="100%" append-to-body title="推送服务" :visible.sync="viewDrawer">
size="100%" <div>
append-to-body <div class="content">
title="推送服务" <!-- 用户板块 -->
:visible.sync="viewDrawer" <div class="content-left relative">
> <avue-crud height="900" ref="crud1" :data="leftUserDataList" :option="leftUserOptions" :page.sync="leftPages"
<div> @current-change="leftCurrentPageChange" @size-change="leftSizePageChange"
<div class="content"> @selection-change="leftSelectionChange">
<!-- 用户板块 --> <template slot="menuLeft">
<div class="content-left relative"> <div class="leftInput">
<avue-crud <el-input size="small" v-model="formInline.userName" class="input-with-select" placeholder="用户名">
height="900" <el-select size="small" v-model="formInline.groupId" slot="prepend" class="selectWidth"
ref="crud1" placeholder="请选择">
:data="leftUserDataList" <el-option v-for="item in leftServeOptions" :key="item.id" :label="item.groupName"
:option="leftUserOptions" :value="item.value">
:page.sync="leftPages" </el-option>
@current-change="leftCurrentPageChange" </el-select>
@size-change="leftSizePageChange" <el-button size="small" slot="append" class="input-search" @click="leftSearch">搜索</el-button>
@selection-change="leftSelectionChange" </el-input>
> </div>
<template slot="menuLeft"> </template>
<div class="leftInput"> <template slot="labelsBase" slot-scope="{row}">
<el-input size="small" v-model="formInline.userName" class="input-with-select" placeholder="用户名"> <TextTooltip :content="row.labelsBase" length="20"></TextTooltip>
<el-select size="small" v-model="formInline.groupId" slot="prepend" class="selectWidth" placeholder="请选择"> </template>
<el-option </avue-crud>
v-for="item in leftServeOptions" <CustomLoading :visible="leftLoading" loading-text="用户数据加载中"></CustomLoading>
:key="item.id" </div>
:label="item.groupName" <!-- 操作 -->
:value="item.value"> <div class="content-center">
</el-option> <div><el-button type="primary" size="small" @click="changeTabs(0)">匹配政策</el-button></div>
</el-select> <div style="margin-top: 30px"><el-button :disabled="leftUserSelections.length > 0 ? false : true"
<el-button size="small" slot="append" class="input-search" @click="leftSearch">搜索</el-button> type="primary" @click="changeTabs(1)" size="small">匹配岗位</el-button>
</el-input> </div>
</div> </div>
</template> <!-- 列表 -->
<template slot="labelsBase" slot-scope="{row}"> <div class="content-right relative">
<TextTooltip :content="row.labelsBase" length="20"></TextTooltip> <avue-crud height="900" ref="crud2" :data="rightDataList"
</template> :option="rightTabs ? rightPostOptions : rightPolicyOptions" :page.sync="rightPages"
</avue-crud> @selection-change="rightSelectionChange">
<CustomLoading :visible="leftLoading" loading-text="用户数据加载中"></CustomLoading> <template slot="menuLeft">
</div> <el-input style="width: 300px" placeholder="搜索岗位" v-show="rightTabs === 1" prefix-icon="el-icon-search"
<!-- 操作 --> @input="searchInputChange" v-model="searchInput" clearable>
<div class="content-center"> </el-input>
<div><el-button type="primary" size="small" @click="changeTabs(0)">匹配政策</el-button></div> </template>
<div style="margin-top: 30px"><el-button type="primary" @click="changeTabs(1)" size="small">匹配岗位</el-button></div> <template slot="labelName" slot-scope="{row}">
</div> <TextTooltip :content="row.labelName" length="40"></TextTooltip>
<!-- 列表 --> </template>
<div class="content-right relative"> <template slot="jobDescription" slot-scope="{row}">
<avue-crud <TextTooltip :content="row.jobDescription" length="40"></TextTooltip>
height="900" </template>
ref="crud2" </avue-crud>
:data="rightDataList" <CustomLoading :visible="rightLoading" loading-text="智能分析匹配中"></CustomLoading>
:option="rightTabs ? rightPostOptions : rightPolicyOptions" </div>
:page.sync="rightPages" </div>
@selection-change="rightSelectionChange" </div>
>
<template slot="menuLeft" >
<el-input
style="width: 300px"
placeholder="搜索岗位"
v-show="rightTabs === 1"
prefix-icon="el-icon-search"
@input="searchInputChange"
v-model="searchInput"
clearable>
</el-input>
</template>
<template slot="labelName" slot-scope="{row}">
<TextTooltip :content="row.labelName" length="40"></TextTooltip>
</template>
<template slot="jobDescription" slot-scope="{row}">
<TextTooltip :content="row.jobDescription" length="40"></TextTooltip>
</template>
</avue-crud>
<CustomLoading :visible="rightLoading" loading-text="智能分析匹配中"></CustomLoading>
</div>
</div>
</div>
<div class="content-footer"> <div class="content-footer">
<el-button type="primary" style="width: 80px" size="small" :disabled="pushState" @click="onSubmit"> <el-button type="primary" style="width: 80px" size="small" :disabled="pushState" @click="onSubmit">
{{pushState ? '推送中...' : rightTabs ? '推送岗位' : '推送政策' }} {{ pushState ? '推送中...' : rightTabs ? '推送岗位' : '推送政策' }}
</el-button> </el-button>
</div> </div>
</el-drawer> </el-drawer>
@@ -92,13 +69,14 @@ import {
getServeAllPolicyList, getServeAllPolicyList,
getListByids, getListByids,
getSearchAll, getSearchAll,
getSearchAllByUserId,
pushPolicyUserServe, pushPolicyUserServe,
pushPostUserServe, pushPostUserServe,
getListAllByPolicy getListAllByPolicy
} from "@/api/tenant/serve.js"; } from "@/api/tenant/serve.js";
import TextTooltip from "@/components/text-tooltip/index.vue"; import TextTooltip from "@/components/text-tooltip/index.vue";
import {debounce} from '@/util/util' import { debounce } from '@/util/util'
import {DateTime} from "@/util/dateTime"; import { DateTime } from "@/util/dateTime";
import CustomLoading from "@/components/Custom-Loading/index.vue"; import CustomLoading from "@/components/Custom-Loading/index.vue";
const pages = { pagerCount: 3, total: 0, size: 10, currentPage: 1 } const pages = { pagerCount: 3, total: 0, size: 10, currentPage: 1 }
const baseOptions = { const baseOptions = {
@@ -112,7 +90,7 @@ const baseOptions = {
border: true, border: true,
columnBtn: false, columnBtn: false,
refreshBtn: false, refreshBtn: false,
menu:false, menu: false,
tip: false, tip: false,
selection: true, selection: true,
} }
@@ -121,13 +99,13 @@ let leftUserOptions = {
column: [{ column: [{
label: '姓名', label: '姓名',
prop: 'name', prop: 'name',
},{ }, {
label: '身份证', label: '身份证',
prop: 'idNumber', prop: 'idNumber',
},{ }, {
label: '手机号', label: '手机号',
prop: 'telphone', prop: 'telphone',
},{ }, {
label: '个人标签', label: '个人标签',
prop: 'labelsBase', prop: 'labelsBase',
slot: true, slot: true,
@@ -159,7 +137,7 @@ let rightPostOptions = {
}] }]
} }
export default { export default {
components: {TextTooltip, CustomLoading}, components: { TextTooltip, CustomLoading },
data() { data() {
return { return {
formInline: {}, formInline: {},
@@ -183,8 +161,8 @@ export default {
}, },
props: { props: {
visible: Boolean, visible: Boolean,
rowData: { default: null, type: Function }, rowData: { default: null, type: Function },
changeVisible: { default: null, type: Function }, changeVisible: { default: null, type: Function },
}, },
computed: { computed: {
viewDrawer: { viewDrawer: {
@@ -197,12 +175,12 @@ export default {
}, },
}, },
watch: { watch: {
viewDrawer(val) { val ? this.onPageLoad() : this.onPageInit()} viewDrawer(val) { val ? this.onPageLoad() : this.onPageInit() }
}, },
methods: { methods: {
onPageLoad() { onPageLoad() {
console.log('row', this.rowData) console.log('row', this.rowData)
if(!this.rowData) return if (!this.rowData) return
this.getLeftSignGroupList() this.getLeftSignGroupList()
this.getLeftUserList() this.getLeftUserList()
// this.getRightListPolicy() // this.getRightListPolicy()
@@ -233,8 +211,9 @@ export default {
this.rightTabs = type this.rightTabs = type
this.rightDataSelections = [] this.rightDataSelections = []
this.$message.success('智能分析匹配中'); this.$message.success('智能分析匹配中');
type === 0 && this.getRightListPolicy() type === 0 && this.getRightListPolicy()
type === 1 && this.getRightSearch() type === 1 && this.getRightSearchByUserId()
}, },
searchInputChange: debounce(function (val) { searchInputChange: debounce(function (val) {
this.getRightSearch() this.getRightSearch()
@@ -256,14 +235,15 @@ export default {
}, },
leftSelectionChange(val) { leftSelectionChange(val) {
this.leftUserSelections = val this.leftUserSelections = val
console.log(val, '--------------------00000');
}, },
rightSelectionChange(val) { rightSelectionChange(val) {
this.rightDataSelections = val this.rightDataSelections = val
}, },
onSubmit() { onSubmit() {
if( !this.leftUserSelections.length ) return this.$message.info('请选择推送用户') if (!this.leftUserSelections.length) return this.$message.info('请选择推送用户')
if( !this.rightDataSelections.length ) return this.$message.info('请选择推送政策或岗位') if (!this.rightDataSelections.length) return this.$message.info('请选择推送政策或岗位')
if(this.rightTabs === 0) { if (this.rightTabs === 0) {
this.pushPolicyAndUser() this.pushPolicyAndUser()
} else { } else {
this.pushPostAndUser() this.pushPostAndUser()
@@ -277,11 +257,11 @@ export default {
const createTime = Date.now() + 2000 const createTime = Date.now() + 2000
let params = { let params = {
serveId: this.rowData.id, serveId: this.rowData.id,
posts: this.rightDataSelections.map((item) => ({id: item.id, type: item.type1})), posts: this.rightDataSelections.map((item) => ({ id: item.id, type: item.type1 })),
users: this.leftUserSelections.map((item) => ({idNumber: item.idNumber, talentsId: item.id})) users: this.leftUserSelections.map((item) => ({ idNumber: item.idNumber, talentsId: item.id }))
} }
let resData = await pushPostUserServe(params) let resData = await pushPostUserServe(params)
if(resData.data.code === 200) { if (resData.data.code === 200) {
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0 const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
setTimeout(() => { setTimeout(() => {
this.$message.success('岗位推送成功') this.$message.success('岗位推送成功')
@@ -298,10 +278,10 @@ export default {
let params = { let params = {
serveId: this.rowData.id, serveId: this.rowData.id,
policyIds: this.rightDataSelections.map((item) => item.id), policyIds: this.rightDataSelections.map((item) => item.id),
users: this.leftUserSelections.map((item) => ({idNumber: item.idNumber, talentsId: item.id})) users: this.leftUserSelections.map((item) => ({ idNumber: item.idNumber, talentsId: item.id }))
} }
let resData = await pushPolicyUserServe(params) let resData = await pushPolicyUserServe(params)
if(resData.data.code === 200) { if (resData.data.code === 200) {
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0 const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
setTimeout(() => { setTimeout(() => {
this.$message.success('政策推送成功') this.$message.success('政策推送成功')
@@ -312,11 +292,11 @@ export default {
} }
}, },
async getRightSearch() { async getRightSearch() {
let params = {keywords: this.searchInput || '1'} let params = { keywords: this.searchInput || '1' }
const createTime = Date.now() + 3000 const createTime = Date.now() + 3000
this.rightLoading = true this.rightLoading = true
let resData = await getSearchAll(params) let resData = await getSearchAll(params)
if(resData.data.code === 200){ if (resData.data.code === 200) {
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0 const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
setTimeout(() => { setTimeout(() => {
this.rightLoading = false this.rightLoading = false
@@ -325,12 +305,25 @@ export default {
} }
}, },
async getRightSearchByUserId() {
const ids = this.leftUserSelections.map(item => item.userId).join(',');
const createTime = Date.now() + 3000
this.rightLoading = true
let resData = await getSearchAllByUserId({ ids })
if (resData.data.code === 200) {
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
setTimeout(() => {
this.rightLoading = false
this.rightDataList = resData.data.data
}, timed)
}
},
async getRightListPolicy() { async getRightListPolicy() {
let params = {ids: this.rowData.policyIds} let params = { ids: this.rowData.policyIds }
const createTime = Date.now() + 3000 const createTime = Date.now() + 3000
this.rightLoading = true this.rightLoading = true
let resData = await getListByids(params) let resData = await getListByids(params)
if(resData.data.code === 200){ if (resData.data.code === 200) {
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0 const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
setTimeout(() => { setTimeout(() => {
this.rightLoading = false this.rightLoading = false
@@ -339,7 +332,7 @@ export default {
} }
}, },
async getLeftUserList(type) { async getLeftUserList(type) {
const {currentPage, size} = this.leftPages const { currentPage, size } = this.leftPages
const createTime = Date.now() + 3000 const createTime = Date.now() + 3000
let params = { let params = {
...this.formInline, ...this.formInline,
@@ -351,7 +344,7 @@ export default {
// params.labels = '未分组' // params.labels = '未分组'
this.leftLoading = true this.leftLoading = true
let resData = await getListAllByPolicy(params) let resData = await getListAllByPolicy(params)
if ( resData.data.code === 200 ) { if (resData.data.code === 200) {
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0 const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
setTimeout(() => { setTimeout(() => {
const { records, total, size, current } = resData.data.data const { records, total, size, current } = resData.data.data
@@ -365,7 +358,7 @@ export default {
}, },
async getLeftSignGroupList() { async getLeftSignGroupList() {
const arr = this.rowData.talentsNames.map((v) => ({ groupName: v, value: v })) const arr = this.rowData.talentsNames.map((v) => ({ groupName: v, value: v }))
this.leftServeOptions = [{groupName: '全部' }, ...arr] this.leftServeOptions = [{ groupName: '全部' }, ...arr]
// let params = { labels: this.rowData.talentsNames.join(',') } // let params = { labels: this.rowData.talentsNames.join(',') }
// params.labels = '未分组' // params.labels = '未分组'
// let resData = await getListAllByPolicy(params) // let resData = await getListAllByPolicy(params)
@@ -378,14 +371,14 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.content{ .content {
display: grid; display: grid;
grid-template-columns: 1fr 60px 1fr; grid-template-columns: 1fr 60px 1fr;
grid-gap: 20px; grid-gap: 20px;
.content-left{
} .content-left {}
.content-center{
.content-center {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: flex; display: flex;
@@ -393,41 +386,50 @@ export default {
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
} }
.content-right{
.content-right {
//修改动画的大小 给文字加粗效果 //修改动画的大小 给文字加粗效果
.right-search{ .right-search {
width: 100%; width: 100%;
} }
} }
.leftInput{
.leftInput {
width: 500px; width: 500px;
.selectWidth{
.selectWidth {
width: 160px !important; width: 160px !important;
} }
.el-input__inner{
.el-input__inner {
width: 300px; width: 300px;
} }
.input-search{
.input-search {
margin-right: -15px; margin-right: -15px;
margin-bottom: -10px; margin-bottom: -10px;
} }
} }
} }
/deep/.el-loading-spinner{
/deep/.el-loading-spinner {
font-size: 80px; font-size: 80px;
font-weight: bold; font-weight: bold;
} }
/deep/.el-loading-spinner .circular{
/deep/.el-loading-spinner .circular {
width: 80px; width: 80px;
height: 80px; height: 80px;
} }
.content-footer{ .content-footer {
float: right; float: right;
} }
.relative{
.relative {
position: relative; position: relative;
} }
</style> </style>

View File

@@ -23,7 +23,7 @@ module.exports = {
port: 1888, port: 1888,
proxy: { proxy: {
"/api": { "/api": {
target: 'http://localhost:8000', target: 'http://10.165.0.173:8000',
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {