diff --git a/App.vue b/App.vue
index 9a66f58..b68a331 100644
--- a/App.vue
+++ b/App.vue
@@ -51,7 +51,6 @@ function getUserInfo() {
const sm2_privateKey = config.appInfo.sm2PrivateKey;
let sm2_encrypt_result = data.data;
let sm2_decrypt_result = sm2_Decrypt(sm2_encrypt_result, sm2_privateKey);
- console.log(sm2_decrypt_result);
if (typeof sm2_decrypt_result == 'string') sm2_decrypt_result = JSON.parse(sm2_decrypt_result);
// 其次,对sm2解密后的结果进行 aes解密
@@ -100,7 +99,7 @@ function oncloseWindow() {
function loginCallback(userInfo) {
let params = {
- username: userInfo,
+ userInfo,
};
$api.createRequest('/app/login', params, 'post').then((resData) => {
useUserStore()
diff --git a/common/common.css b/common/common.css
index 7e4329d..68e0da4 100644
--- a/common/common.css
+++ b/common/common.css
@@ -464,4 +464,8 @@ html {
/* 隐藏超出的文本 */
text-overflow: ellipsis;
/* 使用省略号 */
+}
+
+.grayscale {
+ filter: grayscale(100%) opacity(0.6);
}
\ No newline at end of file
diff --git a/components/renderCompanyCollectionRecord/renderCompanyCollectionRecord.vue b/components/renderCompanyCollectionRecord/renderCompanyCollectionRecord.vue
index e07ec8c..b9d2f53 100644
--- a/components/renderCompanyCollectionRecord/renderCompanyCollectionRecord.vue
+++ b/components/renderCompanyCollectionRecord/renderCompanyCollectionRecord.vue
@@ -1,36 +1,18 @@
-
-
- {{ company.name }}
-
-
-
- {{company.industry}}
- {{company.scale }}
-
-
-
- 在招职位·
- {{ company.totalRecruitment || '-' }}
- 个
-
-
-
-
-
- {{company.nature}}
-
-
-
-
+
{{ company.name }}
- {{company.industry}}
- {{company.scale }}
+ {{ company.industry }}
+ {{ company.scale }}
@@ -42,7 +24,30 @@
- {{company.nature}}
+ {{ company.nature }}
+
+
+
+
+
+ {{ company.name }}
+
+
+
+ {{ company.industry }}
+ {{ company.scale }}
+
+
+
+ 在招职位·
+ {{ company.totalRecruitment || '-' }}
+ 个
+
+
+
+
+
+ {{ company.nature }}
@@ -51,7 +56,7 @@
@@ -198,4 +207,4 @@ function nextDetail(job) {
color: #6C7282;
}
}
-
\ No newline at end of file
+
diff --git a/components/renderJobCollectionRecord/renderJobCollectionRecord.vue b/components/renderJobCollectionRecord/renderJobCollectionRecord.vue
index c1f6888..3857395 100644
--- a/components/renderJobCollectionRecord/renderJobCollectionRecord.vue
+++ b/components/renderJobCollectionRecord/renderJobCollectionRecord.vue
@@ -3,19 +3,22 @@
-
+
{{ job.jobTitle }}
-
+
{{ job.companyName }}
- {{job.education == '不限' ? '学历不限' : job.education}}
+ {{ job.education == '不限' ? '学历不限' : job.education }}
- {{job.experience == '不限' ? '经验不限' : job.experience}}
+ {{ job.experience == '不限' ? '经验不限' : job.experience }}
{{ vacanciesTo(job.vacancies) }}
@@ -34,22 +37,25 @@
-
+
-
+
{{ job.jobTitle }}
-
+
{{ job.companyName }}
- {{job.education == '不限' ? '学历不限' : job.education}}
+ {{ job.education == '不限' ? '学历不限' : job.education }}
- {{job.experience == '不限' ? '经验不限' : job.experience}}
+ {{ job.experience == '不限' ? '经验不限' : job.experience }}
{{ vacanciesTo(job.vacancies) }}
@@ -77,7 +83,7 @@
@@ -198,4 +207,4 @@ function nextDetail(job) {
color: #6C7282;
}
}
-
\ No newline at end of file
+
diff --git a/components/selectJobs/selectJobs.vue b/components/selectJobs/selectJobs.vue
index 09cc886..2ac6218 100644
--- a/components/selectJobs/selectJobs.vue
+++ b/components/selectJobs/selectJobs.vue
@@ -86,14 +86,13 @@ const open = (newConfig = {}) => {
} = newConfig;
reset();
- serchforIt(defaultId);
-
if (configTitle) title.value = configTitle;
if (typeof success === 'function') confirmCallback.value = success;
if (typeof cancel === 'function') cancelCallback.value = cancel;
if (typeof change === 'function') changeCallback.value = change;
if (Array.isArray(data)) listData.value = data;
+ serchforIt(defaultId);
rowLabel.value = configRowLabel;
rowKey.value = configRowKey;
maskClick.value = configMaskClick;
@@ -154,6 +153,18 @@ function serchforIt(defaultId) {
state.visible = true;
return;
}
+ if (listData.value.length) {
+ if (userInfo.value.jobTitleId) {
+ const ids = userInfo.value.jobTitleId.split(',').map((id) => Number(id));
+ count.value = ids.length;
+ setCheckedNodes(listData.value, ids);
+ }
+ state.jobTitleId = userInfo.value.jobTitleId;
+ state.stations = listData.value;
+ state.visible = true;
+
+ return;
+ }
$api.createRequest('/app/common/jobTitle/treeselect', {}, 'GET').then((resData) => {
if (userInfo.value.jobTitleId) {
const ids = userInfo.value.jobTitleId.split(',').map((id) => Number(id));
diff --git a/config.js b/config.js
index 6b16e54..74e3c87 100644
--- a/config.js
+++ b/config.js
@@ -2,10 +2,7 @@ export default {
// baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网
baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试
// baseUrl: 'http://192.168.3.29:8081',
- // sseAI+
- // StreamBaseURl: 'http://39.98.44.136:8000',
- StreamBaseURl: 'https://qd.zhaopinzao8dian.com/ai',
- // StreamBaseURl: 'https://qd.zhaopinzao8dian.com/ai/test',
+ // baseUrl: 'http://10.213.6.207:19010/api',
// 语音转文字
// vioceBaseURl: 'ws://39.98.44.136:8080/speech-recognition',
vioceBaseURl: 'wss://qd.zhaopinzao8dian.com/api/speech-recognition',
diff --git a/main.js b/main.js
index 5255af7..671b533 100644
--- a/main.js
+++ b/main.js
@@ -20,6 +20,7 @@ import renderCompanyCollectionRecord from '@/components/renderCompanyCollectionR
import renderJobViewRecord from '@/components/renderJobViewRecord/renderJobViewRecord.vue';
// import Tabbar from '@/components/tabbar/midell-box.vue'
// 自动导入 directives 目录下所有指令
+console.log(lightAppJssdk)
const directives = import.meta.glob('./directives/*.js', {
eager: true
});
diff --git a/packageA/pages/addPosition/addPosition.vue b/packageA/pages/addPosition/addPosition.vue
index 35d1892..2eeef40 100644
--- a/packageA/pages/addPosition/addPosition.vue
+++ b/packageA/pages/addPosition/addPosition.vue
@@ -12,11 +12,33 @@
选择想找的工作,我的将在首页为你推荐
-
+
+
+
+
+
+ {{ item.lable }}
+
+
+
+
{{ item }}
+
+
+
\ No newline at end of file
+
diff --git a/pages/chat/components/ai-paging.vue b/pages/chat/components/ai-paging.vue
index 42699bc..0dc6d79 100644
--- a/pages/chat/components/ai-paging.vue
+++ b/pages/chat/components/ai-paging.vue
@@ -148,7 +148,7 @@
-
-
+
+
+
{
// 判断浏览器是否有 fristEntry 第一次进入
let fristEntry = uni.getStorageSync('fristEntry') === false ? false : true; // 默认未读
@@ -85,15 +103,69 @@ const handelComponentsRef = (el, index) => {
}
};
+function handleTouchStart(e) {
+ startPointX.value = e.touches[0].clientX;
+ disableTouch.value = false;
+}
+function handleTouchMove(e) {
+ const currentX = e.touches[0].clientX;
+ const diffX = currentX - startPointX.value;
+
+ if (state.current === 0) {
+ if (diffX > THRESHOLD) {
+ disableTouch.value = true;
+ } else {
+ disableTouch.value = false;
+ }
+ return;
+ }
+ if (state.current === totalPage - 1) {
+ if (diffX < -THRESHOLD) {
+ disableTouch.value = true;
+ } else {
+ disableTouch.value = false;
+ }
+ return;
+ }
+
+ disableTouch.value = false;
+}
+
function changeShowTabbar(val) {
showTabbar.value = val;
}
//1 查看消息类型
function changeSwiperType(e) {
+ const newIndex = e.detail.current;
+ const lastIndex = state.current;
+
+ const isSwipingRight = newIndex < lastIndex;
+ const isSwipingLeft = newIndex > lastIndex;
+
+ if (lastIndex === 0 && isSwipingRight) {
+ disableTouch.value = true;
+ state.current = 0;
+ setTimeout(() => {
+ disableTouch.value = false;
+ }, 50);
+ return;
+ }
+
+ if (lastIndex === totalPage - 1 && isSwipingLeft) {
+ disableTouch.value = true;
+ state.current = lastIndex;
+
+ setTimeout(() => {
+ disableTouch.value = false;
+ }, 50);
+ return;
+ }
+
const index = e.detail.current;
state.current = index;
handleTabChange(index);
+ disableTouch.value = false;
}
function changeType(index) {
state.current = index;
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 8358398..096b691 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -109,7 +109,9 @@
- 后门
+
+
+
@@ -310,8 +312,7 @@ function complete() {
.backdoor{
position: fixed;
left: 0;
- top: 500rpx;
- background: red
+ bottom: 200rpx;
}
.input-nx
position: relative
diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue
index ca342f7..71f5645 100644
--- a/pages/mine/mine.vue
+++ b/pages/mine/mine.vue
@@ -49,7 +49,7 @@
服务专区
-
+
实名认证
@@ -106,6 +106,7 @@ import { reactive, inject, watch, ref, onMounted } from 'vue';
import { storeToRefs } from 'pinia';
import Tabbar from '@/components/tabbar/midell-box.vue';
import { onLoad, onShow } from '@dcloudio/uni-app';
+import FileUploader from '@/utils/FileUploader.js';
const { $api, navTo } = inject('globalFunction');
import useUserStore from '@/stores/useUserStore';
const popup = ref(null);
@@ -133,6 +134,15 @@ function getUserstatistics() {
counts.value = resData.data;
});
}
+
+function selectFile() {
+ // FileUploader.showMenuAndUpload({
+ // success: function (res) {
+ // alert('上传成功: ' + JSON.stringify(res));
+ // },
+ // });
+}
+function chooseFileUploadTest(pam) {}