推送匹配功能更新
This commit is contained in:
@@ -255,11 +255,13 @@ export default {
|
|||||||
async pushPostAndUser() {
|
async pushPostAndUser() {
|
||||||
this.pushState = true
|
this.pushState = true
|
||||||
const createTime = Date.now() + 2000
|
const createTime = Date.now() + 2000
|
||||||
|
// console.log(this.rightDataSelections,);
|
||||||
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,jobName: item.jobName })),
|
||||||
users: this.leftUserSelections.map((item) => ({ idNumber: item.idNumber, talentsId: item.id }))
|
users: this.leftUserSelections.map((item) => ({ idNumber: item.idNumber, talentsId: item.id,userId: item.userId, userName: item.name }))
|
||||||
}
|
}
|
||||||
|
console.log(params,"999999999999999999999999999");
|
||||||
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
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
target: 'http://192.168.1.106:8000',
|
target: 'http://192.168.1.106:8000',
|
||||||
|
// target: 'http://192.168.1.109:8000',
|
||||||
|
// target: 'http://10.165.0.173:8000',
|
||||||
ws: true,
|
ws: true,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user