Merge branch 'main' of http://124.243.245.42:3000/sdz/ks-app-employment-service
This commit is contained in:
@@ -171,3 +171,4 @@ export function usePagination(
|
|||||||
resetPagination
|
resetPagination
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
8
packageA/lib/lunar-javascript@1.7.2.js
Normal file
8
packageA/lib/lunar-javascript@1.7.2.js
Normal file
File diff suppressed because one or more lines are too long
@@ -13,7 +13,7 @@ import useUserStore from '@/stores/useUserStore';
|
|||||||
const { $api, navTo, navBack, vacanciesTo } = inject('globalFunction');
|
const { $api, navTo, navBack, vacanciesTo } = inject('globalFunction');
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import useLocationStore from '@/stores/useLocationStore';
|
import useLocationStore from '@/stores/useLocationStore';
|
||||||
import { usePagination } from '@/hook/usePagination';
|
import { usePagination } from '@/packageA/hook/usePagination';
|
||||||
import { jobMoreMap } from '@/utils/markdownParser';
|
import { jobMoreMap } from '@/utils/markdownParser';
|
||||||
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
||||||
const loadmoreRef = ref(null);
|
const loadmoreRef = ref(null);
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ const { $api, navTo, navBack } = inject('globalFunction');
|
|||||||
const weekMap = ['日', '一', '二', '三', '四', '五', '六'];
|
const weekMap = ['日', '一', '二', '三', '四', '五', '六'];
|
||||||
const calendarData = ref([]);
|
const calendarData = ref([]);
|
||||||
const current = ref({});
|
const current = ref({});
|
||||||
import { Solar, Lunar } from '@/lib/lunar-javascript@1.7.2.js';
|
import { Solar, Lunar } from '@/packageA/lib/lunar-javascript@1.7.2.js';
|
||||||
|
|
||||||
const isRecord = ref(false);
|
const isRecord = ref(false);
|
||||||
const recordNum = ref(4);
|
const recordNum = ref(4);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import request from '@/utilCa/request.js'
|
import request from '@/packageCa/utilCa/request.js'
|
||||||
|
|
||||||
const api = {}
|
const api = {}
|
||||||
// 获取职业大类 中类
|
// 获取职业大类 中类
|
||||||
@@ -9,3 +9,4 @@ api.queryJobListByParentCode = (name,code) => request.globalRequest(`/Job/QueryJ
|
|||||||
api.queryJobDetailById = (id) => request.globalRequest(`/Job/QueryJobDetailById?id=${id}`,'GET', {}, 2,3)
|
api.queryJobDetailById = (id) => request.globalRequest(`/Job/QueryJobDetailById?id=${id}`,'GET', {}, 2,3)
|
||||||
|
|
||||||
export default api
|
export default api
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import request from '@/utilCa/request.js'
|
import request from '@/packageCa/utilCa/request.js'
|
||||||
|
|
||||||
const api = {}
|
const api = {}
|
||||||
// 获取生涯罗盘
|
// 获取生涯罗盘
|
||||||
@@ -30,3 +30,4 @@ api.queryPathInfo = (encodeId) => request.globalRequest(`/StudentManage/QueryPat
|
|||||||
|
|
||||||
|
|
||||||
export default api
|
export default api
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import request from '@/utilCa/request.js'
|
import request from '@/packageCa/utilCa/request.js'
|
||||||
|
|
||||||
const api = {}
|
const api = {}
|
||||||
|
|
||||||
@@ -123,3 +123,4 @@ api.getUserTestTypeProcessList = (testTypes) => request.globalRequest(`/TestReco
|
|||||||
|
|
||||||
|
|
||||||
export default api
|
export default api
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import request from '@/utilCa/request.js'
|
import request from '@/packageCa/utilCa/request.js'
|
||||||
|
|
||||||
const api = {}
|
const api = {}
|
||||||
|
|
||||||
@@ -78,3 +78,4 @@ api.saveUserBasisInfo = (mobileCode,data) => request.globalRequest(`/user/SaveUs
|
|||||||
api.getUserBasisInfo = () => request.globalRequest(`/user/GetUserBasisInfo`,'GET', {}, 1)
|
api.getUserBasisInfo = () => request.globalRequest(`/user/GetUserBasisInfo`,'GET', {}, 1)
|
||||||
export default api
|
export default api
|
||||||
|
|
||||||
|
|
||||||
@@ -126,8 +126,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/job.js"
|
import api from "@/packageCa/apiCa/job.js"
|
||||||
import api1 from "@/apiCa/user.js"
|
import api1 from "@/packageCa/apiCa/user.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/job.js"
|
import api from "@/packageCa/apiCa/job.js"
|
||||||
import jobList from "@/packageCa/job/jobList.json";
|
import jobList from "@/packageCa/job/jobList.json";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/job.js"
|
import api from "@/packageCa/apiCa/job.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/job.js"
|
import api from "@/packageCa/apiCa/job.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/testManage.js"
|
import api from "@/packageCa/apiCa/testManage.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/testManage.js"
|
import api from "@/packageCa/apiCa/testManage.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/testManage.js"
|
import api from "@/packageCa/apiCa/testManage.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/testManage.js"
|
import api from "@/packageCa/apiCa/testManage.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/testManage.js"
|
import api from "@/packageCa/apiCa/testManage.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/user.js"
|
import api from "@/packageCa/apiCa/user.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/user.js"
|
import api from "@/packageCa/apiCa/user.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/testManage.js";
|
import api from "@/packageCa/apiCa/testManage.js";
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
testType: {
|
testType: {
|
||||||
|
|||||||
@@ -73,9 +73,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
||||||
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
||||||
import api from "@/apiCa/testManage.js";
|
import api from "@/packageCa/apiCa/testManage.js";
|
||||||
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
||||||
const echarts = require('../../uni_modules/lime-echart/static/echarts.min.js');
|
const echarts = require('../../utilCa/echarts.min.js');
|
||||||
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
||||||
// // 注册主题
|
// // 注册主题
|
||||||
// echarts.registerTheme('theme', theme);
|
// echarts.registerTheme('theme', theme);
|
||||||
|
|||||||
@@ -243,9 +243,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
||||||
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
||||||
import api from "@/apiCa/testManage.js";
|
import api from "@/packageCa/apiCa/testManage.js";
|
||||||
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
||||||
const echarts = require('../../uni_modules/lime-echart/static/echarts.min.js');
|
const echarts = require('../../utilCa/echarts.min.js');
|
||||||
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
||||||
// // 注册主题
|
// // 注册主题
|
||||||
// echarts.registerTheme('theme', theme);
|
// echarts.registerTheme('theme', theme);
|
||||||
|
|||||||
@@ -112,10 +112,10 @@
|
|||||||
<script>
|
<script>
|
||||||
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
||||||
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
||||||
import api from "@/apiCa/testManage.js"
|
import api from "@/packageCa/apiCa/testManage.js"
|
||||||
import wayData from "./multipleAbilityData.json";
|
import wayData from "./multipleAbilityData.json";
|
||||||
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
||||||
const echarts = require('../../uni_modules/lime-echart/static/echarts.min.js');
|
const echarts = require('../../utilCa/echarts.min.js');
|
||||||
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
||||||
// // 注册主题
|
// // 注册主题
|
||||||
// echarts.registerTheme('theme', theme);
|
// echarts.registerTheme('theme', theme);
|
||||||
|
|||||||
@@ -400,9 +400,9 @@
|
|||||||
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
||||||
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
||||||
import opts from "./chartOpts.js"
|
import opts from "./chartOpts.js"
|
||||||
import api from "@/apiCa/testManage.js";
|
import api from "@/packageCa/apiCa/testManage.js";
|
||||||
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
||||||
const echarts = require('../../uni_modules/lime-echart/static/echarts.min.js');
|
const echarts = require('../../utilCa/echarts.min.js');
|
||||||
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
||||||
// // 注册主题
|
// // 注册主题
|
||||||
// echarts.registerTheme('theme', theme);
|
// echarts.registerTheme('theme', theme);
|
||||||
|
|||||||
@@ -41,9 +41,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
import testHead from "@/packageCa/testReport/components/testHead.vue"
|
||||||
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
import contrastBox from "@/packageCa/testReport/components/contrastBox.vue"
|
||||||
import api from "@/apiCa/testManage.js";
|
import api from "@/packageCa/apiCa/testManage.js";
|
||||||
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
import theme from '@/uni_modules/lime-echart/static/walden.json';
|
||||||
const echarts = require('../../uni_modules/lime-echart/static/echarts.min.js');
|
const echarts = require('../../utilCa/echarts.min.js');
|
||||||
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
// import * as echarts from '@/uni_modules/lime-echart/static/echarts.min';
|
||||||
// // 注册主题
|
// // 注册主题
|
||||||
// echarts.registerTheme('theme', theme);
|
// echarts.registerTheme('theme', theme);
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/studentProfile.js"
|
import api from "@/packageCa/apiCa/studentProfile.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/user.js"
|
import api from "@/packageCa/apiCa/user.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/studentProfile.js"
|
import api from "@/packageCa/apiCa/studentProfile.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -252,8 +252,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/user.js"
|
import api from "@/packageCa/apiCa/user.js"
|
||||||
import api1 from "@/apiCa/studentProfile.js"
|
import api1 from "@/packageCa/apiCa/studentProfile.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -133,7 +133,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/studentProfile.js"
|
import api from "@/packageCa/apiCa/studentProfile.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -178,7 +178,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import api from "@/apiCa/studentProfile.js"
|
import api from "@/packageCa/apiCa/studentProfile.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -37,3 +37,4 @@ export {
|
|||||||
baseUrl8,
|
baseUrl8,
|
||||||
filestore_site
|
filestore_site
|
||||||
}
|
}
|
||||||
|
|
||||||
1
packageCa/utilCa/echarts.min.js
vendored
Normal file
1
packageCa/utilCa/echarts.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -17,3 +17,4 @@ export function ossImageUrl(path, process) {
|
|||||||
// 没有处理参数时,直接返回原始路径
|
// 没有处理参数时,直接返回原始路径
|
||||||
return `${BASE_IMAGE_URL}/${path}`;
|
return `${BASE_IMAGE_URL}/${path}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,3 +112,4 @@ request.globalRequest = (url, method, data, power, type) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
export default request
|
export default request
|
||||||
|
|
||||||
515
packageRc/apiRc/company/index.js
Normal file
515
packageRc/apiRc/company/index.js
Normal file
@@ -0,0 +1,515 @@
|
|||||||
|
// 获取人员基本信息详情
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// import { post, get } from '../../utils/request.js'
|
||||||
|
|
||||||
|
// export function getPersonInfo(id) {
|
||||||
|
// return get({
|
||||||
|
// url: `personnel/personBaseInfo/${id}`,
|
||||||
|
// method: 'get'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 根据 userId 获取企业详情
|
||||||
|
export function companyDetails(userId) {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
url: `/company/unitBaseInfo/user/${userId}`,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 企业-推荐人员信息
|
||||||
|
export function recommendedPerson(params) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitBaseInfo/recommend/person',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 人员邀请
|
||||||
|
export function invitePerson(params) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitBaseInfo/invite',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取企业招聘岗位列表
|
||||||
|
export function jobList(params) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitPostInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查找已投递、已推荐、已邀请的人员信息
|
||||||
|
export function listMatch(query) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitBaseInfo/relevance',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 添加企业基本信息
|
||||||
|
export function addJobBase(data) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitBaseInfo',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询部门下拉树结构
|
||||||
|
export function deptTreeSelect() {
|
||||||
|
return request({
|
||||||
|
url: '/system/center/user/deptTree',
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 企业发布招聘岗位
|
||||||
|
export function addJob(data) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitPostInfo',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取招聘工种列表
|
||||||
|
export function jobTypeList(params) {
|
||||||
|
return request({
|
||||||
|
url: '/basicdata/workType/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 企业基本信息列表
|
||||||
|
export function jobBaseList(query) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitBaseInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取企业招聘岗位信息详细信息
|
||||||
|
export function getJob(id) {
|
||||||
|
return request({
|
||||||
|
url: `/company/unitPostInfo/${id}`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 修改企业招聘岗位信息
|
||||||
|
export function updateJob(data) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitPostInfo',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改企业基本信息
|
||||||
|
export function updateJobBase(data) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitBaseInfo',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 查询角色详细
|
||||||
|
export function getJobService(id) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询推荐人员、已推荐、已邀请 详情
|
||||||
|
export function getUnitBaseInfo(id) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 查询工种列表
|
||||||
|
export function listJobType(query) {
|
||||||
|
return request({
|
||||||
|
url: '/basicdata/workType/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 人员基本信息 - 列表
|
||||||
|
export function personInfoList(query) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取人员基本信息详情
|
||||||
|
export function getPersonInfo(id) {
|
||||||
|
return request({
|
||||||
|
url: `/personnel/personBaseInfo/${id}`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 删除人员基本信息
|
||||||
|
export function delPersonInfo(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除录入人员 公用 type = 1 失业中 2 就业困难 3 离校生 4 其他人员
|
||||||
|
export function delPersonUser(ids) {
|
||||||
|
return request({
|
||||||
|
url: `/personnel/personInputInfo/${ids}`,
|
||||||
|
method: 'delete',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增人员基本信息
|
||||||
|
export function addPersonInfo(data) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改人员基本信息
|
||||||
|
export function updatePersonInfo(data) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo',
|
||||||
|
method: 'put',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//社区人员审核
|
||||||
|
export function personInfoAudit(data) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo/audit',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//记录查看身份证
|
||||||
|
export function recordLookIdCard(params) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo/recordLookIdCard',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* 失业人员 --------------------------------------------- start */
|
||||||
|
|
||||||
|
// 新增失业人员
|
||||||
|
export function addPersonUnemployed(data) {
|
||||||
|
return request({
|
||||||
|
url: '/person/unemployment',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 失业人员修改
|
||||||
|
export function updatePersonUnemployed(data) {
|
||||||
|
return request({
|
||||||
|
url: '/person/unemployment',
|
||||||
|
method: 'put',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 失业人员列表
|
||||||
|
export function unemployment(params) {
|
||||||
|
return request({
|
||||||
|
url: '/person/unemployment/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 失业人员详情
|
||||||
|
export function unemploymentDetails(id) {
|
||||||
|
return request({
|
||||||
|
url: `/person/unemployment/${id}`,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 失业人员删除
|
||||||
|
export function unemploymentDelete(id) {
|
||||||
|
return request({
|
||||||
|
url: `/person/unemployment/${id}`,
|
||||||
|
method: 'delete',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 失业人员 --------------------------------------------- end */
|
||||||
|
|
||||||
|
|
||||||
|
/* 就业困难人员 --------------------------------------------- start */
|
||||||
|
|
||||||
|
// 新增就业困难
|
||||||
|
export function addPersonDifficult(data) {
|
||||||
|
return request({
|
||||||
|
url: '/person/findingEmployment',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改就业困难
|
||||||
|
export function updatePersonDifficult(data) {
|
||||||
|
return request({
|
||||||
|
url: '/person/findingEmployment',
|
||||||
|
method: 'put',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 就业困难列表
|
||||||
|
export function findingEmployment(params) {
|
||||||
|
return request({
|
||||||
|
url: '/person/findingEmployment/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 就业困难详情
|
||||||
|
export function findingEmploymentDetails(id) {
|
||||||
|
return request({
|
||||||
|
url: `/person/findingEmployment/${id}`,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 就业困难删除
|
||||||
|
export function findingEmploymentDelete(id) {
|
||||||
|
return request({
|
||||||
|
url: `/person/findingEmployment/${id}`,
|
||||||
|
method: 'delete',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
/* 就业困难人员 --------------------------------------------- end */
|
||||||
|
|
||||||
|
|
||||||
|
/* 离校未就业高校生 --------------------------------------------- start */
|
||||||
|
|
||||||
|
// 新增离校未就业高校生
|
||||||
|
export function addLeaveSchool(data) {
|
||||||
|
return request({
|
||||||
|
url: '/person/leavingSchoolInfo',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改离校未就业高校生
|
||||||
|
export function updateLeaveSchool(data) {
|
||||||
|
return request({
|
||||||
|
url: '/person/leavingSchoolInfo',
|
||||||
|
method: 'put',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 高校未就业列表
|
||||||
|
export function leavingSchoolInfo(params) {
|
||||||
|
return request({
|
||||||
|
url: '/person/leavingSchoolInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 高校未就业详情
|
||||||
|
export function leavingSchoolInfoDetails(id) {
|
||||||
|
return request({
|
||||||
|
url: `/person/leavingSchoolInfo/${id}`,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 高校未就业删除
|
||||||
|
export function leavingSchoolInfoDelete(id) {
|
||||||
|
return request({
|
||||||
|
url: `/person/leavingSchoolInfo/${id}`,
|
||||||
|
method: 'delete',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* 离校未就业高校生 --------------------------------------------- end */
|
||||||
|
|
||||||
|
/* 其他人员 --------------------------------------------- start */
|
||||||
|
|
||||||
|
// 新增其他人员
|
||||||
|
export function addOther(data) {
|
||||||
|
return request({
|
||||||
|
url: '/person/other',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 其他人员修改
|
||||||
|
export function updateOther(data) {
|
||||||
|
return request({
|
||||||
|
url: '/person/other',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 其他人员列表
|
||||||
|
export function other(params) {
|
||||||
|
return request({
|
||||||
|
url: '/person/other/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 其他人员详情
|
||||||
|
export function otherDetails(id) {
|
||||||
|
return request({
|
||||||
|
url: `/person/other/${id}`,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 其他人员删除
|
||||||
|
export function otherDelete(id) {
|
||||||
|
return request({
|
||||||
|
url: `/person/other/${id}`,
|
||||||
|
method: 'delete',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
/* 其他人员 --------------------------------------------- end */
|
||||||
|
|
||||||
|
// 需求预警列表
|
||||||
|
export function personAlertList(params) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/warningList',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function personDealList(params) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/dealingList',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 服务追踪 服务类型/服务id
|
||||||
|
export function serviceTraceability({
|
||||||
|
demandType,
|
||||||
|
id
|
||||||
|
}) {
|
||||||
|
return request({
|
||||||
|
// url: `/system/personRequirementsRecords/serviceTraceability/${demandType}/${id}`,
|
||||||
|
url: `/timelime/timelime/fwzs/${id}`,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 需求办结
|
||||||
|
export function requirementCompletion(url, data) {
|
||||||
|
return request({
|
||||||
|
url,
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//岗位审核
|
||||||
|
export function jobAudit(data) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitPostInfo/audit',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//社群 首页未完成数
|
||||||
|
// export function getPeopleCount() {
|
||||||
|
// return request({
|
||||||
|
// url: '/pc/index/getPeopleCount',
|
||||||
|
// method: 'get',
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
|
//社群 首页未完成数
|
||||||
|
export function getDemandUnfinished() {
|
||||||
|
return request({
|
||||||
|
url: '/pc/index/todo',
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 删除企业招聘岗位信息
|
||||||
|
export function delJob(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/company/unitPostInfo/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 所在社区列表
|
||||||
|
export function deptList(params) {
|
||||||
|
return request({
|
||||||
|
'url': `/system/center/user/deptList`,
|
||||||
|
'method': 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 所在社区列表
|
||||||
|
export function returnPerson(params) {
|
||||||
|
return request({
|
||||||
|
'url': `/personnel/personBaseInfo/returnPerson`,
|
||||||
|
'method': 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 根据人的身份证查询人的详细信息
|
||||||
|
export function getIdNumberInfo(params) {
|
||||||
|
return request({
|
||||||
|
'url': `/personnel/personBaseInfo/getIdNumberInfo`,
|
||||||
|
'method': 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
16
packageRc/apiRc/jobType/index.js
Normal file
16
packageRc/apiRc/jobType/index.js
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2025-10-31 11:06:15
|
||||||
|
* @LastEditors: lip
|
||||||
|
* @LastEditTime: 2025-11-03 12:48:22
|
||||||
|
*/
|
||||||
|
// import { post, get } from '@/utilsRc/request'
|
||||||
|
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
export function listJobType(query) {
|
||||||
|
return request({
|
||||||
|
url: '/basicdata/workType/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
54
packageRc/apiRc/login.js
Normal file
54
packageRc/apiRc/login.js
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2025-10-31 11:06:15
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-03 15:51:28
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 登录方法
|
||||||
|
export function login(data) {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
url: '/not/login/person/zkrLogin',
|
||||||
|
params: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function smsLogin(data) {
|
||||||
|
return request({
|
||||||
|
method: 'post',
|
||||||
|
url: '/personnel/personBaseInfo/loginGrAndQy',
|
||||||
|
data,
|
||||||
|
headers: {
|
||||||
|
isToken: false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function wechatLogin(data) {
|
||||||
|
return request({
|
||||||
|
method: 'post',
|
||||||
|
url: '/personnel/personBaseInfo/loginGrAndQy',
|
||||||
|
data,
|
||||||
|
headers: {
|
||||||
|
isToken: false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function register(data) {
|
||||||
|
return request({
|
||||||
|
method: 'post',
|
||||||
|
url: '/personnel/personBaseInfo/loginGrAndQy',
|
||||||
|
data,
|
||||||
|
headers: {
|
||||||
|
isToken: false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户详细信息
|
||||||
|
export function getInfo() {
|
||||||
|
return request({
|
||||||
|
url: '/getInfo',
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
59
packageRc/apiRc/needs/assistService.js
Normal file
59
packageRc/apiRc/needs/assistService.js
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:56:51
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询援助需求列表
|
||||||
|
export function listAssistService(query) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personAssistDemandInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询援助需求详细
|
||||||
|
export function getAssistService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personAssistDemandInfo/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增援助需求
|
||||||
|
export function addAssistService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personAssistDemandInfo',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改援助需求
|
||||||
|
export function updateAssistService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personAssistDemandInfo',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除援助需求
|
||||||
|
export function delAssistService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 个人援助需求办结
|
||||||
|
export function finishAssistService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personAssistDemandInfo/assistDone',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
59
packageRc/apiRc/needs/entrepreneurshipService.js
Normal file
59
packageRc/apiRc/needs/entrepreneurshipService.js
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:56:35
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询创业需求列表
|
||||||
|
export function listEntrepreneurshipService(query) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personEntrepreneurshipDemandInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询创业需求详细
|
||||||
|
export function getEntrepreneurshipService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personEntrepreneurshipDemandInfo/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增创业需求
|
||||||
|
export function addEntrepreneurshipService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personEntrepreneurshipDemandInfo',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改创业需求
|
||||||
|
export function updateEntrepreneurshipService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personEntrepreneurshipDemandInfo',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除创业需求
|
||||||
|
export function delEntrepreneurshipService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 个人援助需求办结
|
||||||
|
export function finishEntrepreneurshipService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personEntrepreneurshipDemandInfo/entrepreneurshipDone',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
58
packageRc/apiRc/needs/jobService.js
Normal file
58
packageRc/apiRc/needs/jobService.js
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2025-04-07 14:23:47
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:56:39
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询求职需求列表
|
||||||
|
export function listJobService(query) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询求职需求详细
|
||||||
|
export function getJobService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增求职需求
|
||||||
|
export function addJobService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改求职需求
|
||||||
|
export function updateJobService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除求职需求
|
||||||
|
export function delJobService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//查询服务次数
|
||||||
|
export function serviceTraceability(userId) {
|
||||||
|
return request({
|
||||||
|
url: '/timelime/timelime/getFwcs/' + userId,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
59
packageRc/apiRc/needs/otherService.js
Normal file
59
packageRc/apiRc/needs/otherService.js
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:56:42
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询其他需求列表
|
||||||
|
export function listOtherService(query) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personOtherDemandInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询其他需求详细
|
||||||
|
export function getOtherService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personOtherDemandInfo/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增其他需求
|
||||||
|
export function addOtherService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personOtherDemandInfo',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改其他需求
|
||||||
|
export function updateOtherService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personOtherDemandInfo',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除其他需求
|
||||||
|
export function delOtherService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 个人援助需求办结
|
||||||
|
export function finishOtherService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personOtherDemandInfo/otherDemandDone',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
35
packageRc/apiRc/needs/person.js
Normal file
35
packageRc/apiRc/needs/person.js
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2025-10-31 11:06:15
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-05 15:33:21
|
||||||
|
*/
|
||||||
|
// 人员接口
|
||||||
|
// import { post, get } from '@/utilsRc/request'
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
export function getPersonBase(params) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function getPersonList(params) {
|
||||||
|
return request({
|
||||||
|
url: '/personnel/personBaseInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 新增角色
|
||||||
|
export function addInvestigate(data) {
|
||||||
|
return request({
|
||||||
|
// url: '//process/processInterview',
|
||||||
|
url: '/timelime/timelime',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
53
packageRc/apiRc/needs/personDemand.js
Normal file
53
packageRc/apiRc/needs/personDemand.js
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2025-11-03 08:48:44
|
||||||
|
* @LastEditors: lip
|
||||||
|
* @LastEditTime: 2025-11-03 12:48:41
|
||||||
|
*/
|
||||||
|
// 查询个人需求信息列表
|
||||||
|
// import { post, get } from '@/utilsRc/request'
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
export function listPersonDemand(query) {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
url: '/manage/personDemand/list',
|
||||||
|
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function delPersonDemand(id) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 查询个人需求信息详细
|
||||||
|
export function getPersonDemand(id) {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
url: '/manage/personDemand/' + id,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增个人需求信息
|
||||||
|
export function addPersonDemand(data) {
|
||||||
|
// 确保传递数据前进行日志输出
|
||||||
|
console.log('addPersonDemand函数接收到的数据:', data);
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand',
|
||||||
|
method: 'post', // 修改为大写POST,确保请求参数正确传递
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改个人需求信息
|
||||||
|
export function updatePersonDemand(data) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
50
packageRc/apiRc/needs/trainService.js
Normal file
50
packageRc/apiRc/needs/trainService.js
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:56:47
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询培训需求列表
|
||||||
|
export function listTrainService(query) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personTrainDemandInfo/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询培训需求详细
|
||||||
|
export function getTrainService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personTrainDemandInfo/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增培训需求
|
||||||
|
export function addTrainService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personTrainDemandInfo',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改培训需求
|
||||||
|
export function updateTrainService(data) {
|
||||||
|
return request({
|
||||||
|
url: '/demand/personTrainDemandInfo',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除培训需求
|
||||||
|
export function delTrainService(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/manage/personDemand/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
85
packageRc/apiRc/person.js
Normal file
85
packageRc/apiRc/person.js
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2025-10-31 13:50:15
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-10-31 14:30:31
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 人员信息保存
|
||||||
|
export function savePersonBase(data) {
|
||||||
|
return request({
|
||||||
|
'url': '/personnel/personBaseInfo',
|
||||||
|
'method': 'put',
|
||||||
|
'data': data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 人员信息查询
|
||||||
|
export function getPersonBase(userId) {
|
||||||
|
return request({
|
||||||
|
'url': `/personnel/personBaseInfo/user/${userId}`,
|
||||||
|
'method': 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 获取行政区划列表
|
||||||
|
export function getQUList() {
|
||||||
|
return request({
|
||||||
|
url: `/manage/xzqh//xzqhTree`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 查询部门下拉树结构
|
||||||
|
export function deptTreeSelect() {
|
||||||
|
return request({
|
||||||
|
url: '/system/center/user/deptTree',
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 社群端 根据所在社区 获取姓名
|
||||||
|
export function generateUserName(deptId) {
|
||||||
|
return request({
|
||||||
|
url: `/generateUserName/${deptId}`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取部门列表
|
||||||
|
export function getDeptList(name,personId) {
|
||||||
|
return request({
|
||||||
|
url: `/system/center/user/getDeptList?name=${name}&parentId=${personId}`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 求职工种列表
|
||||||
|
export function touristWork() {
|
||||||
|
return request({
|
||||||
|
url: `/basicdata/workType/workTypeTree`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 获取招聘工种列表
|
||||||
|
export function jobTypeList(params) {
|
||||||
|
return request({
|
||||||
|
url: '/basicdata/workType/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 未读消息数量
|
||||||
|
|
||||||
|
export function unreadNum() {
|
||||||
|
return request({
|
||||||
|
url: '/manage/tjgw/notReadNum',
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 地图类型列表
|
||||||
|
export function jyshdt(cyfhjd) {
|
||||||
|
return request({
|
||||||
|
url: `/jyshdt/jyshdt/queryList?lx=${cyfhjd}`,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
57
packageRc/apiRc/personinfo/index.js
Normal file
57
packageRc/apiRc/personinfo/index.js
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* @Descripttion:
|
||||||
|
* @Author: lip
|
||||||
|
* @Date: 2025-11-03 12:35:56
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
*/
|
||||||
|
// import { post, get } from '../../utils/request.js'
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 登录方法
|
||||||
|
export function personInfoList(data) {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
url: '/personnel/personBaseInfo/list',
|
||||||
|
params: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 需求预警列表
|
||||||
|
export function personAlertList(params) {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
url: '/manage/personDemand/warningList',
|
||||||
|
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
//经办人数据获取
|
||||||
|
export function getJbrInfo() {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
url: `/system/center/user/selectHxjbr`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function getPersonBase() {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
url: `/system/center/user/selectHxjbr`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function returnPerson(params) {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
'url': `/personnel/personBaseInfo/returnPerson`,
|
||||||
|
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function getStatistic(params) {
|
||||||
|
return request({
|
||||||
|
method: 'get',
|
||||||
|
'url': `/pc/index/fwqkfx`,
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
@@ -15,3 +15,4 @@ export function getPolicyDetail(queryParams) {
|
|||||||
params: queryParams,
|
params: queryParams,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
51
packageRc/apiRc/service/investigate.js
Normal file
51
packageRc/apiRc/service/investigate.js
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:56:56
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询角色列表
|
||||||
|
export function listInvestigate(query) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processInterview/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询角色详细
|
||||||
|
export function getInvestigate(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processInterview/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增角色
|
||||||
|
export function addInvestigate(data) {
|
||||||
|
return request({
|
||||||
|
// url: '/process/processInterview',
|
||||||
|
url: '/timelime/timelime',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改角色
|
||||||
|
export function updateInvestigate(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processInterview',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除角色
|
||||||
|
export function delInvestigate(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processInterview/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
87
packageRc/apiRc/service/jobRecommend.js
Normal file
87
packageRc/apiRc/service/jobRecommend.js
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:56:59
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询角色列表
|
||||||
|
export function listJobRecommend(query) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processJobRecommend/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 查询角色列表
|
||||||
|
export function getWorkListReq(query) {
|
||||||
|
return request({
|
||||||
|
// url: '/personnel/personBaseInfo/postRecommend',
|
||||||
|
url: '/company/unitPostInfo/postElectedList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询角色详细
|
||||||
|
export function getJobRecommend(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processJobRecommend/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增角色
|
||||||
|
export function addJobRecommend(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processJobRecommend',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//岗位推荐保存和办结
|
||||||
|
export function saveJobRecommend(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processJobRecommend/create',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改角色
|
||||||
|
export function updateJobRecommend(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processJobRecommend',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除角色
|
||||||
|
export function delJobRecommend(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processJobRecommend/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取绑定的职位
|
||||||
|
export function getAddedJobs(params) {
|
||||||
|
return request({
|
||||||
|
// url: '/company/postDeliverInfo/list',
|
||||||
|
url: '/company/unitPostInfo/no/permission/list',
|
||||||
|
method: 'get',
|
||||||
|
params,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// // 获取推荐岗位
|
||||||
|
// export function getAddedJobs(params) {
|
||||||
|
// return request({
|
||||||
|
// url: '/personnel/personBaseInfo/postRecommend',
|
||||||
|
// method: 'get',
|
||||||
|
// params,
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
50
packageRc/apiRc/service/jobTrack.js
Normal file
50
packageRc/apiRc/service/jobTrack.js
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:57:02
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询角色列表
|
||||||
|
export function listJobTrack(query) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processEmploymentTracking/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询角色详细
|
||||||
|
export function getJobTrack(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processEmploymentTracking/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增角色
|
||||||
|
export function addJobTrack(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processEmploymentTracking',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改角色
|
||||||
|
export function updateJobTrack(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processEmploymentTracking',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除角色
|
||||||
|
export function delJobTrack(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processEmploymentTracking/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
50
packageRc/apiRc/service/policyConsultation.js
Normal file
50
packageRc/apiRc/service/policyConsultation.js
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:57:05
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询角色列表
|
||||||
|
export function listPolicyConsultation(query) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processPolicyConsult/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询角色详细
|
||||||
|
export function getPolicyConsultation(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processPolicyConsult/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增角色
|
||||||
|
export function addPolicyConsultation(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processPolicyConsult',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改角色
|
||||||
|
export function updatePolicyConsultation(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processPolicyConsult',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除角色
|
||||||
|
export function delPolicyConsultation(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processPolicyConsult/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
50
packageRc/apiRc/service/skillTrain.js
Normal file
50
packageRc/apiRc/service/skillTrain.js
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2024-09-25 11:14:29
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-04 08:57:09
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询角色列表
|
||||||
|
export function listSkillTrain(query) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processSkillTraining/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询角色详细
|
||||||
|
export function getSkillTrain(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processSkillTraining/' + ids,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增角色
|
||||||
|
export function addSkillTrain(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processSkillTraining',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改角色
|
||||||
|
export function updateSkillTrain(data) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processSkillTraining',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除角色
|
||||||
|
export function delSkillTrain(ids) {
|
||||||
|
return request({
|
||||||
|
url: '/process/processSkillTraining/' + ids,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
64
packageRc/apiRc/system/dict.js
Normal file
64
packageRc/apiRc/system/dict.js
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
/*
|
||||||
|
* @Date: 2025-10-31 15:06:34
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-11-03 12:20:28
|
||||||
|
*/
|
||||||
|
import request from '@/utilsRc/request'
|
||||||
|
// 查询字典数据列表
|
||||||
|
export function listData (query) {
|
||||||
|
return request({
|
||||||
|
url: '/system/dict/data/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询字典数据详细
|
||||||
|
export function getData (dictCode) {
|
||||||
|
return request({
|
||||||
|
url: '/system/dict/data/' + dictCode,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 根据字典类型查询字典数据信息
|
||||||
|
export function getDicts (dictType) {
|
||||||
|
return request({
|
||||||
|
url: '/system/dict/data/type/' + dictType,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 根据字典类型查询字典数据信息
|
||||||
|
export function getDict (dictType) {
|
||||||
|
return request({
|
||||||
|
url: '/system/dict/data/type/' + dictType,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增字典数据
|
||||||
|
export function addData (data) {
|
||||||
|
return request({
|
||||||
|
url: '/system/dict/data/add',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改字典数据
|
||||||
|
export function updateData (data) {
|
||||||
|
return request({
|
||||||
|
url: '/system/dict/data',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除字典数据
|
||||||
|
export function delData (dictCode) {
|
||||||
|
return request({
|
||||||
|
url: '/system/dict/data/remove' + dictCode,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
27
packageRc/apiRc/timeLine/index.js
Normal file
27
packageRc/apiRc/timeLine/index.js
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
import request from '@/utilsRc/request'
|
||||||
|
|
||||||
|
// 查询时间轴列表
|
||||||
|
export function timelineList(params) {
|
||||||
|
return request({
|
||||||
|
url: '/timelime/timelime/timeline',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询时间轴详情列表
|
||||||
|
export function timeList(params) {
|
||||||
|
return request({
|
||||||
|
url: '/timelime/timelime/list',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
//获取时间轴详细信息
|
||||||
|
export function timeDetails(id) {
|
||||||
|
return request({
|
||||||
|
url: '/timelime/timelime/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
@@ -184,9 +184,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {getJbrInfo} from "@/apiRc/personinfo/index"
|
import {getJbrInfo} from "@/packageRc/apiRc/personinfo/index"
|
||||||
import {addInvestigate} from "@/apiRc/needs/person"
|
import {addInvestigate} from "@/packageRc/apiRc/needs/person"
|
||||||
import { getDicts } from '@/apiRc/system/dict.js';
|
import { getDicts } from '@/packageRc/apiRc/system/dict.js';
|
||||||
import config from '@/utilsRc/config.js'
|
import config from '@/utilsRc/config.js'
|
||||||
import { getToken } from "@/utilsRc/auth";
|
import { getToken } from "@/utilsRc/auth";
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -97,7 +97,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { timeList } from "@/apiRc/timeLine";
|
import { timeList } from "@/packageRc/apiRc/timeLine";
|
||||||
export default {
|
export default {
|
||||||
name: "serviceRecord",
|
name: "serviceRecord",
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -160,8 +160,8 @@ function viewMore() {
|
|||||||
let qcjy_xqlx = ref([])
|
let qcjy_xqlx = ref([])
|
||||||
let qcjy_xqlc = ref([])
|
let qcjy_xqlc = ref([])
|
||||||
let infoData = ref({})
|
let infoData = ref({})
|
||||||
import {getDicts} from '@/apiRc/system/dict'
|
import {getDicts} from '@/packageRc/apiRc/system/dict'
|
||||||
import {getStatistic} from '@/apiRc/personinfo/index'
|
import {getStatistic} from '@/packageRc/apiRc/personinfo/index'
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getlist();
|
getlist();
|
||||||
getlistyujing();
|
getlistyujing();
|
||||||
|
|||||||
@@ -509,12 +509,12 @@
|
|||||||
import { getPersonInfo } from "../../api/company/index.js";
|
import { getPersonInfo } from "../../api/company/index.js";
|
||||||
// import { listJobService, serviceTraceability } from "@/api/needs/jobService";
|
// import { listJobService, serviceTraceability } from "@/api/needs/jobService";
|
||||||
import { listPersonDemand, delPersonDemand } from "../../api/needs/personDemand";
|
import { listPersonDemand, delPersonDemand } from "../../api/needs/personDemand";
|
||||||
import { requirementCompletion } from "@/apiRc/company/index";
|
import { requirementCompletion } from "@/packageRc/apiRc/company/index";
|
||||||
// import { listEntrepreneurshipService } from "@/api/needs/entrepreneurshipService";
|
// import { listEntrepreneurshipService } from "@/api/needs/entrepreneurshipService";
|
||||||
// import { listTrainService, delTrainService } from "@/api/needs/trainService";
|
// import { listTrainService, delTrainService } from "@/api/needs/trainService";
|
||||||
import { listJobType } from "../../api/jobType/index";
|
import { listJobType } from "../../api/jobType/index";
|
||||||
// import ImageUpload from "@/packageRc/components/ImageUpload";
|
// import ImageUpload from "@/packageRc/components/ImageUpload";
|
||||||
import {getJbrInfo} from "@/apiRc/personinfo/index"
|
import {getJbrInfo} from "@/packageRc/apiRc/personinfo/index"
|
||||||
import DealDone from "../needs/dealDone.vue";
|
import DealDone from "../needs/dealDone.vue";
|
||||||
export default {
|
export default {
|
||||||
name: "serviceDetails",
|
name: "serviceDetails",
|
||||||
|
|||||||
@@ -173,15 +173,15 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPersonBase
|
getPersonBase
|
||||||
} from "@/apiRc/person";
|
} from "@/packageRc/apiRc/person";
|
||||||
import {
|
import {
|
||||||
addPersonDemand,
|
addPersonDemand,
|
||||||
updatePersonDemand,
|
updatePersonDemand,
|
||||||
getPersonDemand
|
getPersonDemand
|
||||||
} from "@/apiRc/needs/personDemand";
|
} from "@/packageRc/apiRc/needs/personDemand";
|
||||||
import {
|
import {
|
||||||
listJobType
|
listJobType
|
||||||
} from "@/apiRc/jobType/index";
|
} from "@/packageRc/apiRc/jobType/index";
|
||||||
import ImageUpload from '/packageRc/components/ImageUpload'
|
import ImageUpload from '/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
||||||
import PlacePicker from "/packageRc/components/placePicker";
|
import PlacePicker from "/packageRc/components/placePicker";
|
||||||
|
|||||||
@@ -46,17 +46,17 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPersonBase
|
getPersonBase
|
||||||
} from "@/apiRc/person";
|
} from "@/packageRc/apiRc/person";
|
||||||
import {
|
import {
|
||||||
addPersonDemand,
|
addPersonDemand,
|
||||||
updatePersonDemand,
|
updatePersonDemand,
|
||||||
getPersonDemand
|
getPersonDemand
|
||||||
} from "@/apiRc/needs/personDemand";
|
} from "@/packageRc/apiRc/needs/personDemand";
|
||||||
import ImageUpload from '/packageRc/components/ImageUpload'
|
import ImageUpload from '/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
||||||
import {
|
import {
|
||||||
listJobType
|
listJobType
|
||||||
} from "@/apiRc/jobType/index";
|
} from "@/packageRc/apiRc/jobType/index";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
import { reactive, inject, watch, ref, onMounted, watchEffect, nextTick } from 'vue';
|
import { reactive, inject, watch, ref, onMounted, watchEffect, nextTick } from 'vue';
|
||||||
const { $api, navTo, vacanciesTo, formatTotal, config } = inject('globalFunction');
|
const { $api, navTo, vacanciesTo, formatTotal, config } = inject('globalFunction');
|
||||||
|
|
||||||
import { getPolicyList } from '@/apiRc/policy';
|
import { getPolicyList } from '@/packageRc/apiRc/policy';
|
||||||
let policyList = ref([])
|
let policyList = ref([])
|
||||||
function getPolicy() {
|
function getPolicy() {
|
||||||
getPolicyList({pageNum: 1, pageSize: 10}).then(res => {
|
getPolicyList({pageNum: 1, pageSize: 10}).then(res => {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPersonList
|
getPersonList
|
||||||
} from '@/apiRc/needs/person'
|
} from '@/packageRc/apiRc/needs/person'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -177,12 +177,12 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPersonBase
|
getPersonBase
|
||||||
} from "@/apiRc/person";
|
} from "@/packageRc/apiRc/person";
|
||||||
import {
|
import {
|
||||||
addPersonDemand,
|
addPersonDemand,
|
||||||
updatePersonDemand,
|
updatePersonDemand,
|
||||||
getPersonDemand
|
getPersonDemand
|
||||||
} from "@/apiRc/needs/personDemand";
|
} from "@/packageRc/apiRc/needs/personDemand";
|
||||||
import ImageUpload from '/packageRc/components/ImageUpload'
|
import ImageUpload from '/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|||||||
@@ -102,15 +102,15 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPersonBase
|
getPersonBase
|
||||||
} from "@/apiRc/person";
|
} from "@/packageRc/apiRc/person";
|
||||||
import {
|
import {
|
||||||
addPersonDemand,
|
addPersonDemand,
|
||||||
updatePersonDemand,
|
updatePersonDemand,
|
||||||
getPersonDemand
|
getPersonDemand
|
||||||
} from "@/apiRc/needs/personDemand";
|
} from "@/packageRc/apiRc/needs/personDemand";
|
||||||
import {
|
import {
|
||||||
listJobType
|
listJobType
|
||||||
} from "@/apiRc/jobType/index";
|
} from "@/packageRc/apiRc/jobType/index";
|
||||||
import ImageUpload from '/packageRc/components/ImageUpload'
|
import ImageUpload from '/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
||||||
import PlacePicker from "/packageRc/components/placePicker";
|
import PlacePicker from "/packageRc/components/placePicker";
|
||||||
|
|||||||
@@ -53,17 +53,17 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPersonBase
|
getPersonBase
|
||||||
} from "@/apiRc/person";
|
} from "@/packageRc/apiRc/person";
|
||||||
import {
|
import {
|
||||||
addPersonDemand,
|
addPersonDemand,
|
||||||
updatePersonDemand,
|
updatePersonDemand,
|
||||||
getPersonDemand
|
getPersonDemand
|
||||||
} from "@/apiRc/needs/personDemand";
|
} from "@/packageRc/apiRc/needs/personDemand";
|
||||||
import ImageUpload from '/packageRc/components/ImageUpload'
|
import ImageUpload from '/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
||||||
import {
|
import {
|
||||||
listJobType
|
listJobType
|
||||||
} from "@/apiRc/jobType/index";
|
} from "@/packageRc/apiRc/jobType/index";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -107,15 +107,15 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPersonBase
|
getPersonBase
|
||||||
} from "@/apiRc/person";
|
} from "@/packageRc/apiRc/person";
|
||||||
import {
|
import {
|
||||||
addPersonDemand,
|
addPersonDemand,
|
||||||
updatePersonDemand,
|
updatePersonDemand,
|
||||||
getPersonDemand
|
getPersonDemand
|
||||||
} from "@/apiRc/needs/personDemand";
|
} from "@/packageRc/apiRc/needs/personDemand";
|
||||||
import {
|
import {
|
||||||
listJobType
|
listJobType
|
||||||
} from "@/apiRc/jobType/index";
|
} from "@/packageRc/apiRc/jobType/index";
|
||||||
import ImageUpload from '/packageRc/components/ImageUpload'
|
import ImageUpload from '/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
import ChoosePerson from '/packageRc/pages/needs/components/choosePerson';
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|||||||
@@ -87,8 +87,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ImageUpload from "@/packageRc/components/ImageUpload";
|
import ImageUpload from "@/packageRc/components/ImageUpload";
|
||||||
import { requirementCompletion } from "@/apiRc/company/index";
|
import { requirementCompletion } from "@/packageRc/apiRc/company/index";
|
||||||
import {getJbrInfo} from "@/apiRc/personinfo/index"
|
import {getJbrInfo} from "@/packageRc/apiRc/personinfo/index"
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
ImageUpload,
|
ImageUpload,
|
||||||
|
|||||||
@@ -161,30 +161,30 @@
|
|||||||
import ImageUpload from '/packageRc/components/ImageUpload'
|
import ImageUpload from '/packageRc/components/ImageUpload'
|
||||||
import {
|
import {
|
||||||
requirementCompletion
|
requirementCompletion
|
||||||
} from '@/apiRc/company'
|
} from '@/packageRc/apiRc/company'
|
||||||
import {
|
import {
|
||||||
listJobService,
|
listJobService,
|
||||||
delJobService
|
delJobService
|
||||||
} from '@/apiRc/needs/jobService'
|
} from '@/packageRc/apiRc/needs/jobService'
|
||||||
import {
|
import {
|
||||||
listAssistService,
|
listAssistService,
|
||||||
delAssistService,
|
delAssistService,
|
||||||
finishAssistService
|
finishAssistService
|
||||||
} from '@/apiRc/needs/assistService'
|
} from '@/packageRc/apiRc/needs/assistService'
|
||||||
import {
|
import {
|
||||||
listEntrepreneurshipService,
|
listEntrepreneurshipService,
|
||||||
delEntrepreneurshipService,
|
delEntrepreneurshipService,
|
||||||
finishEntrepreneurshipService
|
finishEntrepreneurshipService
|
||||||
} from '@/apiRc/needs/entrepreneurshipService'
|
} from '@/packageRc/apiRc/needs/entrepreneurshipService'
|
||||||
import {
|
import {
|
||||||
listTrainService,
|
listTrainService,
|
||||||
delTrainService
|
delTrainService
|
||||||
} from '@/apiRc/needs/trainService'
|
} from '@/packageRc/apiRc/needs/trainService'
|
||||||
import {
|
import {
|
||||||
listOtherService,
|
listOtherService,
|
||||||
delOtherService,
|
delOtherService,
|
||||||
finishOtherService
|
finishOtherService
|
||||||
} from '@/apiRc/needs/otherService'
|
} from '@/packageRc/apiRc/needs/otherService'
|
||||||
import DealDone from './dealDone.vue'
|
import DealDone from './dealDone.vue'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -68,31 +68,31 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPersonBase
|
getPersonBase
|
||||||
} from "@/apiRc/person";
|
} from "@/packageRc/apiRc/person";
|
||||||
import {
|
import {
|
||||||
listJobService,
|
listJobService,
|
||||||
delJobService
|
delJobService
|
||||||
} from '@/apiRc/needs/jobService'
|
} from '@/packageRc/apiRc/needs/jobService'
|
||||||
import { listPersonDemand, delPersonDemand } from "@/apiRc/needs/personDemand";
|
import { listPersonDemand, delPersonDemand } from "@/packageRc/apiRc/needs/personDemand";
|
||||||
import {
|
import {
|
||||||
listAssistService,
|
listAssistService,
|
||||||
delAssistService
|
delAssistService
|
||||||
} from '@/apiRc/needs/assistService'
|
} from '@/packageRc/apiRc/needs/assistService'
|
||||||
import {
|
import {
|
||||||
listEntrepreneurshipService,
|
listEntrepreneurshipService,
|
||||||
delEntrepreneurshipService
|
delEntrepreneurshipService
|
||||||
} from '@/apiRc/needs/entrepreneurshipService'
|
} from '@/packageRc/apiRc/needs/entrepreneurshipService'
|
||||||
import {
|
import {
|
||||||
listTrainService,
|
listTrainService,
|
||||||
delTrainService
|
delTrainService
|
||||||
} from '@/apiRc/needs/trainService'
|
} from '@/packageRc/apiRc/needs/trainService'
|
||||||
import { listJobType } from "@/apiRc/jobType/index";
|
import { listJobType } from "@/packageRc/apiRc/jobType/index";
|
||||||
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
listOtherService,
|
listOtherService,
|
||||||
delOtherService
|
delOtherService
|
||||||
} from '@/apiRc/needs/otherService'
|
} from '@/packageRc/apiRc/needs/otherService'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -275,7 +275,7 @@ import {
|
|||||||
import exitPopup from "../../components/exitPopup.vue";
|
import exitPopup from "../../components/exitPopup.vue";
|
||||||
import {
|
import {
|
||||||
getDicts
|
getDicts
|
||||||
} from '@/apiRc/system/dict.js'
|
} from '@/packageRc/apiRc/system/dict.js'
|
||||||
export default {
|
export default {
|
||||||
name: "personnelList",
|
name: "personnelList",
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -251,7 +251,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { getPolicyDetail } from "@/apiRc/policy";
|
import { getPolicyDetail } from "@/packageRc/apiRc/policy";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import PopupList from "/packageRc/components/PopupLists.vue";
|
import PopupList from "/packageRc/components/PopupLists.vue";
|
||||||
import { getPolicyList } from "../../../apiRc/policy";
|
import { getPolicyList } from "@/packageRc/apiRc/policy";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
PopupList,
|
PopupList,
|
||||||
|
|||||||
@@ -31,9 +31,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {getPersonList} from '@/apiRc/needs/person'
|
import {getPersonList} from '@/packageRc/apiRc/needs/person'
|
||||||
import { listJobService } from "@/apiRc/needs/jobService";
|
import { listJobService } from "@/packageRc/apiRc/needs/jobService";
|
||||||
import { listTrainService } from "@/apiRc/needs/trainService";
|
import { listTrainService } from "@/packageRc/apiRc/needs/trainService";
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
choiceType: {
|
choiceType: {
|
||||||
|
|||||||
@@ -164,7 +164,7 @@
|
|||||||
addInvestigate,
|
addInvestigate,
|
||||||
updateInvestigate,
|
updateInvestigate,
|
||||||
getInvestigate
|
getInvestigate
|
||||||
} from "@/apiRc/service/investigate";
|
} from "@/packageRc/apiRc/service/investigate";
|
||||||
import ImageUpload from '@/packageRc/components/ImageUpload'
|
import ImageUpload from '@/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from './choosePerson.vue';
|
import ChoosePerson from './choosePerson.vue';
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -131,18 +131,18 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
deptTreeSelect
|
deptTreeSelect
|
||||||
} from "@/apiRc/person";
|
} from "@/packageRc/apiRc/person";
|
||||||
import {
|
import {
|
||||||
addJobRecommend,
|
addJobRecommend,
|
||||||
updateJobRecommend,
|
updateJobRecommend,
|
||||||
getJobRecommend,
|
getJobRecommend,
|
||||||
getAddedJobs,
|
getAddedJobs,
|
||||||
saveJobRecommend
|
saveJobRecommend
|
||||||
} from "@/apiRc/service/jobRecommend";
|
} from "@/packageRc/apiRc/service/jobRecommend";
|
||||||
import {
|
import {
|
||||||
getPersonDemand
|
getPersonDemand
|
||||||
} from "@/apiRc/needs/personDemand";
|
} from "@/packageRc/apiRc/needs/personDemand";
|
||||||
import { listJobType } from "@/apiRc/jobType/index";
|
import { listJobType } from "@/packageRc/apiRc/jobType/index";
|
||||||
import ImageUpload from '@/packageRc/components/ImageUpload'
|
import ImageUpload from '@/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from './choosePerson.vue';
|
import ChoosePerson from './choosePerson.vue';
|
||||||
import positionChooser from './positionChooser.vue';
|
import positionChooser from './positionChooser.vue';
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
addJobTrack,
|
addJobTrack,
|
||||||
updateJobTrack,
|
updateJobTrack,
|
||||||
getJobTrack
|
getJobTrack
|
||||||
} from "@/apiRc/service/jobTrack";
|
} from "@/packageRc/apiRc/service/jobTrack";
|
||||||
import ImageUpload from '@/packageRc/components/ImageUpload'
|
import ImageUpload from '@/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from './choosePerson.vue';
|
import ChoosePerson from './choosePerson.vue';
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
addPolicyConsultation,
|
addPolicyConsultation,
|
||||||
updatePolicyConsultation,
|
updatePolicyConsultation,
|
||||||
getPolicyConsultation
|
getPolicyConsultation
|
||||||
} from "@/apiRc/service/policyConsultation";
|
} from "@/packageRc/apiRc/service/policyConsultation";
|
||||||
import ImageUpload from '@/packageRc/components/ImageUpload'
|
import ImageUpload from '@/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from './choosePerson.vue';
|
import ChoosePerson from './choosePerson.vue';
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getWorkListReq } from '@/apiRc/service/jobRecommend'
|
import { getWorkListReq } from '@/packageRc/apiRc/service/jobRecommend'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -105,7 +105,7 @@
|
|||||||
addSkillTrain,
|
addSkillTrain,
|
||||||
updateSkillTrain,
|
updateSkillTrain,
|
||||||
getSkillTrain
|
getSkillTrain
|
||||||
} from "@/apiRc/service/skillTrain";
|
} from "@/packageRc/apiRc/service/skillTrain";
|
||||||
import ImageUpload from '@/packageRc/components/ImageUpload'
|
import ImageUpload from '@/packageRc/components/ImageUpload'
|
||||||
import ChoosePerson from './choosePerson.vue';
|
import ChoosePerson from './choosePerson.vue';
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
serviceTraceability
|
serviceTraceability
|
||||||
} from '@/apiRc/company/index.js';
|
} from '@/packageRc/apiRc/company/index.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'personnelList',
|
name: 'personnelList',
|
||||||
|
|||||||
90
pages.json
90
pages.json
@@ -3,43 +3,37 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "喀什智慧就业平台",
|
"navigationBarTitleText": "喀什智慧就业平台"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/mine/mine",
|
"path": "pages/mine/mine",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的",
|
"navigationBarTitleText": "我的"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/msglog/msglog",
|
"path": "pages/msglog/msglog",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "消息",
|
"navigationBarTitleText": "消息"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/careerfair/careerfair",
|
"path": "pages/careerfair/careerfair",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "招聘会",
|
"navigationBarTitleText": "招聘会"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/complete-info/complete-info",
|
"path": "pages/complete-info/complete-info",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "补全信息",
|
"navigationBarTitleText": "补全信息"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/complete-info/company-info",
|
"path": "pages/complete-info/company-info",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "企业信息",
|
"navigationBarTitleText": "企业信息"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -111,7 +105,6 @@
|
|||||||
"path": "pages/chat/chat",
|
"path": "pages/chat/chat",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "AI+",
|
"navigationBarTitleText": "AI+",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#4778EC",
|
"navigationBarBackgroundColor": "#4778EC",
|
||||||
"navigationBarTextStyle": "white",
|
"navigationBarTextStyle": "white",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
@@ -126,22 +119,19 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/mine/company-mine",
|
"path": "pages/mine/company-mine",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的",
|
"navigationBarTitleText": "我的"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/mine/company-info",
|
"path": "pages/mine/company-info",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "企业信息",
|
"navigationBarTitleText": "企业信息"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/mine/edit-company-contacts",
|
"path": "pages/mine/edit-company-contacts",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "编辑联系人",
|
"navigationBarTitleText": "编辑联系人"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -152,8 +142,7 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/addWorkExperience/addWorkExperience",
|
"path": "pages/addWorkExperience/addWorkExperience",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "添加工作经历",
|
"navigationBarTitleText": "添加工作经历"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -190,7 +179,6 @@
|
|||||||
"path": "pages/myResume/myResume",
|
"path": "pages/myResume/myResume",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的简历",
|
"navigationBarTitleText": "我的简历",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -198,7 +186,6 @@
|
|||||||
"path": "pages/Intendedposition/Intendedposition",
|
"path": "pages/Intendedposition/Intendedposition",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "投递记录",
|
"navigationBarTitleText": "投递记录",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -206,7 +193,6 @@
|
|||||||
"path": "pages/collection/collection",
|
"path": "pages/collection/collection",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的收藏",
|
"navigationBarTitleText": "我的收藏",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -214,15 +200,13 @@
|
|||||||
"path": "pages/browseJob/browseJob",
|
"path": "pages/browseJob/browseJob",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的浏览",
|
"navigationBarTitleText": "我的浏览",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/addPosition/addPosition",
|
"path": "pages/addPosition/addPosition",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "添加岗位",
|
"navigationBarTitleText": "添加岗位"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -234,22 +218,19 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/personalInfo/personalInfo",
|
"path": "pages/personalInfo/personalInfo",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "个人信息",
|
"navigationBarTitleText": "个人信息"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/jobExpect/jobExpect",
|
"path": "pages/jobExpect/jobExpect",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "求职期望",
|
"navigationBarTitleText": "求职期望"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/reservation/reservation",
|
"path": "pages/reservation/reservation",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的预约",
|
"navigationBarTitleText": "我的预约",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -257,7 +238,6 @@
|
|||||||
"path": "pages/choicenessList/choicenessList",
|
"path": "pages/choicenessList/choicenessList",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "精选企业",
|
"navigationBarTitleText": "精选企业",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -265,7 +245,6 @@
|
|||||||
"path": "pages/newJobPosition/newJobPosition",
|
"path": "pages/newJobPosition/newJobPosition",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "新职位推荐",
|
"navigationBarTitleText": "新职位推荐",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -273,7 +252,6 @@
|
|||||||
"path": "pages/systemNotification/systemNotification",
|
"path": "pages/systemNotification/systemNotification",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "系统通知",
|
"navigationBarTitleText": "系统通知",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -288,7 +266,6 @@
|
|||||||
"path": "pages/moreJobs/moreJobs",
|
"path": "pages/moreJobs/moreJobs",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "更多岗位",
|
"navigationBarTitleText": "更多岗位",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -296,7 +273,6 @@
|
|||||||
"path": "pages/collection/compare",
|
"path": "pages/collection/compare",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": " 岗位对比",
|
"navigationBarTitleText": " 岗位对比",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -304,7 +280,6 @@
|
|||||||
"path": "pages/myResume/corporateInformation",
|
"path": "pages/myResume/corporateInformation",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": " 企业详情",
|
"navigationBarTitleText": " 企业详情",
|
||||||
"navigationBarTitleTextSize": "30rpx",
|
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -317,86 +292,74 @@
|
|||||||
// 企业参与的招聘会详情
|
// 企业参与的招聘会详情
|
||||||
"path": "jobFair/detailCom",
|
"path": "jobFair/detailCom",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "招聘会详情",
|
"navigationBarTitleText": "招聘会详情"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// 个人参与的招聘会详情
|
// 个人参与的招聘会详情
|
||||||
"path": "jobFair/detailPerson",
|
"path": "jobFair/detailPerson",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "招聘会详情",
|
"navigationBarTitleText": "招聘会详情"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "login",
|
"path": "login",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "登录",
|
"navigationBarTitleText": "登录"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "train/index",
|
"path": "train/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "技能评价",
|
"navigationBarTitleText": "技能评价"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "train/practice/startPracticing",
|
"path": "train/practice/startPracticing",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "专项训练",
|
"navigationBarTitleText": "专项训练"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "train/video/videoList",
|
"path": "train/video/videoList",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "视频学习",
|
"navigationBarTitleText": "视频学习"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "train/video/videoDetail",
|
"path": "train/video/videoDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "视频详情",
|
"navigationBarTitleText": "视频详情"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "train/mockExam/examList",
|
"path": "train/mockExam/examList",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "考试列表",
|
"navigationBarTitleText": "考试列表"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "train/mockExam/startExam",
|
"path": "train/mockExam/startExam",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "模拟考试",
|
"navigationBarTitleText": "模拟考试"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "train/mockExam/viewGrades",
|
"path": "train/mockExam/viewGrades",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "查看成绩",
|
"navigationBarTitleText": "查看成绩"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "priority/helpFilter",
|
"path": "priority/helpFilter",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "筛选和帮扶",
|
"navigationBarTitleText": "筛选和帮扶"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "priority/helpFollow",
|
"path": "priority/helpFollow",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "跟进",
|
"navigationBarTitleText": "跟进"
|
||||||
"navigationBarTitleTextSize": "30rpx"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -654,8 +617,7 @@
|
|||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "uni-app",
|
"navigationBarTitleText": "uni-app",
|
||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
"navigationBarBackgroundColor": "#F8F8F8",
|
||||||
"backgroundColor": "#F8F8F8",
|
"backgroundColor": "#F8F8F8"
|
||||||
"navigationBarTitleTextSize": "18px"
|
|
||||||
},
|
},
|
||||||
"easycom": {
|
"easycom": {
|
||||||
"autoscan": true,
|
"autoscan": true,
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { reactive, inject, watch, ref, onMounted, watchEffect, nextTick } from 'vue';
|
import { reactive, inject, watch, ref, onMounted, watchEffect, nextTick } from 'vue';
|
||||||
import { usePagination } from '@/hook/usePagination';
|
import { usePagination } from '@/packageA/hook/usePagination';
|
||||||
const { $api, navTo } = inject('globalFunction');
|
const { $api, navTo } = inject('globalFunction');
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import useUserStore from '@/stores/useUserStore';
|
import useUserStore from '@/stores/useUserStore';
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ const { $api, navBack, navTo } = inject('globalFunction');
|
|||||||
import useLocationStore from '@/stores/useLocationStore';
|
import useLocationStore from '@/stores/useLocationStore';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import { useColumnCount } from '@/hook/useColumnCount';
|
import { useColumnCount } from '@/hook/useColumnCount';
|
||||||
import { usePagination } from '@/hook/usePagination';
|
|
||||||
import img from '@/static/icon/filter.png';
|
import img from '@/static/icon/filter.png';
|
||||||
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
||||||
const searchValue = ref('');
|
const searchValue = ref('');
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import {
|
|||||||
login,
|
login,
|
||||||
// logout,
|
// logout,
|
||||||
getInfo,
|
getInfo,
|
||||||
// register,
|
register,
|
||||||
// smsLogin,
|
smsLogin,
|
||||||
// wechatLogin
|
wechatLogin
|
||||||
} from '@/apiRc/login'
|
} from '@/apiRc/login'
|
||||||
import {
|
import {
|
||||||
getToken,
|
getToken,
|
||||||
@@ -228,22 +228,19 @@ const user = {
|
|||||||
commit,
|
commit,
|
||||||
state
|
state
|
||||||
}) {
|
}) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve) => {
|
||||||
logout(state.token).then(() => {
|
// 直接清理本地数据,不调用后端接口
|
||||||
commit('SET_TOKEN', '')
|
commit('SET_TOKEN', '')
|
||||||
commit('SET_ROLES', [])
|
commit('SET_ROLES', [])
|
||||||
commit('SET_PERMISSIONS', [])
|
commit('SET_PERMISSIONS', [])
|
||||||
commit('SET_TYPE', '')
|
commit('SET_TYPE', '')
|
||||||
commit('SET_NICK', '')
|
commit('SET_NICK', '')
|
||||||
commit('SET_PHONENUMBER', '')
|
commit('SET_PHONENUMBER', '')
|
||||||
commit('SET_USER_ID', '')
|
commit('SET_USER_ID', '')
|
||||||
commit('SET_SHOWEXITPOPUP', false)
|
commit('SET_SHOWEXITPOPUP', false)
|
||||||
removeToken()
|
removeToken()
|
||||||
storage.clean()
|
storage.clean()
|
||||||
resolve()
|
resolve()
|
||||||
}).catch(error => {
|
|
||||||
reject(error)
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user