zsk 2 years ago
parent 50a6fba673
commit 88727549b3

518
app.js

@ -0,0 +1,518 @@
//app.js
App({
globalData: {
// ip: 'https://zhuchangtong.matripe.com.cn',//正式
ip: 'https://zhuchangtong.ibocai.com.cn',//正式
// ip: "http://b.renminshitang.com.cn:8002", //测试
// ip: 'http://localhost:8002',
userInfo: null,
test:'a',
sessionId: "",
offlineManage: false,
userId: {},
header: {
"content-type": "application/x-www-form-urlencoded",
Cookie: "",
},
header2: {
"content-type": "multipart/form-data",
Cookie: "",
},
headers: {
"content-type": "application/x-www-form-urlencoded",
Cookie: "",
},
remoteHeaders:{
"content-type": "application/x-www-form-urlencoded",
Cookie: "",
},
userLoginTokenInfo: {
tel: "", //用户电话
token: "", //用户token
},
isLogin: false, //是否登录
loginUserInfo: {
id: "",
userName: "",
tel: "",
imgSrc: "",
},
hasAva:false,
lng: "",
lat: "",
autoLoginTag: 0, //是否是自动登录0否、1是
hasUserInfo: 0, //是否有用户授权信息
agencyStatus: 0, //是否是代理
openId: "",
unionId: '',
user: {}, //用户信息
version: null,
},
onLaunch: function (options) {
const updateManager = wx.getUpdateManager()
updateManager.onCheckForUpdate(function (res) {
console.log('onCheckForUpdate====', res)
// 请求完新版本信息的回调
if (res.hasUpdate) {
console.log('res.hasUpdate====')
updateManager.onUpdateReady(function () {
wx.showModal({
title: '更新提示',
content: '新版本已经准备好,是否重启应用?',
success: function (res) {
console.log('success====', res)
// res: {errMsg: "showModal: ok", cancel: false, confirm: true}
if (res.confirm) {
// 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
updateManager.applyUpdate()
}
}
})
})
updateManager.onUpdateFailed(function () {
// 新的版本下载失败
wx.showModal({
title: '已经有新版本了哟~',
content: '新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~'
})
})
}
})
this.globalData.firstPath = options.path;
this.globalData.firstQuery = options.query;
// 展示本地存储能力
const { statusBarHeight, platform } = wx.getSystemInfoSync();
const { top, height } = wx.getMenuButtonBoundingClientRect();
console.log(statusBarHeight);
console.log(wx.getMenuButtonBoundingClientRect());
console.log(top, height);
// 状态栏高度
wx.setStorageSync("statusBarHeight", statusBarHeight);
// 胶囊按钮高度 一般是32 如果获取不到就使用32
wx.setStorageSync("menuButtonHeight", height ? height : 32);
// 胶囊按钮信息
wx.setStorageSync("menuButtonInfo", wx.getMenuButtonBoundingClientRect());
// 判断胶囊按钮信息是否成功获取
if (top && top !== 0 && height && height !== 0) {
const navigationBarHeight = (top - statusBarHeight) * 2 + height;
// 导航栏高度
wx.setStorageSync("navigationBarHeight", navigationBarHeight);
} else {
wx.setStorageSync("navigationBarHeight", platform === "android" ? 48 : 40);
}
var logs = wx.getStorageSync("logs") || [];
logs.unshift(Date.now());
wx.setStorageSync("logs", logs);
const miniProgram = wx.getAccountInfoSync();
console.log(miniProgram);
this.globalData.version = miniProgram.miniProgram.version || "1.0.100";
// this.userWechatAuth(999);
this.getLoginUserTokenInfo();
console.log(this.__proto__ == wx.__proto__);
console.log(wx.__proto__);
},
userWechatAuth: function (type) {
return;
/*console.log("====================");
var code;
var that = this;
// 登录
wx.login({
//获取code
success: function (res) {
code = res.code //返回code
console.log("code : " + code);
wx.getSetting({
success: (res) => {
if (!res.authSetting['scope.userInfo']) {//未授权, <button open-type="getUserInfo"></button>
console.log("1122relaunch333");
if(type - 999 != 0 || that.isNotEmptyCheck(wx.getStorageSync('comeFromPage'))) {//只拉去用户信息,不跳转到授权页面
wx.navigateTo({
url: '/pages/wechatAuthNew/index?type=' + type,
})
}
} else {
wx.getUserInfo({
success: function (res) {
console.log(res);
wx.request({
url: that.globalData.ip + '/appLogin',
data: {
code: code,
encryptedData: res.encryptedData,
iv: res.iv,
},
header: {
'content-type': 'application/json'
},
success: function (res) {
console.log(res);
if (res.data.status == 200) {
that.globalData.isLogin = true;
that.globalData.sessionId = res.data.data.sessionId;
that.globalData.header.Cookie = 'JSESSIONID=' + res.data.data.sessionId;
that.globalData.header2.Cookie = 'JSESSIONID=' + res.data.data.sessionId;
that.globalData.userInfo = res.data.data.userInfo;
that.globalData.userId = res.data.data.userId;
that.globalData.offlineManage = res.data.data.offlineManage;
that.globalData.user = res.data.data.user;
//登录成功,执行回调
if (that.userLoginCallback) {
that.userLoginCallback(res)
}
} else if(res.data.status == 222) {//重复提交的,不做任何响应
} else {
that.dialog('提示', res.data.msg, '确定');
}
console.log("login====result=======1");
console.log(that.globalData);
console.log("login====result=======2");
}
})
}
})
}
}
})
}
})*/
},
getLoginUserTokenInfo: function () {
var that = this;
try {
var value = wx.getStorageSync("loginUserTokenInfo");
if (value) {
that.globalData.userLoginTokenInfo = value;
// console.log(that.isNotEmptyCheck(that.globalData.userLoginTokenInfo.token));
if (that.isNotEmptyCheck(that.globalData.userLoginTokenInfo.token)) {
let token = that.globalData.userLoginTokenInfo.token;
that.globalData.header.Authorization = "Bearer " + token;
that.globalData.header2.Authorization = "Bearer " + token;
that.globalData.headers.Authorization = "Bearer " + token;
wx.request({
url: that.globalData.ip + '/checkToken',
method: "GET",
header: that.globalData.headers,
success: function (res) {
console.log(res);
if(res.data.status == 200) {
that.globalData.isLogin = true;
that.globalData.test = 'b';
that.globalData.user = res.data.data.user;
that.globalData.sessionId = res.data.data.sessionId;
// 41项目客服 132项目经理 142跟单客服 135客户经理 146项目拓展 144询单客服
that.globalData.roleOf41 = res.data.data.roleOf41;
that.globalData.roleOf142 = res.data.data.roleOf142;
that.globalData.roleOf132 = res.data.data.roleOf132;
that.globalData.managerRoleClassify = res.data.data.managerRoleClassify;
if(!that.isEmptyCheck(res.data.data.imgSrc)){
if(res.data.data.imgSrc != '' && res.data.data.imgSrc.startsWith('https://file.matripe.com') ){
that.globalData.hasAva = true
}else{
that.globalData.hasAva = false
}
}
wx.setStorageSync("loginUser", that.globalData);
if (that.userLoginCallback) {
that.userLoginCallback(res);
}
} else {//已过期
that.globalData.autoLoginTag = 1;
// that.appLoginByTel();
// that.globalData.isLogin = false;
return new Promise(function (resolve, reject) {
try {
that.appLoginByTel(resolve, reject);
} catch (e) {
console.log("设置登录信息错误");
console.log(e);
reject();
}
});
}
}
})
// console.log(that.globalData.isLogin);
}else if (that.isNotEmptyCheck(that.globalData.userLoginTokenInfo.tel)) {
that.globalData.autoLoginTag = 1;
// that.appLoginByTel();
return new Promise(function (resolve, reject) {
try {
that.appLoginByTel(resolve, reject);
} catch (e) {
console.log("设置登录信息错误");
console.log(e);
reject();
}
});
}
} else {
if (that.userLoginCallback) {
that.userLoginCallback();
}
}
console.log("获取用户登录信息---------------start");
console.log(that.globalData.test);
// that.globalData.isLogin = true
setTimeout(()=>{
console.log(that.globalData.isLogin);
},1000)
console.log("获取用户登录信息---------------end");
} catch (e) {
console.log("获取登录信息错误");
console.log(e);
}
},
setLoginUserTokenInfo: function (tel, token) {
var that = this;
return new Promise(function (resolve, reject) {
try {
that.globalData.userLoginTokenInfo.tel = tel;
that.globalData.userLoginTokenInfo.token = token;
wx.setStorageSync("loginUserTokenInfo", that.globalData.userLoginTokenInfo);
that.appLoginByTel(resolve, reject);
} catch (e) {
console.log("设置登录信息错误");
console.log(e);
reject();
}
});
},
appLoginByTel: function (resolve, reject) {
var that = this;
wx.request({
url: that.globalData.ip + "/appLoginByTel",
data: {
tel: that.globalData.userLoginTokenInfo.tel,
autoLoginTag: that.globalData.autoLoginTag,
openId: that.globalData.openId,
unionid: that.globalData.unionId,
},
header: {
"content-type": "application/json",
},
success: function (res) {
console.log(res);
if (res.data.status == 200) {
that.globalData.user = res.data.data.user;
that.globalData.sessionId = res.data.data.sessionId;
// 41项目客服 132项目经理 142跟单客服
that.globalData.roleOf41 = res.data.data.roleOf41;
that.globalData.roleOf132 = res.data.data.roleOf132;
that.globalData.roleOf142 = res.data.data.roleOf142;
that.globalData.managerRoleClassify = res.data.data.managerRoleClassify;
that.globalData.header.Cookie = "JSESSIONID=" + res.data.data.sessionId;
that.globalData.header2.Cookie = "JSESSIONID=" + res.data.data.sessionId;
that.globalData.headers.Cookie = "JSESSIONID=" + res.data.data.sessionId;
// that.globalData.header.Authorization = "Bearer " + res.data.data.token;
// that.globalData.header2.Authorization = "Bearer " + res.data.data.token;
// that.globalData.headers.Authorization = "Bearer " + res.data.data.token;
that.globalData.remoteHeaders.Cookie = "JSESSIONID=" + res.data.data.remoteSessionId;
that.globalData.isLogin = true;
that.globalData.read = res.data.data.read;
that.globalData.userLoginTokenInfo.tel = res.data.data.tel;
that.globalData.userLoginTokenInfo.token = res.data.data.token;
wx.setStorageSync("loginUserTokenInfo", that.globalData.userLoginTokenInfo);
wx.setStorageSync("loginUser", that.globalData);
console.log(that.globalData.read);
console.log("↑↑↑↑↑app.js↑↑↑↑↑");
// wx.showTabBarRedDot({
// index:2
// })
if (that.globalData.read == 2) {
wx.showTabBarRedDot({
index: 2,
});
}
// else {
// wx.hideTabBarRedDot({
// index: 2,
// });
// }
that.globalData.agencyStatus = res.data.data.agencyStatus;
(that.globalData.hasUserInfo = res.data.data.imgSrc != "" && res.data.data.imgSrc != null && res.data.data.imgSrc != undefined && res.data.data.nickName != "" && res.data.data.nickName != null && res.data.data.nickName != undefined ? 1 : 0), (that.globalData.loginUserInfo = res.data.data);
that.globalData.userInfo = res.data.data.user;
that.globalData.userId = res.data.data.id;
that.globalData.offlineManage = res.data.data.offlineManage;
if (that.userLoginCallback) {
that.userLoginCallback(res);
}
resolve();
} else {
that.dialog("提示", res.data.msg, "确定");
if (that.userLoginCallback) {
that.userLoginCallback(res);
}
reject();
}
console.log("login====result=======1");
console.log(that.globalData.user);
console.log(that.globalData.user.imgSrc);
console.log("login====result=======2");
if(!that.isEmptyCheck(that.globalData.user.imgSrc)){
if(that.globalData.user.imgSrc != '' && that.globalData.user.imgSrc.startsWith('https://file.matripe.com') ){
that.globalData.hasAva = true
}else{
that.globalData.hasAva = false
}
}
if (that.userLoginCallback) {
that.userLoginCallback(res);
}
if (that.globalData.autoLoginTag - 1 != 0) {
wx.showToast({
title: "登录成功",
icon: "success",
duration: 2000,
});
}
},
fail: function (res) {
console.log(res);
}
});
},
logout: function () {
var that = this;
return new Promise(function (reslove, reject) {
try {
wx.removeStorageSync("loginUserTokenInfo");
that.globalData.autoLoginTag = 0;
that.globalData.sessionId = "";
that.globalData.header.Cookie = "";
that.globalData.header2.Cookie = "";
that.globalData.isLogin = false;
that.globalData.hasUserInfo = 0;
that.globalData.loginUserInfo = {};
reslove();
} catch (e) {
console.log("退出登录失败");
console.log(e);
reject();
}
});
},
dialog: function (title, content, btxt) {
wx.showModal({
title: title,
content: content,
showCancel: false,
confirmColor: "#027AFF",
confirmText: btxt,
success: function (res) {
if (res.confirm) {
console.log("用户点击确定");
} else if (res.cancel) {
console.log("用户点击取消");
}
},
});
},
showTips: function (_that, msg) {
_that.setData({
popErrorMsg: msg,
pop: 1,
});
setTimeout(() => {
_that.setData({
popErrorMsg: "",
pop: 0,
});
return;
}, 2000);
},
getUserInfoBtn: function(_that) {
let that = this;
wx.getUserProfile({
desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写
success: (res) => {
console.log(res)
//发起网络请求
wx.request({
url: that.globalData.ip + '/updateUserWechatInfo',
data: {
nickName: res.userInfo.nickName,
avatarUrl: res.userInfo.avatarUrl,
gender: res.userInfo.gender,
country: res.userInfo.country,
province: res.userInfo.province,
city: res.userInfo.city,
},
method: "POST",
header: that.globalData.header,
success: function(res) {
console.log(res);
that.globalData.hasUserInfo = 1;
that.globalData.user.imgSrc = res.data.data;
that.globalData.hasAva = true
_that.setData({
hasUserInfo: 1,
topTips:false,
user:that.globalData.user
})
// that.goMyinfo();
},
fail: function(res) {
}
})
},
fail: (res) => {
console.log(res)
}
})
},
load: function (text) {
wx.showLoading({
title: text,
mask: true,
});
},
hideLoad: function () {
wx.hideLoading();
},
isEmptyCheck: function (str) {
if (str == null || str === "" || str == "null" || str == "undefined" || typeof str == "undefined"|| str == "-") {
return true;
}
return false;
},
isNotEmptyCheck: function (str) {
return !this.isEmptyCheck(str);
},
showTips: function (_that, msg) {
_that.setData({
popErrorMsg: msg,
pop: 1,
});
setTimeout(() => {
_that.setData({
popErrorMsg: "",
pop: 0,
});
return;
}, 1500);
},
});

@ -0,0 +1,201 @@
{
"pages": [
"pages/newIndex/index",
"pages/search/index",
"pages/stationReach/index",
"pages/index/index",
"pages/wechatAuthNew/index",
"pages/editOrder/index",
"pages/orderDetailOfInterview/index",
"pages/orderDetailOfEntry/index",
"pages/orderDetailOfLeave/index",
"pages/processed/index",
"pages/pending/index",
"pages/success/index",
"pages/login/index",
"pages/switchUser/index",
"pages/myAgent/index",
"pages/agentDetail/index",
"pages/creatAgent/index",
"pages/editAgent/index",
"pages/helpSignUp/index",
"pages/helpSignUpSuccess/index",
"pages/me/index",
"pages/paySlip/index",
"pages/coupon/index",
"pages/myInfo/index",
"pages/makeInfo/index",
"pages/makeInfoSure/index",
"pages/makeInfoSuccess/index",
"pages/myCard/index",
"pages/bindCard/index",
"pages/withdraw/index",
"pages/withdrawSuccess/index",
"pages/withdrawDetail/index",
"pages/bindCashCard/index",
"pages/bindCashSuccess/index",
"pages/signUp/index",
"pages/money/index",
"pages/addCard/index",
"pages/setUp/index",
"pages/changeName/index",
"pages/addressBook/index",
"pages/addAddress/index",
"pages/changeSex/index",
"pages/changeAva/index",
"pages/addUserCard/index",
"pages/seeCard/index",
"pages/seeIdCard/index",
"pages/wxMoney/index",
"pages/currJob/index",
"pages/resume/index",
"pages/addResume/index",
"pages/agentData/index",
"pages/myProcessNew/index",
"pages/processDetail/index",
"pages/townsman/index",
"pages/townsmanNoJob/index",
"pages/townsmanDetail/index",
"pages/serviceTerm/index",
"pages/secret/index",
"pages/justShowTel/index",
"pages/justShowName/index",
"pages/justShowID/index",
"pages/goodJob/index",
"pages/specialArea/index",
"pages/detail/index",
"pages/newEnroll/index",
"pages/enrollInfo/index",
"pages/channelOrder/index",
"pages/changeStatus/index",
"pages/notice/index",
"pages/noticeDetail/index",
"pages/normalNotice/index",
"pages/nickLogin/index",
"pages/nickName/index",
"pages/nickNameUsed/index",
"pages/underReview/index",
"pages/addressPage/index",
"pages/channelManage/index",
"pages/recordChoice/index",
"pages/announce/index",
"pages/announceDetail/index",
"pages/announceAuto/index",
"pages/announceAutoDetail/index",
"pages/announceReview/index",
"pages/myProject/index",
"pages/city/index",
"pages/inform/index",
"pages/informDetail/index",
"pages/informReview/index",
"pages/mobile/index",
"pages/mobileInfo/index",
"pages/myAgentNew/index",
"pages/myAgentNew/myAgentDetailNew/index",
"pages/myAgentNew/myAgentInfo/index",
"pages/myAgentNew/myCreatMan/index",
"pages/myAgentNew/myCreatMember/index",
"pages/myAgentNew/myCreatMember/edit/index",
"pages/myAgentNew/desp/index",
"pages/myAgentNew/images/index",
"pages/newEnroll/enroll/index",
"pages/myProjectNew/index",
"pages/myProjectNew/myProjectDetail/index",
"pages/myProjectNew/myProjectInfo/index",
"pages/jobDetail/index",
"pages/jobDetail/editDetail/index",
"pages/jobDetail/editStoreDetail/index",
"pages/jobDetail/xzDetail/index",
"pages/jobDetail/fwfDetail/index",
"pages/jobDetail/xzffDetail/index",
"pages/jobDetail/sexAge/index",
"pages/jobDetail/editAddress/index",
"pages/jobDetail/editImg/index",
"pages/jobDetail2/index",
"pages/jobDetail/addAddressNew/index",
"pages/jobDetail/idCardEdit/index",
"pages/jobDetail/ynzzEdit/index",
"pages/jobDetail/zhengceDetail/index",
"pages/jobDetail/editZhengce/index",
"pages/circle/index",
"pages/addCircle/index",
"pages/editPolicy/index",
"pages/editBoCaiProfit/index",
"pages/jobDetail/editSpecialRadio/index",
"pages/mine/index"
],
"subpackages": [
{
"root": "pagesSub",
"pages": [
"opinion/index",
"setting/index",
"changePsw/index",
"serviceTerm/index",
"secret/index",
"versionPage/index",
"opinionList/index",
"official/index",
"group/index"
]
}
],
"requiredPrivateInfos": [
"chooseLocation"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "工作台",
"navigationBarTextStyle": "black",
"backgroundColor": "#f5f5f5"
},
"tabBar": {
"color": "#666666",
"borderStyle": "black",
"selectedColor": "#00bebe",
"list": [
{
"iconPath": "/images/gzt.png",
"selectedIconPath": "/images/gzt1.png",
"pagePath": "pages/newIndex/index",
"text": "工作台"
},
{
"iconPath": "/images/txl.png",
"selectedIconPath": "/images/txl1.png",
"pagePath": "pages/mobile/index",
"text": "通讯录"
},
{
"iconPath": "/images/notice.png",
"selectedIconPath": "/images/notice1.png",
"pagePath": "pages/notice/index",
"text": "消息"
},
{
"iconPath": "/images/me.png",
"selectedIconPath": "/images/me1.png",
"pagePath": "pages/mine/index",
"text": "我的"
}
]
},
"sitemapLocation": "sitemap.json",
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于代理点定位"
}
},
"lazyCodeLoading": "requiredComponents",
"navigateToMiniProgramAppIdList": [
"wxb1f7c694803f6f00",
"wxbc6d9dbb9dff5b37",
"wxce719cf27fe65a20",
"wxcd92e9de515837c8",
"wxd7be307e763f9a74"
],
"miniApp": {
"useAuthorizePage": true
}
}

2145
app.wxss

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
<style type="text/css">
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#F5F5F5;}
.st1{fill:#CCCCCC;}
</style>
<title>电话</title>
<g id="一手单小程序">
<g id="工具_xFF08_我的报名_xFF09_" transform="translate(-15.000000, -284.000000)">
<g id="编组-11" transform="translate(0.000000, 162.000000)">
<g id="编组-10" transform="translate(10.000000, 116.000000)">
<g id="编组-7" transform="translate(5.000000, 0.000000)">
<g id="电话" transform="translate(0.000000, 6.000000)">
<g id="椭圆形">
<circle class="st0"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0.2,0.1-0.2,0.1
l-0.2,0c-1.2-0.7-2.2-1.4-3.1-2.2c-0.8-0.8-1.6-1.9-2.2-3.1l0,0v-0.4l0.1,0l0.2-0.2c0.4-0.2,0.8-0.4,1-0.7
c1.2-1.2,1.2-3,0-4.2C12.8,8.5,12.1,8.2,11.3,8.2z"/>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FF4400;}
.st1{opacity:0.1;}
.st2{fill-rule:evenodd;clip-rule:evenodd;fill:#FF4400;}
</style>
<title>电话</title>
<g id="一手单小程序">
<g id="工具_xFF08_我的报名_xFF09_" transform="translate(-15.000000, -284.000000)">
<g id="编组-11" transform="translate(0.000000, 162.000000)">
<g id="编组-10" transform="translate(10.000000, 116.000000)">
<g id="编组-7" transform="translate(5.000000, 0.000000)">
<g id="电话" transform="translate(0.000000, 6.000000)">
<g id="形状">
<path class="st0" d="M18.1,18c-0.3,0.3-0.5,0.6-0.7,1c-0.9-0.5-1.8-1.2-2.5-1.9c-0.7-0.7-1.4-1.6-1.9-2.5
c0.4-0.2,0.7-0.4,1-0.7c1.5-1.5,1.5-4,0-5.5s-4-1.5-5.5,0C7.8,9.1,7.4,10,7.4,11.1c-0.1,3.2,1.4,6.2,4.4,9.2
c3,3,5.9,4.4,9,4.4h0.2c1-0.1,1.9-0.4,2.6-1.1c1.5-1.5,1.5-4,0-5.5C22.1,16.5,19.6,16.5,18.1,18L18.1,18z M23.1,23
c-0.6,0.6-1.4,0.9-2.1,0.9h-0.1c-2.9,0-5.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0-5.3
C13.2,7.8,12.2,7.4,11.3,7.4z M21,24.1h-0.1c-2.9,0-5.8-1.4-8.6-4.2C9.4,17,8,14.1,8.1,11.1c0-0.9,0.3-1.6,1-2.2
c0.5-0.6,1.3-1,2.2-1c0.9,0,1.7,0.4,2.3,1c1.3,1.3,1.3,3.3,0,4.6c-0.3,0.3-0.7,0.5-1.1,0.7l-0.1,0.1c0,0,0,0,0,0.1v0.1
c0.6,1.2,1.4,2.2,2.2,3c0.8,0.8,1.8,1.5,3,2.2h0.1c0,0,0,0,0.1,0l0,0h0.1l0,0c0.2-0.5,0.4-0.9,0.7-1.1c0.6-0.6,1.4-1,2.3-1
c0.9,0,1.7,0.3,2.3,1c1.3,1.3,1.3,3.4,0.1,4.7l0,0C22.6,23.7,21.8,24.1,21,24.1z M11.3,8.2c-0.8,0-1.6,0.3-2,0.9
c-0.6,0.5-0.9,1.2-0.9,2c-0.1,2.9,1.3,5.7,4.1,8.5c2.8,2.8,5.5,4.1,8.4,4.1H21c0.7,0,1.4-0.3,2-0.9c1.1-1.2,1.1-3.1-0.1-4.3
c-0.6-0.6-1.3-0.9-2.1-0.9c-0.8,0-1.5,0.3-2.1,0.9c-0.3,0.2-0.5,0.6-0.7,1l0,0.1l-0.2,0.2h-0.1c-0.1,0.1-0.2,0.1-0.2,0.1
l-0.2,0c-1.2-0.7-2.2-1.4-3.1-2.2c-0.8-0.8-1.6-1.9-2.2-3.1l0,0v-0.4l0.1,0l0.2-0.2c0.4-0.2,0.8-0.4,1-0.7
c1.2-1.2,1.2-3,0-4.2C12.8,8.5,12.1,8.2,11.3,8.2z"/>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
<g id="椭圆形_1_" class="st1">
<circle class="st2" cx="16" cy="16" r="15.7"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
.st1{fill:#333333;}
.st2{fill:#FF4400;}
</style>
<title>待面试</title>
<g id="一手单小程序">
<g id="工具" transform="translate(-46.000000, -266.000000)">
<g id="编组-4" transform="translate(10.000000, 210.000000)">
<g id="收藏-_x28_1_x29_" transform="translate(27.000000, 56.000000)">
<g id="待面试" transform="translate(9.000000, 0.000000)">
<g id="矩形">
<rect class="st0" width="24" height="24"/>
</g>
<g id="编组-5" transform="translate(1.000000, 1.000000)">
<g id="路径">
<path class="st1" d="M20,4.8c-2-3-5.4-4.8-9-4.8C7.4,0,4,1.8,1.9,4.7L1.6,4C1.5,3.5,1,3.3,0.6,3.5s-0.7,0.6-0.5,1.1L1,7.2
C1,7.4,1.2,7.6,1.4,7.7c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.2,0,0.3,0l2.9-1c0.3-0.1,0.5-0.3,0.6-0.6s0-0.6-0.3-0.8
C5,5.2,4.7,5.1,4.4,5.2l-1,0.3C4,4.6,4.8,3.9,5.7,3.3c3.5-2.3,8-2.1,11.2,0.6s4.2,7.2,2.5,11c-1.7,3.8-5.7,6-9.9,5.4
s-7.3-3.9-7.9-8c0-0.3-0.2-0.5-0.5-0.7s-0.6-0.1-0.8,0.1S0,12.1,0,12.4C0.7,17.9,5.4,22,10.9,22c4.1,0,7.8-2.3,9.7-5.8
S22.3,8.2,20,4.8L20,4.8z"/>
<path class="st1" d="M10.9,22.1c-5.6,0-10.3-4.2-11-9.7c0-0.3,0.1-0.7,0.4-0.9s0.6-0.2,0.9-0.1c0.3,0.1,0.5,0.4,0.6,0.7
c0.5,4.1,3.7,7.3,7.8,7.9c4.1,0.6,8.1-1.6,9.8-5.3C21,11.1,20,6.6,16.9,3.9C13.7,1.3,9.2,1,5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_1_">
<path class="st2" d="M11.3,12.8c0.5,0,0.8-0.4,0.8-0.8V6.6c0-0.5-0.4-0.8-0.8-0.8s-0.8,0.4-0.8,0.8v4.5H6.8
c-0.3,0-0.6,0.2-0.7,0.4c-0.1,0.3-0.1,0.6,0,0.8c0.1,0.3,0.4,0.4,0.7,0.4L11.3,12.8z"/>
<path class="st2" d="M11.3,12.9l-4.5,0c0,0,0,0,0,0c-0.3,0-0.6-0.2-0.8-0.5c-0.2-0.3-0.2-0.6,0-0.9S6.5,11,6.8,11h3.6V6.6
c0-0.5,0.4-0.9,0.9-0.9c0.5,0,0.9,0.4,0.9,0.9V12C12.3,12.5,11.9,12.9,11.3,12.9z M6.8,12.7l4.5,0c0.4,0,0.7-0.3,0.7-0.7V6.6
c0-0.4-0.3-0.7-0.7-0.7c-0.4,0-0.7,0.3-0.7,0.7v4.6H6.8c-0.3,0-0.5,0.1-0.6,0.4c-0.1,0.2-0.1,0.5,0,0.7
C6.3,12.6,6.6,12.7,6.8,12.7C6.8,12.7,6.8,12.7,6.8,12.7z"/>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:#333333;}
.st1{fill:#FF4400;}
</style>
<title>待入职</title>
<g id="形状">
<path class="st0" d="M9.5,0c-1.5,0-3,0.6-4,1.7C4.4,2.9,3.8,4.4,3.8,5.9c0,1.6,0.6,3.1,1.7,4.2c1,1.1,2.5,1.7,4,1.7
c1.5,0,3-0.6,4-1.7c1.1-1.1,1.7-2.6,1.7-4.2c0-1.6-0.6-3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.2-0.1,0.3-0.2c0.2-0.2,0.2-0.4,0.2-0.6
c0-0.2-0.1-0.4-0.2-0.6l-1.1-1.2h5.6c0.2,0,0.4-0.1,0.6-0.2s0.2-0.4,0.2-0.6C23.6,19.1,23.5,18.9,23.4,18.8z M18.3,21.5L18.3,21.5
c0.1,0.1,0.1,0.2,0.2,0.3C18.4,21.6,18.4,21.5,18.3,21.5l-1.2-1.3h0L18.3,21.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>地址本</title>
<g id="一手单小程序" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="我的" transform="translate(-305.000000, -476.000000)">
<g id="地址本" transform="translate(289.000000, 476.000000)">
<g transform="translate(16.000000, 0.000000)">
<g id="编组-6" transform="translate(1.790000, 0.770000)" fill-rule="nonzero">
<path d="M17.868802,0 C19.2786292,0 20.421488,1.13145565 20.421488,2.52715717 L20.421488,19.9364796 C20.421488,21.3321812 19.2786292,22.4636368 17.868802,22.4636368 L2.552686,22.4636368 C1.14285879,22.4636368 0,21.3321812 0,19.9364796 L0,2.52715717 C0,1.13145565 1.14285879,0 2.552686,0 L17.868802,0 Z M3.5737604,1.5316116 L2.552686,1.5316116 C1.98876575,1.5316116 1.5316116,1.91484021 1.5316116,2.38753698 L1.5316116,20.0761266 C1.5316116,20.5488233 1.98876575,20.9320252 2.552686,20.9320252 L3.5737604,20.9320252 L3.5737604,1.5316116 L3.5737604,1.5316116 Z M5.105372,1.5316116 L5.105372,20.8736923 L17.9326192,20.8736923 C18.4001723,20.8736923 18.7800993,20.498139 18.787769,20.0319672 L18.787769,20.0177913 L18.787769,2.38753934 C18.787769,1.91484127 18.4049024,1.5316116 17.9326192,1.5316116 L5.105372,1.5316116 Z" id="形状" fill="#333333"></path>
<path d="M11.7934001,5.89670005 C14.2746736,5.89670005 16.2861327,7.96480965 16.2861327,10.5159485 C16.2861327,11.7442522 15.8198196,12.8605975 15.0592769,13.6880572 L14.9702473,13.7822465 L12.5985629,16.2206899 C12.1888212,16.6419617 11.5290489,16.6729984 11.0826372,16.3073503 L10.9991883,16.2317989 L8.61655295,13.7822465 L8.52752331,13.6880572 C7.76700695,12.8605975 7.30066748,11.7442522 7.30066748,10.5159485 C7.30066748,7.96480965 9.31212664,5.89670005 11.7934001,5.89670005 Z M11.7934001,7.5814715 C10.2532294,7.5814715 8.98543893,8.88498443 8.98543893,10.5159485 C8.98543893,11.2355302 9.23244221,11.9091228 9.657847,12.4229518 L9.75172036,12.5305666 L9.82429716,12.6075659 L11.7934001,14.6316872 L13.7460239,12.6247295 L13.8188639,12.5479408 C14.3177932,12.0051285 14.6013613,11.286942 14.6013613,10.5159485 C14.6013613,8.88498443 13.3335708,7.5814715 11.7934001,7.5814715 Z" id="形状" fill="#FF4400"></path>
</g>
<rect id="矩形" x="0" y="0" width="24" height="24"></rect>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 14" style="enable-background:new 0 0 16 14;" xml:space="preserve">
<style type="text/css">
.st0{fill:#333333;}
.st1{fill:#FF4400;}
</style>
<title>拍照</title>
<g id="一手单小程序">
<g id="工具" transform="translate(-33.000000, -169.000000)">
<g id="编组-37" transform="translate(22.000000, 162.000000)">
<g id="拍照-" transform="translate(12.000000, 8.000000)">
<g id="形状">
<path class="st0" d="M12.4,1.8c-0.6,0-1-0.1-1.3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0.6,0.6,0.9,1.3,0.9,2.1c0,0.8-0.3,1.5-0.9,2.1S7.8,9.5,7,9.5z M7,4C6.3,4,5.6,4.3,5.1,4.8
C4.6,5.3,4.4,5.9,4.4,6.6S4.6,8,5.1,8.5C5.6,9,6.3,9.2,7,9.2S8.4,9,8.9,8.5C9.4,8,9.6,7.3,9.6,6.6S9.4,5.3,8.9,4.8
C8.4,4.3,7.7,4,7,4z M7,8.6C6.5,8.6,6,8.4,5.6,8C5.2,7.6,5,7.1,5,6.6c0-0.5,0.2-1,0.6-1.4S6.5,4.7,7,4.7s1,0.2,1.4,0.6
C8.8,5.6,9,6.1,9,6.6c0,0.5-0.2,1-0.6,1.4C8,8.4,7.5,8.6,7,8.6z M7,5C6.6,5,6.1,5.1,5.8,5.4C5.5,5.8,5.3,6.2,5.3,6.6
c0,0.4,0.2,0.9,0.5,1.2C6.1,8.1,6.6,8.3,7,8.3s0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.4-0.2-0.9-0.5-1.2
C7.9,5.1,7.4,5,7,5z"/>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>收藏</title>
<g id="一手单小程序" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="我的" transform="translate(-46.000000, -476.000000)">
<g id="编组-19" transform="translate(10.000000, 418.000000)">
<g id="收藏-(1)" transform="translate(20.000000, 57.999922)">
<g id="编组-14" transform="translate(0.000000, -0.000000)">
<g id="收藏" transform="translate(16.000000, 0.000000)">
<g id="收藏-(11)">
<rect id="矩形" x="0" y="7.82712469e-05" width="24" height="24"></rect>
<path d="M18.2303794,13.502687 C17.4599575,14.2925901 17.1084713,15.4305079 17.2904462,16.5456709 L18.1803238,22.0000391 L13.5214436,19.4249067 C13.0520847,19.1659403 12.5300502,19.0303832 12,19.0298322 C11.4716351,19.0298322 10.9463602,19.1662888 10.4785564,19.4249067 L5.8196762,22.0000391 L6.70955383,16.5456709 C6.8915287,15.4305079 6.54004252,14.2925901 5.76962058,13.502687 L2,9.63966354 L7.20949203,8.84366626 C8.27407816,8.68131505 9.19440309,7.97824913 9.67025089,6.96381312 L12,2.00003914 L14.3297491,6.96381312 C14.8057171,7.97842107 15.7263103,8.6815154 16.791126,8.84366626 L22,9.63966354 L18.2303794,13.502687 Z M22.8222236,8.08388663 L16.9104107,7.18575546 C16.4628198,7.11790692 16.0759168,6.82396574 15.8760084,6.39989071 L13.2324027,0.800369093 C13.0036968,0.307422522 12.5240979,-0.00401644968 12,3.91356235e-05 C11.5103989,3.91356235e-05 11.0195979,0.266633327 10.7675973,0.800369093 L8.12399155,6.39989071 C7.92391948,6.82382154 7.53709954,7.11769962 7.08958929,7.18575546 L1.1777764,8.08388663 C0.0509739334,8.25510858 -0.399027036,9.70265515 0.416374733,10.5336773 L4.69438408,14.8919967 C5.01778478,15.2218969 5.16538511,15.6979315 5.08918492,16.1633039 L4.07938272,22.3178856 C3.92698238,23.2467489 4.63318392,24 5.43358569,24 C5.64418614,24 5.86198661,23.9479435 6.07258707,23.831914 L11.3609986,20.9261586 C11.7610763,20.7064616 12.2389237,20.7064616 12.6390014,20.9261586 L17.9274129,23.831914 C18.1374134,23.9479435 18.3552139,24 18.5664143,24 C19.3668161,24 20.0730176,23.246749 19.9206173,22.3178856 L18.9108151,16.1633039 C18.834693,15.6974758 18.9822657,15.2222736 19.3056159,14.8919967 L23.5836253,10.5336773 C24.399027,9.70265512 23.9490261,8.25510855 22.8222236,8.08388663 Z" id="形状" fill="#333333" fill-rule="nonzero"></path>
</g>
<path d="M9.87902171,16.8766471 C9.54859617,16.8766471 9.25947384,16.5875247 9.25947384,16.2570992 C9.25947384,13.0767534 7.64864936,12.333296 7.56604297,12.2919928 C7.23561743,12.1680832 7.11170786,11.7963545 7.23561745,11.465929 C7.35952703,11.1355034 7.73125575,11.0115938 8.02037809,11.1355034 C8.10298448,11.1768066 10.4572664,12.1680832 10.4572664,16.2570992 C10.4985696,16.5875247 10.2094472,16.8766471 9.87902171,16.8766471 Z" id="路径" stroke="#FF4400" stroke-width="0.6" fill="#FF4400" fill-rule="nonzero"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:#333333;}
.st1{fill:#FF4400;}
.st2{fill:none;}
</style>
<title>设置</title>
<g id="一手单小程序">
<g id="我的" transform="translate(-30.000000, -676.000000)">
<g id="编组-12" transform="translate(10.000000, 658.000000)">
<g id="设置-" transform="translate(20.000000, 18.000000)">
<g id="形状">
<path class="st0" d="M23.3,9.9c-0.1-0.4-0.3-0.7-0.6-0.8l-1.3-0.6c-1.1-0.5-1.8-1.7-1.7-2.9l0.2-1.4c0-0.4-0.1-0.7-0.4-0.9
c-1-0.9-2.2-1.6-3.6-2.1c-0.3-0.1-0.7-0.1-1,0.2l-1.3,0.9c-0.5,0.4-1.1,0.5-1.7,0.5s-1.2-0.2-1.7-0.5L9.1,1.2
C8.8,1,8.4,0.9,8.1,1.1C6.8,1.5,5.6,2.3,4.5,3.2C4.2,3.4,4.1,3.8,4.2,4.1l0.2,1.5C4.4,6.8,3.8,8,2.6,8.5L1.3,9.1
C1,9.2,0.8,9.6,0.7,9.9c-0.1,0.7-0.2,1.4-0.2,2.1s0.1,1.4,0.2,2.1c0.1,0.4,0.3,0.7,0.6,0.8l1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-0.9-0.7-1.8-1.3-2.8-1.7l-1.1,0.8c-0.9,0.6-1.9,0.9-3,0.8C10.8,4,10.1,3.7,9.4,3.2l-1-0.8
c-1,0.4-2,1-2.8,1.7l0.1,1.3c0.2,1.9-0.8,3.6-2.5,4.4L2,10.3c-0.1,0.6-0.1,1.1-0.1,1.7s0,1.1,0.1,1.7l1.2,0.5
c1.7,0.8,2.7,2.5,2.5,4.4l-0.1,1.3c0.8,0.7,1.8,1.3,2.8,1.7l1.1-0.8C10.2,20.1,11.1,19.9,12,19.9z"/>
</g>
<g id="椭圆形">
<path class="st1" d="M12,16.9c-2.7,0-4.8-2.2-4.8-4.8c0-2.7,2.2-4.8,4.8-4.8c2.7,0,4.8,2.2,4.8,4.8
C16.8,14.7,14.7,16.9,12,16.9z M12,9.1c-1.7,0-3,1.4-3,3s1.4,3,3,3s3-1.3,3-3S13.7,9.1,12,9.1z"/>
</g>
<g id="矩形">
<rect class="st2" width="24" height="24"/>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.0 KiB

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
.st1{fill:#FF4400;}
.st2{fill:#333333;}
.st3{fill:#343333;}
</style>
<title>我的报名</title>
<g id="一手单小程序">
<g id="我的" transform="translate(-132.000000, -476.000000)">
<g id="编组-19" transform="translate(10.000000, 418.000000)">
<g id="编组-16" transform="translate(106.333333, 58.000000)">
<g id="我的报名" transform="translate(16.000000, 0.000000)">
<g id="矩形">
<rect x="0" class="st0" width="24" height="24"/>
</g>
<g transform="translate(0.509091, 0.545455)">
<g id="形状">
<path class="st1"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.7,6.1,5.7c3.4,0,6.1-2.6,6.1-5.7
C17.4,2.8,14.7,0.2,11.3,0.2z M11.3,10.8c-2.8,0-5.2-2.2-5.2-4.9s2.4-4.8,5.2-4.8c2.8,0,5.2,2.2,5.2,4.8
C16.5,8.6,14.1,10.8,11.3,10.8z M11.3,1.6c-2.5,0-4.7,2-4.7,4.3s2.1,4.4,4.7,4.4S16,8.3,16,6C16,3.6,13.9,1.6,11.3,1.6z"/>
</g>
<g id="路径">
<path class="st2" d="M0.6,22.9c-0.4,0-0.6-0.2-0.6-0.5c0-5.8,5.3-10.5,11.9-10.5c2.8,0,3.8,0.5,5.5,1.5
c0.2,0.2,0.6,0.6,0.3,0.9c-0.2,0.3-0.6,0.3-1.2,0c-1.4-0.8-2.9-1.2-4.6-1.2C6,13,1.3,17.2,1.3,22.4
C1.2,22.7,0.9,22.9,0.6,22.9z"/>
<path class="st2" d="M0.6,23.2c-0.5,0-0.8-0.3-0.8-0.8c0-6,5.4-10.8,12.1-10.8c2.8,0,3.8,0.5,5.5,1.5l0.1,0.1
c0.5,0.5,0.6,0.9,0.4,1.2c-0.2,0.3-0.6,0.5-1.5,0.1c-1.3-0.8-2.8-1.1-4.5-1.1c-5.7,0-10.3,4.1-10.3,9.1l0,0.1
C1.4,22.9,1,23.2,0.6,23.2z M11.9,12.1c-6.4,0-11.6,4.6-11.6,10.3c0,0.3,0.2,0.3,0.3,0.3c0.2,0,0.4-0.1,0.5-0.3
c0-5.3,4.9-9.5,10.8-9.5c1.8,0,3.4,0.4,4.8,1.2c0.4,0.2,0.7,0.3,0.9,0.1c0,0,0.1-0.2-0.3-0.6l-0.1,0
C15.5,12.6,14.6,12.1,11.9,12.1z"/>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
.st1{fill:#333333;}
.st2{fill:#FF4400;}
</style>
<title>我的老乡</title>
<g id="一手单小程序">
<g id="我的" transform="translate(-218.000000, -476.000000)">
<g id="地址本" transform="translate(202.666667, 476.000000)">
<g id="我的老乡" transform="translate(16.000000, 0.000000)">
<g id="矩形">
<rect x="0" class="st0" width="24" height="24"/>
</g>
<g id="编组-24" transform="translate(0.333333, 0.900000)">
<g id="编组-2">
<g id="形状">
<path class="st1" d="M0,22.4h1.7c0-1.3,0.2-2.6,0.7-3.8c0.4-1.2,1-2.2,1.8-3.1c1.5-1.7,3.5-2.7,5.5-2.7s4,1,5.5,2.7
c0.8,0.9,1.4,1.9,1.8,3.1c0.4,1.2,0.7,2.5,0.7,3.8h1.7c0-4.7-2.5-8.7-6-10.4c2.2-1.1,3.5-3.3,3.5-5.6c0-3.5-3-6.4-6.7-6.4
S3.4,2.9,3.4,6.4c0,2.2,1.2,4.2,3.1,5.4C2.7,13.4,0,17.5,0,22.4z M5,6.4c0-2.3,1.7-4.3,4.1-4.7s4.7,0.8,5.6,2.9
c0.9,2.1,0.1,4.6-1.9,5.8s-4.7,1-6.4-0.6C5.6,8.9,5,7.7,5,6.4z"/>
<path class="st1" d="M19.4,22.5h-1.8v0c0-1.3-0.2-2.6-0.7-3.8c-0.4-1.2-1-2.2-1.8-3.1c-1.5-1.7-3.4-2.7-5.5-2.7s-4,1-5.5,2.7
c-0.8,0.9-1.4,1.9-1.8,3.1c-0.4,1.2-0.7,2.5-0.7,3.8v0H0v0c0-4.8,2.6-9,6.4-10.6c-1.9-1.2-3.1-3.2-3.1-5.4
c0-3.6,3-6.5,6.8-6.5c3.7,0,6.8,2.9,6.8,6.5c0,2.3-1.3,4.5-3.4,5.6C17,13.8,19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0
c-0.7-0.9-1.6-1.7-2.5-2.3l-0.1,0l0.1-0.1l0,0c0.1,0,0.2,0,0.3,0c1.7,0,3.2-1,3.8-2.4C19.6,8,19.2,6.3,18,5.2
c-0.2-0.2-0.4-0.4-0.7-0.5l0,0l0,0c-0.2-0.7-0.5-1.4-0.9-2.1l-0.1-0.1l0.1,0C19.2,3.1,21,5.4,21,8c0,2-1.1,3.9-2.9,4.9
C21.4,14.6,23.5,18.3,23.5,22.5L23.5,22.5z M21.9,22.4h1.6c0-4.1-2.2-7.8-5.5-9.4l-0.1,0l0.1,0c1.8-1,3-2.8,3-4.8
c0-2.6-1.8-4.8-4.4-5.4c0.4,0.6,0.7,1.3,0.9,2c0.2,0.2,0.5,0.3,0.7,0.5C19.3,6.3,19.7,8,19,9.6c-0.7,1.5-2.2,2.5-3.9,2.5
c0,0-0.1,0-0.1,0c0.9,0.6,1.7,1.4,2.4,2.3c0.8,0.4,1.6,1,2.2,1.7c0.7,0.8,1.3,1.8,1.7,2.8C21.7,20,21.9,21.2,21.9,22.4z"/>
</g>
</g>
<g id="银行卡">
<polygon class="st2" points="9.8,18.2 13.8,18.2 13.8,17.1 9.8,17.1 "/>
<path class="st2" d="M13.8,18.5h-4c-0.2,0-0.3-0.1-0.3-0.3v-1.1c0-0.2,0.1-0.3,0.3-0.3h4c0.2,0,0.3,0.1,0.3,0.3v1.1
C14.1,18.4,13.9,18.5,13.8,18.5z M10.1,17.9h3.4v-0.5h-3.4V17.9z"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
.st1{fill:#333333;}
.st2{fill:#FF4400;}
</style>
<title>银行卡</title>
<g id="一手单小程序">
<g id="我的" transform="translate(-132.000000, -337.000000)">
<g id="编组-18" transform="translate(119.330000, 337.000000)">
<g id="银行卡" transform="translate(13.000000, 0.000000)">
<g id="矩形">
<rect x="0" class="st0" width="24" height="24"/>
</g>
<g>
<path class="st1" d="M20.2,1H3.7C2.2,1,1,2.4,1,4.2v15.5C1,21.6,2.2,23,3.7,23h16.5c1.5,0,2.8-1.4,2.8-3.2V4.2
C23,2.4,21.8,1,20.2,1z M21.9,19.8c0,1.1-0.7,1.9-1.6,1.9H3.7c-0.9,0-1.7-0.9-1.7-1.9V4.2c0-1.1,0.7-1.9,1.7-1.9h16.5
c0.9,0,1.6,0.9,1.6,1.9V19.8z M1.3,9.1h21.1V7.8H1.3V9.1z"/>
<path class="st1" d="M20.3,23.2H3.8c-1.7,0-3-1.6-3-3.5V4.2c0-1.9,1.3-3.5,3-3.5h16.5c1.7,0,3,1.6,3,3.5v15.5
C23.3,21.7,21.9,23.2,20.3,23.2z M1.3,9.4v10.4c0,1.6,1.1,3,2.5,3h16.5c1.4,0,2.5-1.3,2.5-3V4.2c0-1.6-1.1-3-2.5-3H3.8
c-1.4,0-2.5,1.3-2.5,3v3.3h0.6V4.2C1.9,3,2.7,2,3.8,2h16.5c1,0,1.9,1,1.9,2.2v3.3h0.4v1.8h-0.4v10.4c0,1.2-0.9,2.2-1.9,2.2H3.8
c-1,0-1.9-1-1.9-2.2V9.4H1.3z M2.4,9.4v10.4c0,0.9,0.6,1.7,1.4,1.7h16.5c0.8,0,1.4-0.8,1.4-1.7V9.4H2.4z M2.4,8.9h19.3V8.1H2.4
V8.9z M1.5,8.9h0.3V8.1H1.5V8.9z M2.4,7.6h19.3V4.2c0-0.9-0.6-1.7-1.4-1.7H3.8C3,2.5,2.4,3.3,2.4,4.2V7.6z"/>
</g>
<g>
<polygon class="st2" points="13.3,16 19.4,16 19.4,14.9 13.3,14.9 "/>
<path class="st2" d="M19.3,16.3h-6c-0.2,0-0.3-0.1-0.3-0.3v-1.1c0-0.2,0.1-0.3,0.3-0.3h6c0.2,0,0.3,0.1,0.3,0.3V16
C19.6,16.1,19.5,16.3,19.3,16.3z M13.6,15.7H19v-0.5h-5.5V15.7z"/>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
.st1{fill:#333333;}
.st2{fill:#FF4400;}
</style>
<title>已完成</title>
<g id="一手单小程序">
<g id="工具" transform="translate(-305.000000, -266.000000)">
<g id="编组-4" transform="translate(10.000000, 210.000000)">
<g id="地址本" transform="translate(286.000000, 56.000000)">
<g id="已完成" transform="translate(9.000000, 0.000000)">
<g id="矩形">
<rect class="st0" width="24" height="24"/>
</g>
<g id="已完成-_x28_3_x29_" transform="translate(1.750000, 2.000000)">
<g id="形状">
<path class="st1" d="M11.8,6.5H5.7C5.5,6.5,5.2,6.3,5.2,6v0c0-0.3,0.2-0.5,0.5-0.5h6.1c0.3,0,0.5,0.2,0.5,0.5v0
C12.2,6.3,12,6.5,11.8,6.5z M11.8,10.5H5.7c-0.3,0-0.5-0.2-0.5-0.5v0c0-0.3,0.2-0.5,0.5-0.5h6.1c0.3,0,0.5,0.2,0.5,0.5v0
C12.2,10.3,12,10.5,11.8,10.5z"/>
<path class="st1" d="M11.8,10.9H5.7c-0.5,0-0.8-0.4-0.8-0.8c0-0.5,0.4-0.9,0.8-0.9h6.1c0.5,0,0.8,0.4,0.8,0.8
C12.6,10.5,12.2,10.9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0.2l-0.2,0.2c-0.1-0.1-0.4-0.1-0.5,0
l-4.5,4.7l-1.6-1.4C15,17.8,14.9,17.8,14.8,17.8z"/>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:#333333;}
.st1{fill:#FF4400;}
.st2{fill:none;}
</style>
<title>证件</title>
<g id="一手单小程序">
<g id="我的" transform="translate(-46.000000, -337.000000)">
<g id="证件_1_" transform="translate(30.000000, 337.000000)">
<g id="编组-5" transform="translate(14.000000, 0.000000)">
<g id="证件" transform="translate(2.000000, 0.000000)">
<g id="形状" transform="translate(1.000000, 1.000000)">
<g>
<path class="st0" d="M19.2,0H2.8C1.2,0,0,1.4,0,3.2v15.5C0,20.6,1.2,22,2.8,22h16.5c1.5,0,2.8-1.4,2.8-3.2V3.2
C22,1.4,20.8,0,19.2,0z M20.9,18.8c0,1.1-0.7,1.9-1.6,1.9H2.8c-0.9,0-1.6-0.9-1.6-1.9V3.2c0-1.1,0.7-1.9,1.6-1.9h16.5
c0.9,0,1.6,0.9,1.6,1.9V18.8z M3.5,16.2h5.1v-1.3H3.4L3.5,16.2z M3.4,11.6h5.2v-1.3H3.4V11.6z M3.4,7.1h5.2V5.8H3.4V7.1z"/>
<path class="st0" d="M19.2,22.2H2.8c-1.7,0-3-1.6-3-3.5V3.2c0-1.9,1.3-3.5,3-3.5h16.5c1.7,0,3,1.6,3,3.5v15.5
C22.2,20.7,20.9,22.2,19.2,22.2z M2.8,0.2c-1.4,0-2.5,1.3-2.5,3v15.5c0,1.6,1.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1.4,0.8,2.2,2.3,2.2,3.9C19.4,17.4,19,17.8,18.6,17.8z M14.8,13.6c1.8,0,3.3,1.5,3.3,3.4
c0,0.2,0.2,0.4,0.4,0.4S19,17.2,19,17c0-1.6-0.9-3-2.3-3.7l-0.3-0.1l0.2-0.2c0.7-0.6,1-1.4,1-2.3c0-1.6-1.3-3-2.9-3
c-1.6,0-2.9,1.3-2.9,3c0,0.9,0.4,1.7,1,2.3l0.2,0.2L13,13.2c-1.4,0.7-2.3,2.2-2.3,3.7c0,0.2,0.2,0.4,0.4,0.4s0.4-0.2,0.4-0.4
C11.5,15.1,13,13.6,14.8,13.6z M14.8,12.8c-1.1,0-2.1-0.9-2.1-2.1c0-1.2,0.9-2.1,2.1-2.1s2.1,0.9,2.1,2.1
C16.9,11.8,16,12.8,14.8,12.8z M14.8,9c-0.9,0-1.7,0.8-1.7,1.7c0,0.9,0.7,1.7,1.7,1.7s1.7-0.8,1.7-1.7
C16.5,9.7,15.8,9,14.8,9z"/>
</g>
</g>
<g id="矩形">
<rect class="st2" width="24" height="24"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
.st1{fill:#333333;}
.st2{fill:#FF4400;}
</style>
<title>在职</title>
<g id="一手单小程序">
<g id="工具" transform="translate(-218.000000, -406.000000)">
<g id="编组-4" transform="translate(10.000000, 348.000000)">
<g id="地址本" transform="translate(199.666667, 58.000000)">
<g id="在职" transform="translate(9.000000, 0.000000)">
<g id="我的老乡">
<g id="矩形">
<rect x="0" class="st0" width="24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.5-2.5,2.5-4.2
c0-2.2-1.5-4-3.6-4.7C17,1,17.1,1.3,17.2,1.8C17.5,2,18,2.4,18.1,2.6c1.1,1.1,1.4,2.7,0.8,4.1c-0.6,1.3-1.9,2.2-3.3,2.3
c0.7,0.5,1.3,1.1,1.8,1.8c0.7,0.4,1.4,0.9,1.9,1.6c0.6,0.7,1.1,1.6,1.5,2.6C21.3,15.8,21.4,16.9,21.5,17.9z"/>
</g>
</g>
<g id="矩形_1_">
<path class="st2" d="M8.9,16.3h2.9c0.3,0,0.6,0.2,0.6,0.5v0c0,0.3-0.2,0.5-0.6,0.5H8.9c-0.3,0-0.6-0.2-0.6-0.5v0
C8.4,16.5,8.6,16.3,8.9,16.3z"/>
<path class="st2" d="M11.8,17.7H8.9c-0.5,0-0.9-0.4-0.9-0.9s0.4-0.9,0.9-0.9h2.9c0.5,0,0.9,0.4,0.9,0.9S12.3,17.7,11.8,17.7
z M8.9,16.6c-0.1,0-0.2,0.1-0.2,0.2S8.8,17,8.9,17h2.9c0.1,0,0.2-0.1,0.2-0.2s-0.1-0.2-0.2-0.2H8.9z"/>
</g>
</g>
</g>
<g id="人员组管理" transform="translate(0.000000, 1.500000)">
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 26 24" style="enable-background:new 0 0 26 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:#333333;}
.st1{fill:#FF4400;}
</style>
<title>在职中</title>
<g id="一手单小程序">
<g id="工具" transform="translate(-219.000000, -266.000000)">
<g id="编组-4" transform="translate(10.000000, 210.000000)">
<g id="地址本" transform="translate(199.666667, 56.000000)">
<g id="在职中"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4c0.1-0.1,0.3-0.2,0.4-0.2s0.3,0.1,0.4,0.2c0.1,0.1,0.2,0.3,0.2,0.4s-0.1,0.3-0.2,0.4l-5.4,4.8
C18.3,20.9,18.1,21,18,21z"/>
<path class="st1" d="M18,21.4L18,21.4c-0.3,0-0.5-0.1-0.7-0.3l-2.4-2.4c-0.4-0.4-0.4-1,0-1.4c0.4-0.4,1-0.4,1.4,0L18,19
l4.7-4.1c0.3-0.3,1-0.4,1.4,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-5.4,4.8C18.5,21.3,18.2,21.4,18,21.4L18,21.4z
M15.6,17.8c-0.1,0-0.1,0-0.1,0.1c-0.1,0.1-0.1,0.2,0,0.3l2.4,2.4c0,0,0.1,0.1,0.1,0.1c0.1,0,0.1,0,0.1-0.1l5.4-4.8
c0,0,0-0.1,0-0.1c0-0.1,0-0.1-0.1-0.1c-0.1-0.1-0.2-0.1-0.3,0L18,20.1l-2.2-2.2C15.7,17.8,15.6,17.8,15.6,17.8z"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -0,0 +1,446 @@
var formatDateYYYYMMDDHHMM = function (time) {
var date = getDate(time);
var m = date.getMonth() + 1;
if(m < 10) {
m = "0" + m;
}
var d = date.getDate();
if(d < 10) {
d = "0" + d;
}
var h = date.getHours();
if(h < 10) {
h = "0" + h;
}
var mm = date.getMinutes();
if(mm < 10) {
mm = "0" + mm;
}
return date.getFullYear() + '-' + m + '-' + d + ' ' + h + ':' + mm;
}
var formatDateYYYYMMDD = function (time) {
var date = getDate(time);
var m = date.getMonth() + 1;
if(m < 10) {
m = "0" + m;
}
var d = date.getDate();
if(d < 10) {
d = "0" + d;
}
return date.getFullYear() + '-' + m + '-' + d;
}
var formatDateYYYYMMDD2 = function (time) {
var date = getDate(time);
var m = date.getMonth() + 1;
if(m < 10) {
m = "0" + m;
}
var d = date.getDate();
if(d < 10) {
d = "0" + d;
}
return date.getFullYear() + '/' + m + '/' + d;
}
var formatDateMMSS = function (time) {
return (getDate(time).getHours() > 9 ? getDate(time).getHours() : '0' + getDate(time).getHours()) + ':' + (getDate(time).getMinutes() > 9 ? getDate(time).getMinutes() : '0' + getDate(time).getMinutes());
}
var showClockResult = function (confirmStatus, confirmReason) {
temp = "";
if (confirmStatus == 0) {
temp = "未出勤";
} else if (confirmStatus == 1) {
temp = "出勤半天";
} else if (confirmStatus == 2) {
temp = "出勤一天";
}
if (confirmReason == 0) {
temp = temp + " 休息";
} else if (confirmReason == 1) {
temp = temp + " 请假";
}
return temp;
}
var showClockResult2 = function (reason) {
temp = "未出勤 ";
if (reason == 0) {
temp += "休息";
} else if (reason == 1) {
temp += "请假";
}
return temp;
}
var showWorkState = function(followNewState, appraiserState) {
var res = "";
if (appraiserState === 0) {
res = "未鉴定";
} else if (appraiserState == 1) {
res = "待鉴定";
} else if (appraiserState == 2) {
res = "已鉴定";
}
var temp = "";
switch(followNewState) {
case 10 :
temp = "已预约";
break;
case 20 :
temp = "待面试";
break ;
case 30 :
temp = "待入职";
break ;
case 40 :
temp = "在职中";
break ;
case 50 :
temp = "已离职";
break ;
case 60 :
temp = "关闭期望";
break ;
default :
temp = res;
}
return temp;
}
showSourceName = function (intervieweeSource) {
var result = '';
switch (intervieweeSource) {
case 0 :
result = '58';
break;
case 5 :
result = '赶集';
break;
case 6 :
result = '打勾网预约';
break;
case 1 :
result = '推广军推荐';
break;
case 2 :
result = '御林军推荐';
break;
case 3 :
result = '会员推荐';
break;
case 4 :
result = '其它';
break;
default:
break;
}
return result;
}
initHopePositionType = function(type) {
var res = '';
if(isNotEmptyCheck(type)) {
switch (type) {
case 1 :
res = '全职';
break;
case 2 :
res = '兼职';
break;
case 3 :
res = '小时工';
break;
}
}
return res;
}
/**
* 如果是null '' 'null' 'undefined'
* @param item
* @returns
*/
function isEmptyCheck(value) {
if(value == null || value === '' || value == 'null' || typeof(value)=="undefined") {
return true;
}
return false;
}
/**
* 如果不是是null '' 'null' 'undefined'
* @param item
* @returns
*/
function isNotEmptyCheck(value) {
return !isEmptyCheck(value);
}
function showNotNullStr(value) {
return value == null ? '' : value;
}
function showNotNullNum(value) {
return value == null || value == '' ? 0 : value;
}
function showStoreAddress(township, distance) {
result = '';
if (!isEmptyCheck(township) && !isEmptyCheck(distance)) {
if (distance >= 1000) {
distance = distance / 1000;
return township + '·' + parseInt(distance) + '千米';
} else {
return township + '·' + distance + '米';
}
} else if (!isEmptyCheck(township) && isEmptyCheck(distance)) {
result = township;
} else if (isEmptyCheck(township) && !isEmptyCheck(distance)) {
if (distance >= 1000) {
distance = distance / 1000;
result = parseInt(distance) + '千米';
} else {
result = distance + '米';
}
}
return result;
}
function initDormType(_type) {
var temp = "";
switch (_type) {
case 0:
temp = "有宿舍";
break;
case 1:
temp = "男有宿舍";
break;
case 2:
temp = "女有宿舍";
break;
case 3:
temp = "无宿舍";
break;
}
return temp;
}
function timeago(timestamp) {
var mistiming = Math.round((getDate().getTime() - timestamp) / 1000);
var arrr = ['年', '个月', '天', '小时', '分钟', '秒'];
var arrn = [31536000, 2592000, 86400, 3600, 60, 1];
var str = "";
for (var i = 0; i < 6; ++i) {
var inm = Math.floor(mistiming / arrn[i]);
if(inm > 0) {
str = inm + arrr[i] + '前';
break;
} else if (inm < 0) {
str = '1秒前';
break;
}
}
if(str == "") {
str = '1秒前';
}
return str;
}
function timeafter(timestamp) {
var mistiming = Math.round((timestamp - getDate().getTime()) / 1000);
var arrr = ['年', '个月', '天', '小时', '分钟', '秒'];
var arrn = [31536000, 2592000, 86400, 3600, 60, 1];
var str = "";
for (var i = 0; i < 6; ++i) {
var inm = Math.floor(mistiming / arrn[i]);
if(inm > 0) {
str = inm + arrr[i] + '后';
break;
} else if (inm < 0) {
str = '1秒后';
break;
}
}
if(str == "") {
str = '1秒后';
}
return str;
}
function timeago4str(date) {
var reg = getRegExp("-", "g");
return timeago(getDate(date.replace(reg, "/")).getTime());
}
function showNum (_money, num) {
if (_money == null || _money == '' || typeof _money == 'undefined') {
return 0;
} else {
if (parseInt(_money) - _money != 0) {
if (num == 1) {
return parseInt(_money * 10) / 10.0;
} else if (num == 2) {
return parseInt(_money * 100) / 100.0;
} else {
return parseInt(_money);
}
} else {
return parseInt(_money);
}
}
}
/**
* 获取几天前、几小时前等格式(剩余|超时)
*/
function timeagoLater(timestamp) {
if(timestamp == '' || timestamp == null || timestamp == undefined) {
return '';
}
var str = "";
var arrr = ['年', '个月', '天', '小时', '分钟', '秒'];
var arrn = [31536000, 2592000, 86400, 3600, 60, 1];
if(getDate().getTime() - timestamp > 0) {
var mistiming = Math.round((getDate().getTime() - timestamp) / 1000);
for (var i = 0; i < 6; ++i) {
var inm = Math.floor(mistiming / arrn[i]);
if(inm > 0) {
// str = '超时' + (inm + arrr[i]);
// str = '已处理' + (inm + arrr[i]);
str = (inm + arrr[i]) + '前';
break;
} else if (inm < 0) {
str = '剩余' + (-inm + arrr[5 - i]);
//str = '1秒前';
break;
}
}
if(str == "") {
// str = '超时1秒';
// str = '已处理1秒';
str = '1秒前';
}
} else {
var mistiming = Math.round((timestamp - getDate().getTime()) / 1000);
for (var i = 0; i < 6; ++i) {
var inm = Math.floor(mistiming / arrn[i]);
if(inm > 0) {
str = '剩余' + (inm + arrr[i]);
break;
} else if (inm < 0) {
// str = '超时1秒';
// str = '已处理1秒';
str = '1秒前';
break;
}
}
if(str == "") {
// str = '超时1秒';
// str = '已处理1秒';
str = '1秒前';
}
}
return str;
}
/**
* 格式化距离
*/
function getDistanceNum(distance) {
if(distance == null || distance === '' || distance == 'null' || typeof(distance)=="undefined") {
return '';
}
if(distance < 1000) {
return distance + 'm';
} else if(distance == 99999999) {
return '';
} else {
var num = distance / 1000;
return num.toFixed(2) + 'km'
}
}
/**
* 按钮判断
*/
function btnShow(state,recruitment,slideButtons,slideButtons2,slideButtons3) {
if(recruitment == 1){ //已开招
return slideButtons
}else if(recruitment == 2 && state == 1){
return slideButtons2
}else if(state == 2){
return slideButtons3
}
}
/**
* endwith
*/
function spliceStr(str) {
return str.split('_')[1]
}
// 数字转汉字
function changeNum(index) {
console.log(index)
var str = ''
if (index == 0 || index == '' || index == '-') {
str = '一'
} else if (index == 1) {
str = '一'
} else if (index == 2) {
str = '二'
} else if (index == 3) {
str = '三'
} else if (index == 4) {
str = '四'
} else if (index == 5) {
str = '五'
} else if (index == 6) {
str = '六'
} else if (index == 7) {
str = '七'
} else if (index == 8) {
str = '八'
} else if (index == 9) {
str = '九'
}
return str
}
module.exports.spliceStr = spliceStr;
module.exports.timeagoLater = timeagoLater;
module.exports.timeago = timeago;
module.exports.timeago4str = timeago4str;
module.exports.formatDateYYYYMMDDHHMM = formatDateYYYYMMDDHHMM;
module.exports.formatDateYYYYMMDD = formatDateYYYYMMDD;
module.exports.formatDateYYYYMMDD2 = formatDateYYYYMMDD2;
module.exports.formatDateMMSS = formatDateMMSS;
module.exports.showClockResult = showClockResult;
module.exports.showClockResult2 = showClockResult2;
module.exports.showWorkState = showWorkState;
module.exports.showSourceName = showSourceName;
module.exports.initHopePositionType = initHopePositionType;
module.exports.isEmptyCheck = isEmptyCheck;
module.exports.isNotEmptyCheck = isNotEmptyCheck;
module.exports.showStoreAddress = showStoreAddress;
module.exports.showNotNullStr = showNotNullStr;
module.exports.showNotNullNum = showNotNullNum;
module.exports.initDormType = initDormType;
module.exports.showNum = showNum;
module.exports.getDistanceNum = getDistanceNum;
module.exports.btnShow = btnShow;
module.exports.changeNum = changeNum;

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="79.8547208px" height="66.3200596px" viewBox="0 0 79.8547208 66.3200596" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>编组 30</title>
<defs>
<path d="M22.7257233,6.54187835 L44.7104222,29.2316259 L44.7104222,29.2316259 L19.2893696,29.2316259 L19.2893696,7.9335996 C19.2893696,6.8290301 20.1848001,5.9335996 21.2893696,5.9335996 C21.8307479,5.9335996 22.3489995,6.153073 22.7257233,6.54187835 Z" id="path-1"></path>
<filter x="-11.8%" y="-0.2%" width="123.6%" height="111.7%" filterUnits="objectBoundingBox" id="filter-2">
<feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
<feOffset dx="-3" dy="-3" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
<feColorMatrix values="0 0 0 0 0.0907601387 0 0 0 0 0.444774683 0 0 0 0 0.444774683 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
</filter>
<path d="M4.27452311,18.2236725 L40.2745231,18.2236725 C45.7973706,18.2236725 50.2745231,22.700825 50.2745231,28.2236725 L50.2745231,45.7041083 C50.2745231,51.2269557 45.7973706,55.7041083 40.2745231,55.7041083 L14.2745231,55.7041083 C8.75167562,55.7041083 4.27452311,51.2269557 4.27452311,45.7041083 L4.27452311,18.2236725 L4.27452311,18.2236725 Z" id="path-3"></path>
<filter x="-6.5%" y="-8.0%" width="113.0%" height="116.0%" filterUnits="objectBoundingBox" id="filter-4">
<feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
<feOffset dx="-3" dy="-3" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
<feColorMatrix values="0 0 0 0 0.0907601387 0 0 0 0 0.444774683 0 0 0 0 0.444774683 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
</filter>
<path d="M6.39848073,6.38929355 L28.3831797,29.0790411 L28.3831797,29.0790411 L2.96212703,29.0790411 L2.96212703,7.78101479 C2.96212703,6.67644529 3.85755753,5.78101479 4.96212703,5.78101479 C5.50350531,5.78101479 6.0217569,6.00048819 6.39848073,6.38929355 Z" id="path-5"></path>
<filter x="-11.8%" y="-0.2%" width="123.6%" height="111.7%" filterUnits="objectBoundingBox" id="filter-6">
<feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
<feOffset dx="-3" dy="-3" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
<feColorMatrix values="0 0 0 0 0.258823529 0 0 0 0 0.411764706 0 0 0 0 0.874509804 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
</filter>
<path d="M7.46184701,12.6592194 L43.461847,12.6592194 C48.9846945,12.6592194 53.461847,17.1363719 53.461847,22.6592194 L53.461847,40.1396552 C53.461847,45.6625027 48.9846945,50.1396552 43.461847,50.1396552 L17.461847,50.1396552 C11.9389995,50.1396552 7.46184701,45.6625027 7.46184701,40.1396552 L7.46184701,12.6592194 L7.46184701,12.6592194 Z" id="path-7"></path>
<filter x="-6.5%" y="-8.0%" width="113.0%" height="116.0%" filterUnits="objectBoundingBox" id="filter-8">
<feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
<feOffset dx="-3" dy="-3" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
<feColorMatrix values="0 0 0 0 0.258823529 0 0 0 0 0.411764706 0 0 0 0 0.874509804 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
</filter>
</defs>
<g id="控件" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="编组-30" transform="translate(-6.7605, -12.7221)">
<rect id="矩形" x="0" y="0" width="92" height="92"></rect>
<g id="编组-29" transform="translate(6, 12)">
<g id="编组-27" transform="translate(9.2729, 0)">
<g id="矩形" transform="translate(31.9999, 16.1135) scale(-1, 1) rotate(16) translate(-31.9999, -16.1135)">
<use fill="#18C4C4" fill-rule="evenodd" xlink:href="#path-1"></use>
<use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
</g>
<g id="矩形" transform="translate(27.2745, 36.9639) scale(-1, 1) rotate(16) translate(-27.2745, -36.9639)">
<use fill="#18C4C4" fill-rule="evenodd" xlink:href="#path-3"></use>
<use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-3"></use>
</g>
<rect id="矩形" fill="#FFFFFF" transform="translate(35.7643, 35.8292) scale(-1, 1) rotate(16) translate(-35.7643, -35.8292)" x="33.3432655" y="29.5824374" width="4.84210526" height="12.4934786" rx="2"></rect>
<rect id="矩形备份-5" fill="#FFFFFF" transform="translate(22.9644, 39.4995) scale(-1, 1) rotate(16) translate(-22.9644, -39.4995)" x="20.5433071" y="33.2527664" width="4.84210526" height="12.4934786" rx="2"></rect>
</g>
<g id="编组-26" transform="translate(0, 11.5882)">
<g id="矩形" transform="translate(15.6727, 15.9609) rotate(-15) translate(-15.6727, -15.9609)">
<use fill="#7597FF" fill-rule="evenodd" xlink:href="#path-5"></use>
<use fill="black" fill-opacity="1" filter="url(#filter-6)" xlink:href="#path-5"></use>
</g>
<g id="矩形" transform="translate(30.4618, 31.3994) rotate(-15) translate(-30.4618, -31.3994)">
<use fill="#7597FF" fill-rule="evenodd" xlink:href="#path-7"></use>
<use fill="black" fill-opacity="1" filter="url(#filter-8)" xlink:href="#path-7"></use>
</g>
<rect id="矩形" fill="#FFFFFF" transform="translate(22.6003, 34.7994) rotate(-15) translate(-22.6003, -34.7994)" x="20.179199" y="28.5526262" width="4.84210526" height="12.4934786" rx="2"></rect>
<rect id="矩形备份-5" fill="#FFFFFF" transform="translate(35.4623, 31.353) rotate(-15) translate(-35.4623, -31.353)" x="33.0412639" y="25.1062463" width="4.84210526" height="12.4934786" rx="2"></rect>
</g>
<g id="编组-7" transform="translate(63.6612, 13.7813) rotate(-9) translate(-63.6612, -13.7813)translate(47.9506, 2.7813)">
<path d="M1.9089086,3.43749931 L27.6541222,0.248398695 C28.7503136,0.112611715 29.7490295,0.891173361 29.8848165,1.9873648 C29.885657,1.99415034 29.8864627,2.00094013 29.8872336,2.00773393 L31.1984493,13.5632469 C31.3219472,14.6516124 30.5469971,15.6368334 29.4601672,15.7731854 L13.1301625,17.8219229 C12.6409608,17.8832974 12.1916683,18.1232072 11.8685391,18.4955949 L9.55217195,21.1650746 C9.1902124,21.5822122 8.55862941,21.6269428 8.14149187,21.2649832 C8.11629317,21.2431177 8.09220449,21.2200049 8.06931621,21.1957314 L6.45239292,19.480953 C6.07451204,19.080203 5.54808269,18.8530381 4.99727009,18.8530381 L3.12011775,18.8530381 C2.08079356,18.8530381 1.21467352,18.0569804 1.12721195,17.0213428 L0.161866875,5.59063418 C0.0714673563,4.52020808 0.84282007,3.56955739 1.9089086,3.43749931 Z" id="路径" fill="#FC9C66"></path>
<g id="HI!" transform="translate(14.5057, 9.8989) rotate(-7) translate(-14.5057, -9.8989)translate(6.3053, 5.3248)" fill="#FFFFFF" fill-rule="nonzero">
<path d="M7.93377483,1.66855621e-14 C7.97792494,1.26923077 8,2.74260355 8,4.42011834 C8,6.07988166 7.97792494,7.55325444 7.93377483,8.84023669 L5.57615894,9 C5.52317881,7.77514793 5.49668874,6.5147929 5.49668874,5.21893491 C4.64900662,5.31656805 3.64679912,5.40532544 2.49006623,5.4852071 C2.4812362,6.56804734 2.45916115,7.68639053 2.42384106,8.84023669 L0.0794701987,9 C0.0264900662,7.5887574 2.67147147e-14,6.12426036 2.67147147e-14,4.60650888 C2.67147147e-14,3.07100592 0.0264900662,1.59763314 0.0794701987,0.186390533 L2.42384106,1.66855621e-14 C2.45916115,1.13609467 2.4812362,2.25 2.49006623,3.34171598 C3.34657837,3.24408284 4.34878587,3.15976331 5.49668874,3.0887574 C5.50551876,2.1035503 5.53200883,1.13609467 5.57615894,0.186390533 L7.93377483,1.66855621e-14 Z" id="路径"></path>
<path d="M12.2263431,0.00693809884 C12.2621854,1.2440515 12.2801066,2.71091453 12.2801066,4.4075272 C12.2801066,6.10413987 12.2621854,7.5710029 12.2263431,8.8081163 L10.3446227,9.0069381 C10.301612,7.60193074 10.2801066,6.12181291 10.2801066,4.56658464 C10.2801066,2.97601026 10.301612,1.51798375 10.3446227,0.192505109 L12.2263431,0.00693809884 Z" id="路径"></path>
<path d="M14.6682326,5.78151007 C14.5597055,4.49137752 14.5054419,3.07311537 14.5054419,1.52672362 L14.5054419,0.174735399 L16.3891628,0.148225826 L16.4007907,0.930258227 C16.4007907,2.54734217 16.3193954,4.16442612 16.1566047,5.78151007 L14.6682326,5.78151007 Z M15.4007907,9.14822583 C15.121721,9.14822583 14.8852868,9.03776927 14.6914884,8.81685616 C14.4976899,8.59594306 14.4007907,8.3220108 14.4007907,7.9950594 C14.4007907,7.66810801 14.4976899,7.39859401 14.6914884,7.18651743 C14.8775349,6.96560432 15.113969,6.85514777 15.4007907,6.85514777 C15.6798605,6.85514777 15.9162946,6.96560432 16.110093,7.18651743 C16.3038915,7.40743054 16.4007907,7.67694453 16.4007907,7.9950594 C16.4007907,8.30433776 16.3038915,8.57827001 16.110093,8.81685616 C15.9007907,9.03776927 15.6643566,9.14822583 15.4007907,9.14822583 Z" id="形状"></path>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

33
package-lock.json generated

@ -0,0 +1,33 @@
{
"name": "matripeorder",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@miniprogram-component-plus/tabs": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@miniprogram-component-plus/tabs/-/tabs-1.0.0.tgz",
"integrity": "sha512-oV9dFpIoYAz0IbDECS9toS1GHivWoAd1cchxeZKCBV3PoPCEipHOeXQS3K2USr7EY8LDyfg3f0tDAacPfagYjg=="
},
"miniprogram-slide-view": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/miniprogram-slide-view/-/miniprogram-slide-view-0.0.4.tgz",
"integrity": "sha512-OGE9a13pM297+ZzcbGFuE8QDzVgX4hZ75nPGw9yPmdjLXRMZUvEE3NA+RnRe1mQ1AnJNcf5BLRnJkEMPucYoTw=="
},
"mp-html": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/mp-html/-/mp-html-2.3.0.tgz",
"integrity": "sha512-vHoVrp6FhGaK/Y/9VPk/q1ou6+xNlGFC3g2QGkjTa4HJegdwl63lm/gXEp4/AN/4ns4sjMSlLB0eImvjR/jQcA=="
},
"weui-miniprogram": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/weui-miniprogram/-/weui-miniprogram-1.2.4.tgz",
"integrity": "sha512-AB/gGPgTJJ0vHxQQNfAwxK4JPjwV+BNGgKSxD7qyI2tLgAfZFqFyx7fPJkfOBYTYJdg38ZPA78YHIgYTyWuGEA=="
},
"wxml2canvas": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/wxml2canvas/-/wxml2canvas-1.0.1.tgz",
"integrity": "sha512-AdWvxgTjJtW/m6Cki1cwGO0HOERKU8O9V3RcCz8UyqJbrPF7e8Nv27/epYiIs64HlbPTKWTLl7ECjQi6UVducA=="
}
}
}

@ -0,0 +1,22 @@
{
"name": "matripeorder",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "http://zsk@47.95.113.45:19998/r/matripe/minapp/zhuchangtong.git"
},
"author": "",
"license": "ISC",
"dependencies": {
"@miniprogram-component-plus/tabs": "^1.0.0",
"miniprogram-slide-view": "0.0.4",
"mp-html": "^2.3.0",
"weui-miniprogram": "^1.2.4",
"wxml2canvas": "^1.0.1"
}
}

@ -0,0 +1,442 @@
const app = getApp()
import { isEmptyCheck } from "../../utils/commonUtil";
// pages/addAddress/index.js
Page({
/**
* 页面的初始数据
*/
data: {
multiSelected: false,
multiIndex: [0, 0, 0],
multiIndexTemp: [0, 0, 0],
// multiArray: [['无脊柱动物', '脊柱动物'], ['扁性动物', '线形动物', '环节动物', '软体动物', '节肢动物'], ['猪肉绦虫', '吸血虫']],
multiArray: [[], [], []],
multiArrayTemp: [[], [], []],
multiArrayRecord: [[], [], []],
title:'添加地址',
btnLoading: false,
address: {
contacts: '',
contactsTel: '',
},
addressClassify: '',
addressStr: '',
recordId: '',
// provinceId: '',
// cityId: '',
// districtId: '',
},
getProvinceByPid: function() {
var that = this;
wx.request({
url: app.globalData.ip + '/city/getProvince',
data: {},
header: app.globalData.header,
method: "POST",
success: function (res) {
console.log(res);
if (res.data.status == 200) {
that.data.multiArrayRecord[0] = [{id: -1, name: '请选择'}].concat(res.data.data);
var nameArray = ['请选择'];
res.data.data.forEach((item, index) => {
nameArray.push(item.name);
});
that.data.multiArrayTemp[0] = nameArray;
that.setData({
multiArrayTemp: that.data.multiArrayTemp,
});
//如果有省市回显处理
if (app.isNotEmptyCheck(that.data.address.provinceId) && app.isNotEmptyCheck(that.data.address.cityId) && app.isNotEmptyCheck(that.data.address.districtId)) {
that.data.multiArrayRecord[0].forEach((item, index) => {
if (item.id == that.data.address.provinceId) {
that.data.multiIndex[0] = index;
}
});
that.setData({
multiArray: that.data.multiArrayTemp,
multiIndex: that.data.multiIndex,
multiIndexTemp: that.data.multiIndex,
});
that.getCityByPid2(1, that.data.address.provinceId);
}
} else {
app.showTips(that, res.data.msg);
}
}
})
},
bindMultiPickerChange: function (e) {
console.log('picker发送选择改变携带值为', e.detail.value)
var that = this;
var multiSelected = false;
if (e.detail.value[0] > 0 && e.detail.value[1] > 0 && e.detail.value[2] > 0) {
multiSelected = true;
}
this.setData({
multiIndex: e.detail.value,
multiSelected: multiSelected,
multiArray: that.data.multiArrayTemp,
})
},
bindMultiPickerColumnChange: function (e) {
console.log('修改的列为', e.detail.column, ',值为', e.detail.value);
var that = this;
if (e.detail.column == 0) {
that.data.multiIndexTemp[0] = e.detail.value;
that.data.multiIndexTemp[1] = 0;
that.data.multiIndexTemp[2] = 0;
that.data.multiArrayTemp[1] = [];
that.data.multiArrayTemp[2] = [];
this.setData({
multiIndexTemp: that.data.multiIndexTemp,
multiArrayTemp: that.data.multiArrayTemp,
})
}
if (e.detail.column < 2) {
this.getCityByPid(e.detail.column, e.detail.value);
}
},
getCityByPid: function (column, value) {
var that = this;
// var pid = that.data.userDetails.bankProvinceCode;
var pid = that.data.multiArrayRecord[column][value].id;
wx.request({
url: app.globalData.ip + '/city/getCityByPid',
data: {
pid: pid
},
header: app.globalData.header,
method: "POST",
success: function (res) {
console.log(res);
if (res.data.status == 200) {
that.data.multiArrayRecord[column+1] = [{id: -1, name: '请选择'}].concat(res.data.data);
var nameArray = ['请选择'];
res.data.data.forEach((item, index) => {
nameArray.push(item.name);
});
that.data.multiArrayTemp[column+1] = nameArray;
that.setData({
multiArrayTemp: that.data.multiArrayTemp
});
} else {
app.showTips(that, res.data.msg);
}
}
})
},
getCityByPid2: function (column, pid) {
var that = this;
wx.request({
url: app.globalData.ip + '/city/getCityByPid',
data: {
pid: pid
},
header: app.globalData.header,
method: "POST",
success: function (res) {
console.log(res);
if (res.data.status == 200) {
that.data.multiArrayRecord[column] = [{id: -1, name: '请选择'}].concat(res.data.data);
var nameArray = ['请选择'];
res.data.data.forEach((item, index) => {
nameArray.push(item.name);
});
that.data.multiArrayTemp[column] = nameArray;
that.data.multiArrayRecord[column].forEach((item, index) => {
if (column == 1 && item.id == that.data.address.cityId) {
that.data.multiIndex[column] = index;
} else if (column == 2 && item.id == that.data.address.districtId) {
that.data.multiIndex[column] = index;
}
});
that.setData({
multiArray: that.data.multiArrayTemp,
multiArrayTemp: that.data.multiArrayTemp,
multiIndex: that.data.multiIndex,
multiIndexTemp: that.data.multiIndex,
});
if (column == 1) {
that.getCityByPid2(2, that.data.address.cityId);
}
} else {
app.showTips(that, res.data.msg);
}
}
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
if(!isEmptyCheck(options.id)){
this.data.recordId = options.id;
this.data.title = '修改地址';
this.getDetail();
} else {
this.getProvinceByPid();
}
wx.setNavigationBarTitle({
title:this.data.title
})
},
selectAddressClassify:function(e){
var that = this;
var classify = e.currentTarget.dataset.classify;
console.log(classify);
that.setData({
addressClassify: classify
});
},
getDetail() {
var that = this;
wx.request({
url: app.globalData.ip + "/user/address/getUserAddressDetail?id=" + that.data.recordId,
method: "GET",
header: app.globalData.header,
data: {
},
success: function(res) {
console.log(res);
if (app.isNotEmptyCheck(res.data.data)) {
that.setData({
address: res.data.data,
addressClassify: res.data.data.classify,
addressStr: res.data.data.address,
});
if (app.isNotEmptyCheck(res.data.data.provinceId) && app.isNotEmptyCheck(res.data.data.cityId) && app.isNotEmptyCheck(res.data.data.districtId)) {
that.setData({
multiSelected: true,
});
}
that.getProvinceByPid();
}
}
});
},
onSubmit(e) {
console.log(e);
var that = this;
that.setData({
btnLoading: true
});
if (app.isEmptyCheck(e.detail.value.contacts)) {
wx.showToast({
icon: "none",
title: "请输入姓名",
duration: 3000
});
that.setData({
btnLoading: false
});
return;
}
var myreg = /^[1][3456789][0-9]{9}$/;
if (!myreg.test(e.detail.value.contactsTel) || e.detail.value.contactsTel == "") {
wx.showToast({
icon: "none",
title: "请输入正确手机号",
duration: 3000
});
that.setData({
btnLoading: false
});
return;
}
if (that.data.multiIndex[0] == 0 || that.data.multiIndex[1] == 0 || that.data.multiIndex[2] == 0) {
wx.showToast({
icon: "none",
title: "请选择详细地区",
duration: 3000
});
that.setData({
btnLoading: false
});
return;
}
if (app.isEmptyCheck(e.detail.value.address)) {
wx.showToast({
icon: "none",
title: "请输入详细地址",
duration: 3000
});
that.setData({
btnLoading: false
});
return;
}
if (app.isEmptyCheck(that.data.addressClassify)) {
wx.showToast({
icon: "none",
title: "请选择标签",
duration: 3000
});
that.setData({
btnLoading: false
});
return;
}
var formData = e.detail.value;
formData['id'] = that.data.recordId;
formData['classify'] = that.data.addressClassify;
if (that.data.multiIndex[0] > 0 && that.data.multiIndex[1] > 0 && that.data.multiIndex[2] > 0) {
formData['provinceId'] = that.data.multiArrayRecord[0][that.data.multiIndex[0]].id;
formData['cityId'] = that.data.multiArrayRecord[1][that.data.multiIndex[1]].id;
formData['districtId'] = that.data.multiArrayRecord[2][that.data.multiIndex[2]].id;
} else {
wx.showToast({
icon: "none",
title: "请选择地区",
duration: 3000
});
}
console.log(formData);
that.setData({
btnLoading: false
});
wx.request({
url: app.globalData.ip + "/user/address/addOrUpdateUserAddress",
method: "POST",
header: app.globalData.header,
data: formData,
success: function (res) {
console.log(res);
if (res.data.status == 200) {
wx.navigateBack({
delta: 1
})
} else {
wx.showToast({
icon: "none",
title: res.data.msg,
duration: 2000
});
that.setData({
btnLoading: false
});
}
}
});
},
chooseMap:function(){
var that = this;
console.log("1111111");
wx.chooseLocation({
success: function (res) {
console.log("res",res)
that.data.addressStr = res.name;
that.setData({
addressStr: that.data.addressStr
})
}
})
},
goAddAddress:function(){
wx.navigateTo({
url: '/pages/addressBook/index',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText": "添加地址"
}

@ -0,0 +1,52 @@
<form bindsubmit='onSubmit'>
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells weui-cells_form">
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">姓名</label></view>
<view class="weui-cell__bd">
<input name='contacts' type="text" value="{{address.contacts}}" class="weui-input tr" placeholder="请输入姓名" placeholder-class="weui-input__placeholder" />
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">手机号</label></view>
<view class="weui-cell__bd">
<input name='contactsTel' type="number" value="{{address.contactsTel}}" class="weui-input tr" placeholder="请输入手机号" placeholder-class="weui-input__placeholder" />
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">地区</label></view>
<view class="weui-cell__bd">
<!-- <input class="weui-input tr" placeholder="请选择地区" placeholder-class="weui-input__placeholder" /> -->
<picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndexTemp}}" range="{{multiArrayTemp}}">
<view class="picker tr">
<view wx:if="{{multiSelected}}" style="text-align: left; display: inline-block">{{multiArray[0][multiIndex[0]]}}{{multiArray[1][multiIndex[1]]}}{{multiArray[2][multiIndex[2]]}}</view>
<view wx:else style="text-align: left; display: inline-block;color: #b2b2b2;">请选择地区</view>
</view>
</picker>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">详细地址</label></view>
<view class="weui-cell__bd tr">
<textarea name='address' value="{{addressStr}}" class="weui-textarea" placeholder="请输入详细地址" style="height:auto;min-height:22px;" placeholder-class="weui-input__placeholder" auto-height="true"></textarea>
</view>
<view>
<i class="iconfont icon-dingwei pl8" bindtap="chooseMap" style="padding: 16px;"></i>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">标签</label></view>
<view class="weui-cell__bd tr">
<view bindtap="selectAddressClassify" data-classify="0" class="adTag {{addressClassify == 0 && addressClassify != '' && addressClassify != null ? 'active' : ''}}">家</view>
<view bindtap="selectAddressClassify" data-classify="1" class="adTag {{addressClassify == 1 ? 'active' : ''}}">公司</view>
<view bindtap="selectAddressClassify" data-classify="2" class="adTag {{addressClassify == 2 ? 'active' : ''}}">其它</view>
</view>
</view>
</view>
</view>
<button type='primary' formType='submit' disabled='{{btnLoading}}' class="loginOut" style="font-weight:400;margin-top:70px;margin-bottom:30px;">
保存
</button>
</form>

@ -0,0 +1,18 @@
@import "/pages/login/index.wxss";
.adTag{
width: 60px;
height: 28px;
border: 1px solid #e2e2e2;
border-radius: 25px;
text-align: center;
font-size: 14px;
color: #333;
line-height: 28px;
display: inline-block;
margin-left: 12px;
}
.adTag.active{
background: #027aff;
color: #fff;
border: 1px solid #027aff;
}

@ -0,0 +1,66 @@
// pages/addCard/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText": "银行卡"
}

@ -0,0 +1,8 @@
<view class="p10">
<view class="bgTest va-center">
<image src="http://matripe.oss-cn-beijing.aliyuncs.com/dagouAgency/wx.png" style="width:46px;height:46px;margin-left:20px;"></image>
<text class="cardName">微信零钱</text>
</view>
<view class="tc f14 c9" style="margin-top:30px;">暂时仅支持绑定“微信零钱”账户(可用于提现)</view>
</view>

@ -0,0 +1,16 @@
.bgTest {
background-image: url('//matripe.oss-cn-beijing.aliyuncs.com/dagouAgency/bg.png');
width: 100%;
height: 90px;
background-size: cover;
border-radius: 8px;
overflow: hidden;
}
.cardName {
font-size: 18px;
font-weight: 601;
color: #ffffff;
line-height: 26px;
margin-left: 12px;
}

@ -0,0 +1,73 @@
// pages/addCircle/index.js
Page({
/**
* 页面的初始数据
*/
data: {
files:[{id:1,url:'https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png'},{id:1,url:'https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png'},{id:1,url:'https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png'}],
value:`男18-54周岁不要求文化不查纹身黑户案底
&#10084员工20元/(不满月18元/)不满7天无工资每月25号发工资
&#10084免费工作餐白班满12小时包两餐计11小时夜班12小时包一餐计11.5小时包住宿水电费自理住宿4人间独立卫生间空调热水一应俱全
厂内外都有住宿厂外住宿步行10分钟
&#127752汽车配件厂做车窗车门(冲压工悬挂焊工数控操作工)
&#127752两班倒早8:00-晚20:00
&#10084备注`
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText": "发表通告圈"
}

@ -0,0 +1,50 @@
<view class="p16" style="padding-bottom: 0;">
<textarea class="weui-textarea f14" type="text" maxlength="-1" placeholder="请输入内容" cursor-spacing="100" placeholder-class="weui-input__placeholder" disable-default-padding auto-height value="{{value}}" bindlinechange="textareaFocus" style="white-space: pre-line;min-height: 120px;" id="textareawrap" name="textarea"></textarea>
</view>
<view class="weui-cells__group weui-cells__group_form" style="margin-top: 10px;">
<view class="weui-cells weui-cells_form noTopBorder">
<view class="weui-cell" style="display: block;padding-right: 0;padding-left: 16px;">
<!-- <view class="weui-cell__hd"><label class="weui-label c6 f16">上传附件</label></view> -->
<view class="weui-cell__bd1">
<view class="weui-uploader__bd">
<view class="weui-uploader__files" id="uploaderFiles">
<block wx:for="{{files}}" wx:key="*this">
<view class="weui-uploader__file pr" bindtap="previewImage" id="{{item}}">
<image src="https://matripe.oss-cn-beijing.aliyuncs.com/nezha/del.svg" data-id="{{item.id}}" data-url="{{item.url}}" catchtap="delImgs" class="delImg" style="width:20px;height: 20px;"></image>
<image catchtap="showImgs" mark:url='{{item.url}}' class="weui-uploader__img" src="{{item.url}}" mode="aspectFill" />
</view>
</block>
</view>
<view class="weui-uploader__input-box">
<view class="weui-uploader__input" bindtap="chooseMedia"></view>
</view>
</view>
</view>
<view class="clb"></view>
</view>
</view>
</view>
<!--
<view class="mt12 p016" style="padding-right: 4px;">
<image src="https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png" class="imgs"></image>
<image src="https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png" class="imgs"></image>
<image src="https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png" class="imgs"></image>
<image src="https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png" class="imgs"></image>
<image src="https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png" class="imgs"></image>
<image src="https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png" class="imgs"></image>
<image src="https://matripe.oss-cn-beijing.aliyuncs.com/img/logo-01.png" class="imgs"></image>
</view>
-->
<view class="btmFix display-flex" style="justify-content: center;">
<view class="" style="margin-right: 20px;">
<button class="resetBtn" style="font-weight: 400" mark:ind='{{10}}' bindtap="showForm">取消</button>
</view>
<view class="">
<button type="primary" class="loginOut" bindtap="chexiaoTap" hover-class="behover" style="font-weight: 400">发表</button>
</view>
</view>

@ -0,0 +1,43 @@
@import "../announceDetail/index.wxss";
page{
background-color: #fff;
}
.imgs{
width: calc(25vw - 17px);
height: calc(25vw - 17px) ;
border-radius:4px;margin-right: 12px;margin-bottom: 8px;
}
.weui-uploader__input-box:before {
width: 2px;
height: 24px;
}
.weui-uploader__input-box:after {
width: 24px;
height: 2px;
}
.weui-uploader__img{
border-radius: 4px;
}
.weui-uploader__file .delImg{
position: absolute;
right: -6px;
top:-6px;
z-index: 99;
}
.weui-uploader__bd{
overflow: inherit;
}
.weui-uploader__file,
.weui-uploader__input-box {
/* width: calc((100vw - 105px - 40px) / 3);
height: calc((100vw - 105px - 40px) / 3); */
border-radius: 4px;
width: calc(25vw - 17px);
height: calc(25vw - 17px) ;
margin-right: 11px;
}
.weui-cells.noTopBorder:before {
border-top: 0;
}

@ -0,0 +1,66 @@
// pages/addResume/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText":"我的简历"
}

@ -0,0 +1,11 @@
<view class="p10">
<view class="p2010 bgf display-flex br8">
<view class="flex-1">
<view class="f22 fw500">张姆斯</view>
<view class="f16 c9">工作8年·本科</view>
</view>
<view>
<image src="//matripe.oss-cn-beijing.aliyuncs.com/defaultAva.png" style="width:50px;height:50px;border-radius:50%;"></image>
</view>
</view>
</view>

@ -0,0 +1 @@
/* pages/addResume/index.wxss */

@ -0,0 +1,66 @@
// pages/addUserCard/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText": "证件"
}

@ -0,0 +1,6 @@
<view class="p10">
<navigator url="/pages/makeInfo/index" class="addcard v-center" hover-class="thover">
<i class="iconfont icon-tianjia mr8"></i>
添加身份证
</navigator>
</view>

@ -0,0 +1,12 @@
page{
background-color: #fff;
}
.addcard{
background-color:rgba(2,122,255,0.1);
border-radius: 8px;
height: 80px;
font-size: 20px;
font-weight: 601;
color: #027aff;
line-height: 26px;
}

@ -0,0 +1,169 @@
// pages/addressBook/index.js
var app = getApp();
Page({
/**
* 页面的初始数据
*/
data: {
items: [
{value: '1', name: '设为默认'},
{value: '2', name: '已设为默认', checked: 'true'},
{value: '3', name: '设为默认'},
],
hasAddress: false,
recordList: [],
},
getList() {
var that = this;
wx.request({
url: app.globalData.ip + "/user/address/getUserAddressList",
method: "POST",
header: app.globalData.header,
data: that.data.searchForm,
success: function(res) {
console.log(res);
if (app.isNotEmptyCheck(res.data.data)) {
that.setData({
recordList: res.data.data,
hasAddress: true
});
} else {
that.setData({
recordList: [],
hasAddress: false
});
}
}
});
},
radioChange(e) {
console.log('radio发生change事件携带value值为', e.detail.value)
var that = this;
that.data.recordList.forEach(item => {
item.defaultFlag = 0;
if (item.id == e.detail.value) {
item.defaultFlag = 1;
}
});
this.setData({
recordList: that.data.recordList
})
wx.request({
url: app.globalData.ip + "/user/address/updateDefaultFlag",
method: "POST",
header: app.globalData.header,
data: {
id: e.detail.value,
defaultFlag: 1,
},
success: function(res) {
console.log(res);
}
});
},
addAddress:function(){
wx.navigateTo({
url: '/pages/addAddress/index',
})
},
delAddress:function(e){
var that = this;
var record = e.currentTarget.dataset.record;
console.log(record);
wx.showModal({
title: '提示',
content: '确定要删除该地址吗?',
cancelColor:"#666666",
confirmColor:"#027AFF",
success (res) {
if (res.confirm) {
console.log('用户点击确定')
wx.request({
url: app.globalData.ip + "/user/address/deleteUserAddress",
method: "POST",
header: app.globalData.header,
data: {
id: record.id
},
success: function(res) {
console.log(res);
that.getList();
}
});
} else if (res.cancel) {
console.log('用户点击取消')
}
}
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
this.getList();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText": "地址本"
}

@ -0,0 +1,49 @@
<view class="p10">
<block>
<view class="tc" wx:if="{{!hasAddress}}">
<i class="t-icon t-icon-dizhi" style=" width: 92px;height: 92px;margin-top: 90px;"></i>
<view class="mt20 cccc">暂无收货地址</view>
</view>
</block>
<block wx:if="{{hasAddress}}">
<radio-group bindchange="radioChange">
<view class="p10 bgf br8 mb10" wx:for="{{recordList}}" wx:key="{{item.id}}">
<view class="display-flex bb1 pb16">
<view class="flex-1 c3">{{item.contacts}}{{item.contactsTel}}
<view class="dib mt8">{{item.provinceName}} {{item.cityName}} {{item.districtName}} {{item.address}}</view>
</view>
<view wx:if="{{item.classify == 0}}" class="f12" style="color:#4db54b;">
<i class="iconfont icon-jia f12"></i>
</view>
<view wx:if="{{item.classify == 1}}" class="f12" style="color:#027AFF;">
<i class="iconfont icon-gongsi f12"></i>
公司
</view>
<view wx:if="{{item.classify == 2}}" class="f12" style="color:#FD3D33;">
<i class="iconfont icon-xuexiao f12"></i>
其他
</view>
</view>
<view class="mt12">
<radio value="{{item.id}}" checked="{{item.defaultFlag == 1}}" color="#027AFF" style="transform: scale(0.7);"/>
<text class="f14 {{item.defaultFlag == 1 ? 'cf00' : 'c9'}}">{{item.defaultFlag == 1 ? '已设为默认' : '设为默认'}}</text>
<view class="fr f14 c9">
<navigator url="/pages/addAddress/index?id={{item.id}}" class="dib" hover-class="text-hover">修改</navigator>
<view class="ml20 dib" hover-class="text-hover" bindtap="delAddress" data-record="{{item}}">删除</view>
</view>
</view>
</view>
</radio-group>
</block>
<button type='primary' class="loginOut" style="margin-top:80px;margin-bottom:40px;" catchtap="addAddress">
添加地址
</button>
</view>

@ -0,0 +1,6 @@
page{
background-color: #f5f5f5;
}
.text-hover{
color: #666;
}

@ -0,0 +1,102 @@
// pages/addressPage/index.js
var QQMapWX = require("../../utils/qqmap-wx-jssdk.min.js");
var qqmapsdk;
Page({
/**
* 页面的初始数据
*/
data: {
addressList: {
storeAddress: {},
meetingAddress: {},
interviewAddress: {},
},
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
qqmapsdk = new QQMapWX({
key: "5PTBZ-YI7C6-MZGS3-ES7QN-4T5O2-EJFVR",
});
console.log(wx.getStorageSync("addressList"));
let data = wx.getStorageSync("addressList");
this.data.addressList["storeAddress"] = { color: "#027AFF", icon: "icon-qiye", name: "企业地址", addresss: data.store.detailPosition, lat: data.store.lat, lng: data.store.lng };
this.data.addressList["meetingAddress"] = { color: "#FF4400", icon: "icon-mianshi", name: "面试地址", addresss: data.storeJob.meettingAddr, lat: data.storeJob.meettingLat, lng: data.storeJob.meettingLng };
this.data.addressList["interviewAddress"] = { color: "#4DB54B", icon: "icon-jieren", name: "接人地址", addresss: data.storeJob.interviewAddr, lat: data.storeJob.interviewLat, lng: data.storeJob.interviewLng };
this.setData({
addressList: this.data.addressList,
});
console.log(this.data.addressList);
},
toMap(e) {
wx.showLoading({
title: "加载中",
});
console.log(e);
let address = e.currentTarget.dataset.info.address;
let lat = e.currentTarget.dataset.info.lat;
var formatted_addresses = "";
qqmapsdk.reverseGeocoder({
location: `${e.currentTarget.dataset.info.lat ? e.currentTarget.dataset.info.lat : "39.909115"},${e.currentTarget.dataset.info.lng ? e.currentTarget.dataset.info.lng : "116.397407"}`,
success: function (res) {
console.log(res);
formatted_addresses = res.result.formatted_addresses.recommend;
},
});
console.log(formatted_addresses);
console.log(lat);
// 注释
// wx.getLocation({
// type: "gcj02", //返回可以用于wx.openLocation的经纬度
// success(res) {
// wx.openLocation({
// latitude: e.currentTarget.dataset.info.lat ? e.currentTarget.dataset.info.lat - 0 : 39.909115,
// longitude: e.currentTarget.dataset.info.lng ? e.currentTarget.dataset.info.lng - 0 : 116.397407,
// name: formatted_addresses,
// address: address ? address : "",
// scale: 8,
// });
// },
// complete(res) {
// wx.hideLoading();
// console.log(1123213);
// },
// });
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {},
/**
* 生命周期函数--监听页面显示
*/
onShow() {},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {},
});

@ -0,0 +1,4 @@
{
"usingComponents": {},
"navigationBarTitleText":"地址导航"
}

@ -0,0 +1,13 @@
<!-- pages/addressPage/index.wxml -->
<view class="pageIn">
<view class="subset" hover-class="none" hover-stop-propagation="false" wx:for='{{addressList}}' wx:key='index'>
<view class="title display-flex fw500">
<view class="iconfont {{item.icon}}" style="color:{{item.color}};margin-left: 10px;"></view>
{{item.name}}
</view>
<view class="navigator display-flex" bindtap='toMap' data-info='{{item}}'>
{{item.addresss ? item.addresss : '-'}}
<view class="iconfont icon-gengduo1"></view>
</view>
</view>
</view>

@ -0,0 +1,29 @@
/* pages/addressPage/index.wxss */
.pageIn {
padding: 0 10px;
}
.subset {
margin-top: 16px;
}
.subset .title .iconfont {
font-weight: lighter;
font-size: 18px;
line-height: 26px;
margin-right: 8px;
}
.navigator {
display: flex;
align-items: center;
justify-content: space-between;
width: calc(100vw - 40px);
min-height: 76px;
padding: 0px 10px;
margin-top: 8px;
border-radius: 6px;
background-color: #fff;
}
.navigator .icon-gengduo1 {
color: #999;
margin-left: 15px;
}

@ -0,0 +1,234 @@
// pages/agentData/index.js
const app = getApp();
const dateUtil = require('../../utils/dateUtil.js');
const commonUtil = require('../../utils/commonUtil.js');
Page({
/**
* 页面的初始数据
*/
data: {
week: null,
arrayWeek: [],
indexWeek: 0,
arrayMonth: [],
indexMonth: 0,
currIndex: '1',
date: '',
today:'',
recordList: [],
dataLoading:false
},
bindPickerChangeWeek: function(e) {
console.log('picker发送选择改变携带值为', e.detail.value)
this.setData({
indexWeek: e.detail.value
})
this.getRecordList();
},
bindPickerChangeMonth: function(e) {
console.log('picker发送选择改变携带值为', e.detail.value)
this.setData({
indexMonth: e.detail.value
})
this.getRecordList();
},
bindDateChange: function(e) {
console.log('picker发送选择改变携带值为', e.detail.value)
this.setData({
date: e.detail.value
})
this.getRecordList();
},
changeMenu(e) {
var that = this;
wx.showLoading({
title: '加载中...',
})
this.setData({
currIndex: e.currentTarget.dataset.id,
dataLoading:false
})
this.getRecordList();
},
onLoad: function (options) {
var date = dateUtil.getNowYearMonthDay();
wx.showLoading({
title: '加载中...',
})
this.setData({
date: date
});
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
console.log(dateUtil.getNowYearMonthDay());
this.setData({
date:dateUtil.getNowYearMonthDay(),
today:dateUtil.getNowYearMonthDay()
})
this.getRecordList();
this.getWeekNumNow();
this.getMonthNumNow();
},
getRecordList: function () {
var that = this;
wx.showLoading({
title: '加载中...',
})
var url = '/agency/promotionDetail/getPmdAgencyNumStatisticsOfDay';
if (that.data.currIndex == 2) {
url = '/agency/promotionDetail/getPmdAgencyNumStatisticsOfWeek';
} else if (that.data.currIndex == 3) {
url = '/agency/promotionDetail/getPmdAgencyNumStatisticsOfMonth';
}
var dataJson = {
pageNum: 1,
pageSize: 100,
}
if (that.data.currIndex == 1) {
dataJson['date'] = that.data.date;
} else if (that.data.currIndex == 2) {
dataJson['week'] = that.data.indexWeek * 1 + 1;
} else if (that.data.currIndex == 3) {
dataJson['month'] = that.data.indexMonth * 1 + 1;
}
wx.request({
url: app.globalData.ip + url,
data: dataJson,
header: app.globalData.header,
method: "POST",
success: function (res) {
console.log(res.data);
if (res.data.status == 200) {
res.data.data.forEach((item, index) => {
var str = '';
if (app.isNotEmptyCheck(item.userName)) {
str = item.userName;
}
if (app.isNotEmptyCheck(item.tel)) {
str = str + '(' + commonUtil.getTelAfterFour(item.tel) + ')';
}
item['userNameTel'] = str;
})
that.setData({
recordList: res.data.data
});
wx.hideLoading();
} else {
//app.showTips(that, res.data.msg);
}
that.setData({
dataLoading:true
});
wx.hideLoading()
},
fail: function (res) {
console.log(res);
that.setData({
dataLoading:true
});
wx.hideLoading()
}
})
},
getWeekNumNow: function () {
var that = this;
wx.request({
url: app.globalData.ip + '/commons/getWeekNumNow',
data: {},
header: app.globalData.header,
method: "GET",
success: function (res) {
console.log(res.data);
if (res.data.status == 200) {
var week = res.data.data;
var year = dateUtil.getNowYear();
for (var i = 1; i <= week; i++) {
that.data.arrayWeek.push(year + '年第' + i + '周');
}
that.data.indexWeek = week - 1;
that.setData({
arrayWeek: that.data.arrayWeek,
indexWeek: that.data.indexWeek,
});
} else {
//app.showTips(that, res.data.msg);
}
},
fail: function (res) {
console.log(res);
}
})
},
getMonthNumNow: function () {
var that = this;
var year = dateUtil.getNowYear();
var month = dateUtil.getNowMonth();
for (var i = 1; i <= 12; i++) {
that.data.arrayMonth.push(year + '年' + i + '月');
}
that.data.indexMonth = month - 1;
that.setData({
arrayMonth: that.data.arrayMonth,
indexMonth: that.data.indexMonth,
});
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText": "代理数据"
}

@ -0,0 +1,73 @@
<view>
<view class="topMenu">
<view class="onMune {{currIndex == '1' ? 'active' : ''}}" data-id="1" bindtap="changeMenu">
<view class="pr dib"> 日数据
<view class="menuBorder"></view>
</view>
</view>
<view class="onMune {{currIndex == '2' ? 'active' : ''}}" data-id="2" bindtap="changeMenu">
<view class="pr dib"> 周数据<view class="menuBorder"></view>
</view>
</view>
<view class="onMune {{currIndex == '3' ? 'active' : ''}}" data-id="3" bindtap="changeMenu">
<view class="pr dib"> 月数据<view class="menuBorder"></view>
</view>
</view>
</view>
<view class="p10" wx:if="{{dataLoading}}">
<view class="bgf" style="padding: 16px 10px 0px;border-radius: 8px 8px 0 0;">
<picker wx:if="{{currIndex == '1'}}" mode="date" value="{{date}}" start="2021-01-01" end="{{today}}" bindchange="bindDateChange">
<view class="picker va-center bb1 pb12">
{{date}} <i class="iconfont icon-shouye-xiala ml8" style="font-size: 6px;"></i>
</view>
</picker>
<picker wx:if="{{currIndex == '2'}}" bindchange="bindPickerChangeWeek" value="{{indexWeek}}" range="{{arrayWeek}}">
<view class="picker va-center bb1 pb12">
{{arrayWeek[indexWeek]}}<i class="iconfont icon-shouye-xiala ml8" style="font-size: 6px;"></i>
</view>
</picker>
<picker wx:if="{{currIndex == '3'}}" bindchange="bindPickerChangeMonth" value="{{indexMonth}}" range="{{arrayMonth}}">
<view class="picker va-center bb1 pb12">
{{arrayMonth[indexMonth]}}<i class="iconfont icon-shouye-xiala ml8" style="font-size: 6px;"></i>
</view>
</picker>
<view class="topTable">
<view class="w40 tc mr8">序号</view>
<view class="flex-1">代理名</view>
<view class="w40 tc mr8">扫码</view>
<view class="w40 tc mr8">报名</view>
<view class="w40 tc">入职</view>
</view>
</view>
<scroll-view class="f14 c3 bgf" scroll-y="true"
style="height:calc(100vh - 190px);padding:0 10px;box-sizing: border-box;">
<view wx:for="{{recordList}}" wx:for-item="item" wx:for-index="idx" class="userList">
<view class="w40 tc mr8">
<view class="wNum">{{idx + 1}}</view>
</view>
<view class="flex-1">{{item.userNameTel}}</view>
<view class="w40 tc mr8">{{item.event10}}</view>
<view class="w40 tc mr8">{{item.event20}}</view>
<view class="w40 tc">{{item.event40}}</view>
</view>
<!-- <view class="userList">
<view class="w40 tc mr8">
<view class="wNum">2</view>
</view>
<view class="flex-1">张素可(8006)</view>
<view class="w40 tc mr8">22</view>
<view class="w40 tc mr8">33</view>
<view class="w40 tc">12</view>
</view> -->
<!-- <view class="f12 c9 tc p20">暂无更多数据</view> -->
<!-- <view class="f12 c9 tc p20">加载中...</view>
<view class="loadMore" hover-class="hcb">点击加载更多</view> -->
</scroll-view>
</view>
</view>

@ -0,0 +1,108 @@
.topMenu {
display: flex;
padding: 12px 0;
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
background-color: #fff;
}
.onMune {
flex: 1;
font-size: 15px;
font-weight: 400;
text-align: center;
color: #444444;
line-height: 18px;
}
.menuBorder {
position: absolute;
width: 20px;
height: 3px;
opacity: 1;
background: #027AFF;
border-radius: 2px;
bottom: -12px;
left: 50%;
margin-left: -10px;
}
.onMune .menuBorder {
display: none;
}
.onMune.active .menuBorder {
display: block;
}
.onMune.active {
font-size: 18px;
font-weight: 601;
text-align: center;
color: #027AFF;
line-height: 18px;
}
.w140 {
width: 120px;
}
.userList {
display: flex;
align-items: center;
height: 48px;
border-bottom: 1rpx solid #e2e2e2;
}
.topTable {
display: flex;
font-size: 16px;
color: #999;
margin-top: 12px;
border-bottom: 1rpx solid #e2e2e2;
padding-bottom: 8px;
}
.w40 {
width: 40px;
}
.wNum {
width: 20px;
height: 20px;
margin: 0 auto;
border-radius: 50%;
font-size: 14px;
color: #333;
text-align: center;
line-height: 20px;
}
scroll-view .userList:nth-child(1) .wNum {
background: #da0106;
color: #ffffff;
}
scroll-view .userList:nth-child(2) .wNum {
background: #027aff;
color: #ffffff;
}
scroll-view .userList:nth-child(3) .wNum {
background: #4db54b;
color: #ffffff;
}
.loadMore {
width: 120px;
height: 28px;
border: 1px solid #979797;
border-radius: 20px;
font-size: 14px;
text-align: center;
color: #8c8c8c;
line-height: 28px;
margin: 0 auto;
}

@ -0,0 +1,139 @@
const app = getApp();
const commonUtil = require('../../utils/commonUtil.js');
const dateUtil = require('../../utils/dateUtil.js');
Page({
/**
* 页面的初始数据
*/
data: {
agencyId:'',
agencyDetail:{},
files: [],
dataLoading:false
},
goEditAgent:function(e){
var id = this.data.agencyId
wx.navigateTo({
url: '/pages/editAgent/index?agencyId=' + id,
})
},
previewImage: function (e) {
wx.previewImage({
current: e.currentTarget.id, // 当前显示图片的http链接
urls: this.data.files // 需要预览的图片http链接列表
})
},
getDetailById: function () {
var that = this;
wx.request({
url: app.globalData.ip + '/agency/getDetailById',
data: {
id: that.data.agencyId
},
header: app.globalData.header,
method: "GET",
success: function (res) {
console.log(res.data);
if (res.data.status == 200) {
var filesTemp = [];
if (app.isNotEmptyCheck(res.data.data.imageList)) {
res.data.data.imageList.forEach(item => {
filesTemp.push(item.url);
});
}
that.setData({
agencyDetail: res.data.data,
// phoneNumber: res.data.data.tel,
// lat: res.data.data.lat,
// lng: res.data.data.lng,
// detailAddress: res.data.data.address,
files: filesTemp,
});
} else {
app.showTips(that, res.data.msg);
}
that.setData({
dataLoading:true
});
wx.hideLoading()
},
fail: function (res) {
console.log(res);
that.setData({
dataLoading:true
});
wx.hideLoading()
}
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
console.log(options);
if (app.isNotEmptyCheck(options.agencyId)) {
this.setData({
agencyId: options.agencyId
});
}
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
wx.showLoading({
title: '加载中...',
})
this.getDetailById();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText": "代理详情"
}

@ -0,0 +1,81 @@
<view class="p10" wx:if="{{dataLoading}}">
<view class="p20 bgf br8">
<view class="v-center bb1 grid" style="padding-bottom:12px;">
<view class="flex-1 tc">
<view class="f22 c6 fw500">{{agencyDetail.event10}}</view>
<view class="f14 c9">扫码</view>
</view>
<view class="flex-1 tc">
<view class="f22 c6 fw500">{{agencyDetail.event20}}</view>
<view class="f14 c9">报名</view>
</view>
<view class="flex-1 tc noright">
<view class="f22 c6 fw500">{{agencyDetail.event30}}</view>
<view class="f14 c9">面试</view>
</view>
</view>
<view class="v-center grid" style="padding:12px 0 0;">
<view class="flex-1 tc">
<view class="f22 c6 fw500">{{agencyDetail.event40}}</view>
<view class="f14 c9">入职</view>
</view>
<view class="flex-1 tc noright">
<view class="f22 c6 fw500">{{agencyDetail.event50}}</view>
<view class="f14 c9">离职</view>
</view>
<view class="flex-1 tc noright">
</view>
</view>
</view>
<view class="mt10">
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells weui-cells_form br8" style="margin-top:0;">
<view class="weui-cell">
<view class="weui-cell__bd"><label class="f18 c3 fw500">代理信息</label></view>
<view class="weui-cell__hd">
<view class="rightEdit" hover-class="thover" bindtap="goEditAgent">编辑</view>
</view>
</view>
<view class="weui-cell noTop">
<view class="weui-cell__bd"><label class="weui-label c085">代理名</label></view>
<view class="weui-cell__hd f16 c6">
{{agencyDetail.userName}}
</view>
</view>
<view class="weui-cell">
<view class="weui-cell__bd"><label class="weui-label c085">手机号</label></view>
<view class="weui-cell__hd f16 c6">
{{agencyDetail.tel}}
</view>
</view>
<view class="weui-cell">
<view class="weui-cell__bd"><label class="weui-label c085">位置</label></view>
<view class="weui-cell__hd f16 c6">
{{agencyDetail.address}}
</view>
</view>
<view class="weui-cell" style="display: block;">
<view class="weui-cell__bd"><label class="weui-label c085">图片</label></view>
<view class="mt20">
<!-- <image class="weui-uploader__img" src="http://matripe.oss-cn-beijing.aliyuncs.com/defaultAva.png" mode="aspectFill" /> -->
<view wx:for="{{files}}" wx:key="*this" wx:if="{{files.length > 0}}">
<view class="weui-uploader__file" bindtap="previewImage" id="{{item}}">
<image class="weui-uploader__img" src="{{item}}" mode="aspectFill" />
</view>
</view>
<view wx:if="{{files.length == 0}}">
<view class="c9 f16">
暂无图片
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>

@ -0,0 +1,43 @@
@import "/pages/creatAgent/index.wxss";
.bb1 {
border-bottom: 1rpx solid #f5f5f5;
}
.flex-1.tc{
position: relative;
}
.flex-1.tc::after{
content: "";
position: absolute;
width: 1rpx;
height: 20px;
background-color: #f5f5f5;
right: 0;
top: 20px;
}
.noright.flex-1.tc::after{
content: none;
}
.rightEdit{
width: 46px;
height: 24px;
border: 1px solid #027aff;
border-radius: 14px;
font-size: 14px;
text-align: center;
color:#027aff;
line-height: 24px;
}
.weui-uploader__img{
width: 60px;
height: 60px;
margin: 0 10px 10px 0;
}
.weui-cell.noTop::before{
content:none
}
.weui-uploader__file,.weui-uploader__input-box{
/* width: calc((100vw - 105px - 40px) / 3);
height: calc((100vw - 105px - 40px) / 3); */
width: 60px;
height: 60px;
}

@ -0,0 +1,366 @@
// pages/myAgent/index.js
const app = getApp();
import { isEmptyCheck } from "../../utils/commonUtil";
import dateUtil from "../../utils/dateUtil";
Page({
/**
* 页面的初始数据
*/
data: {
roleOf41:false,
roleOf132:false,
managerRoleClassify:false,
chaShowed:false,
idNull:0,
isTrigger:false,
pageBean: {},
inputShowed: false,
inputVal: "搜索企业名称",
recordList: [],
currIndex: '0',
phoneDialog:false,
underReviewNum: "0",
searchParam: { pageNum: 1, pageSize:20, del: 0, keys: '', noticeState: 10,type:0 },
hasReadAll: true,
isLoading: true,
hasMoreData: false,
navlist:10
},
changeactive: function (e) {
var that = this;
that.setData({
recordList:[],
idNull:0
})
console.log(this.data.idNull);
this.data.searchParam.pageNum = 1;
this.setData({
navlist: e.mark.ind,
searchParam: this.data.searchParam,
["searchParam.noticeState"]: e.mark.ind,
});
this.getList();
},
changeMenu(e) {
var that = this;
wx.showLoading({
title: '加载中...',
});
that.data.searchParam.pageNum = 1;
that.data.searchParam.searchTag = e.currentTarget.dataset.id;
this.setData({
currIndex: e.currentTarget.dataset.id,
// idNull:"scId"
})
console.log(this.data.idNull);
this.getList();
},
showInput: function () {
this.setData({
inputShowed: true,
chaShowed:false
});
},
hideInput: function () {
this.setData({
inputVal: "",
inputShowed: false
});
},
clearInput: function () {
console.log(123);
this.setData({
chaShowed:false,
inputVal: "搜索企业名称"
});
this.data.searchParam.keys = '';
this.data.searchParam.pageNum = 1;
this.getList();
},
inputTyping: function(e) {
this.setData({
inputVal: e.detail.value,
});
console.log(this.data.inputVal);
if (this.data.inputVal == '') {
this.data.recordList = [];
this.data.searchParam.pageNum = 1;
this.data.searchParam.keys = "";
this.getList();
}
},
searchKey: function (e) {
console.log(this.data.inputVal);
// this.setData({
// inputVal: this.data.inputVal
// });
this.data.recordList = [];
this.data.searchParam.keys = this.data.inputVal;
this.data.searchParam.pageNum = 1;
this.getList();
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
//this.getLocation();
var that = this;
if(app.isNotEmptyCheck(options.status)){
console.log(options.status);
that.setData({
["searchParam.noticeState"]: options.status,
navlist:options.status
});
console.log(that.data.navlist);
}
// console.log(options.type)
// that.data.searchParam.channelId = 28;
that.setData({
searchParam: that.data.searchParam,
roleOf41: app.globalData.roleOf41,
roleOf132: app.globalData.roleOf132,
managerRoleClassify:app.globalData.managerRoleClassify
});
},
goDetail:function(e){
var that = this;
var id = e.currentTarget.dataset.id;
wx.navigateTo({
// url: '/pages/editAgent/index?agencyId=' + id,
// url:'/pages/agentDetail/index?agencyId=' + id
url:'/pages/announceDetail/index?workOrderId=' + id + '&status=' + that.data.navlist
})
},
onScrollToLower:function(){
this.data.searchParam.pageNum = this.data.searchParam.pageNum + 1;
this.getList();
},
onScrollRefresh(){
this.data.recordList = [];
this.data.searchParam.pageNum = 1;
this.getList();
},
goSearch(){
wx.navigateTo({
url: '../search/index?from=announce',
})
},
getList: function () {
var that = this;
wx.showLoading({
title: "加载中",
});
that.setData({
isLoading: true
});
that.data.searchParam.keys = that.data.inputVal == '搜索企业名称' ? '' : that.data.inputVal;
wx.request({
url: app.globalData.ip + '/cms/notice/list',
data: that.data.searchParam,
header: app.globalData.header,
method: "GET",
success: function (res) {
console.log(res.data);
if (res.data.status == 200) {
that.setData({
isLoading: false,
underReviewNum: res.data.data.checking
});
res.data.data.pageBean.recordList.forEach(item => {
item['updateTimeStr'] = dateUtil.timeShowXXX(item.updateTime);
});
if (res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length > 0 && that.data.navlist == 40 ) {
res.data.data.pageBean.recordList.forEach(item => {
if(app.isEmptyCheck(item.updateTime)){
item['updateTimeStr'] = '-年-月-日'
}else{
item['updateTimeStr'] = dateUtil.timeShowXXX(item.updateTime);
}
});
}else if(res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length > 0 && that.data.navlist == 30) {
res.data.data.pageBean.recordList.forEach(item => {
if(app.isEmptyCheck(item.updateTime)){
item['updateTimeStr'] = '-年-月-日'
}else{
item['updateTimeStr'] = dateUtil.timeAfter(item.robotTime);
}
});
}
if (res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length < 20) {
var recordListTemp = res.data.data.pageBean.recordList;
that.data.recordList = that.data.recordList.concat(recordListTemp);
that.setData({
hasMoreData: false
});
} else {
var recordListTemp = res.data.data.pageBean.recordList;
that.data.recordList = that.data.recordList.concat(recordListTemp);
that.setData({
hasMoreData: true
});
}
that.setData({
recordList: that.data.recordList,
isLoading: false,
isTrigger:false,
});
if (res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length < 20) {
that.setData({
hasMoreData: false
});
} else {
that.setData({
hasMoreData: true
});
}
wx.hideLoading();
} else {
app.showTips(that, res.data.msg);
wx.hideLoading();
}
},
fail: function (res) {
console.log(res);
}
})
},
close: function () {
this.setData({
phoneDialog:false,
})
},
makePhone:function(e){
var that = this;
console.log(e);
that.setData({
phoneDialog:true,
phone:e.currentTarget.dataset.phone
})
// wx.makePhoneCall({
// phoneNumber: e.currentTarget.dataset.phone
// });
},
makePhoneCall:function(e){
var that = this;
wx.makePhoneCall({
phoneNumber: that.data.phone
});
},
bindCode:function(e){
console.log(e)
wx.navigateToMiniProgram({
appId: 'wxb1f7c694803f6f00', //appid
path: '/pages/scanQrcode/index?agencyUserId=' + e.currentTarget.dataset.userid,//path
extraData: { //参数
agencyUserId: e.currentTarget.dataset.userid
},
envVersion: 'release', //develop 开发版 trial 体验版 release 正式版
success(res) {
console.log('成功')
// 打开成功
}
})
},
tounderReview() {
wx.navigateTo({
url: "/pages/announceReview/index?from="+this.data.from,
});
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
setCopy(e){
var that = this;
wx.setClipboardData({
data: e.currentTarget.dataset.content,
success (res) {
wx.getClipboardData({
success (res) {
console.log(res.data) // data
wx.showToast({
title: '内容已复制',
icon: 'none',
duration: 1500
})
}
})
}
})
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
var that = this;
that.setData({
recordList:[]
})
this.getList();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,9 @@
{
"usingComponents": {
"mp-html": "mp-html"
},
"backgroundColor":"#f5f5f5",
"navigationBarTitleText": "我的通告",
"disableScroll":true
}

@ -0,0 +1,94 @@
<view class="weui-search-bar weui-search-bar_focusing" id="searchBar" style="line-height: 1;background-color: #fff;border-radius:0;">
<form class="weui-search-bar__form flex-1">
<view class="weui-search-bar__box" catchtap="goSearch" style="background-color: #f5f5f5;border-radius: 17px;">
<i class="iconfont icon-sousuo"></i>
<!-- <input type="text" class="weui-search-bar__input" placeholder-style="color:#999;" placeholder="搜索企业名称" value="{{inputVal}}" focus="{{inputShowed}}" bindinput="inputTyping" bindconfirm="searchKey" confirm-type="search" />
<view class="iconfont icon-qingchu" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></view>
<view class="search" bindtap="searchKey">搜索</view> -->
<view class="weui-search-bar__input {{!chaShowed ? 'c9' : 'c3'}}" style="width: 160px;">{{inputVal}}</view>
<view class="iconfont icon-qingchu" wx:if="{{chaShowed}}" catchtap="clearInput"></view>
<view class="search" catchtap="searchKey">搜索</view>
</view>
</form>
</view>
<scroll-view class="container" scroll-y enable-back-to-top="true" refresher-enabled bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" scroll-with-animation="true" scroll-top="{{idNull}}" refresher-triggered="{{isTrigger}}" style="height:calc(100vh - 50px)">
<view>
<!-- <view class="display-flex bgf mb10" hover-class="hcb" style="border:1rpx solid #eee;border-radius:8px;padding:16px 12px;" bindtap="goDetail">
<view class="v-center">
<view class="v-center phoneOut pr" catchtap="makePhone" hover-stop-propagation hover-class="thover">
<icon class="iconfont icon-xiaoxi-xuanzhong" style="color:#027aff;font-size:18px;"></icon>
<view class="phone-circle"></view>
</view>
</view>
<view class="flex-1">
<view class="f14 mb8"><text class="mr8 f16">滴滴滴</text><text class="c045 fr">2022-02-24</text></view>
<view style="white-space:nowrap; overflow:hidden; text-overflow:ellipsis;width:calc(100vw - 120px);" class="c065 mt8 f14">
嘟嘟嘟嘟嘟嘟嘟嘟嘟嘟多多多多多多多多多多多多多多多多多多多多多多多多多
</view>
</view>
</view> -->
<view class="underreview" hover-class="hcb" bindtap='tounderReview' wx:if="{{!roleOf132 || roleOf41 || managerRoleClassify}}">
<view class="" hover-class="none" hover-stop-propagation="false">审核中</view>
<view class="display-flex" hover-class="none" hover-stop-propagation="false">
<text class="circleNum" style="padding:{{underReviewNum > 9 ? '0 4px' :''}};border-radius:{{underReviewNum > 9 ? '12px' :'50%'}}">{{underReviewNum}}</text>
<i class="iconfont icon-xiayiye"></i>
</view>
</view>
<view class="titlelist {{(roleOf132 && !managerRoleClassify)?'mt10':''}}">
<view class="{{navlist == 10? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{10}}' bindtap='changeactive'>通告库<view class="menuBorder"></view>
</view>
<view class="{{navlist == 30? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{30}}' bindtap='changeactive'>待发布<view class="menuBorder"></view>
</view>
<view class="{{navlist == 40? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{40}}' bindtap='changeactive'>已发布<view class="menuBorder"></view>
</view>
</view>
<view id="scId"></view>
<!-- <view style="background-color: #fff;height: 16px;" wx:if="{{navlist == 40 && recordList.length != 0}}"></view> -->
<block wx:if="{{recordList != null && recordList.length > 0}}">
<view class="" style=" border-bottom-left-radius: 8px;border-bottom-right-radius: 8px;">
<!-- <view class="f16 ml12" style="line-height: 32px;" wx:if="{{navlist == 40}}">2022-12-24</view> -->
<view hover-class="hcb" class="viewList bgf" style="padding:10px 12px 0;" wx:for="{{recordList}}" wx:for-item="item" wx:for-index="idx" data-id="{{item.id}}" bindtap="goDetail">
<view class="display-flex htc">
<view class="v-center">
<view class="v-center phoneOut pr" data-content="{{item.content}}" catchtap="setCopy" hover-stop-propagation hover-class="thover">
<icon class="iconfont icon-fuzhi" style="color:#00bebe;font-size:24px;margin-top: -2px;"></icon>
</view>
</view>
<view class="flex-1">
<view style="display: flex;">
<view class="flex-1" style="display: flex;align-items: center;">
<text class="" style="font-size:16px;color:#000;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;width: calc(100vw - 168px);display: inline-block;line-height:30px;font-weight: 603;">{{item.title}}</text>
</view>
<text class="c045 fr f12" style="position: relative;top: 5px;">{{item.updateTimeStr}}</text>
</view>
<view class="c9" style="font-size:14px;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;width:calc(100vw - 80px);margin-bottom:12px;line-height: 24px;">
{{item.content}}
<!-- <rich-text nodes="{{item.userServeRecordDespLatest == null ? '' : item.userServeRecordDespLatest}}" class="c065 f14 mt8"></rich-text> -->
</view>
</view>
</view>
</view>
</view>
<view style="padding-bottom: 0px;">
<view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
<view wx:else class="f12 c9 tc p20">上滑加载更多</view>
</view>
<!-- <view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
<view wx:if="{{isLoading}}" class="f12 c9 tc p20">加载中...</view>
<view wx:if="{{hasMoreData}}" bindtap="loadMoreData" class="loadMore" hover-class="hcb">点击加载更多</view> -->
</block>
<block wx:if="{{(recordList == null || recordList.length == 0) && !isLoading}}">
<view style="margin-top:128rpx;">
<view class="center">
<icon class='t-icon cccc t-icon-zanwu' style='width:86px;height:86px;margin-bottom:20px;margin-top:30px'></icon>
<view class="f16 cccc">暂无通告</view>
</view>
</view>
</block>
</view>
</scroll-view>

@ -0,0 +1,23 @@
@import "/pages/normalNotice/index.wxss";
@import "/pages/myProcessNew/index.wxss";
.titlelist {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
font-size: 16px;
}
/* .underreview{
margin-top: 0;
border-radius: 8px;
} */
.circleNum{
background-color: var(--color-be);
}
.titlelist .activelist {
color: var(--color-be);
}
.titlelist .activelist::after {
background-color: var(--color-be);
}
.phoneOut{
background-color: transparent;
}

@ -0,0 +1,477 @@
// pages/myAgent/index.js
const app = getApp();
import dateUtil from "../../utils/dateUtil";
Page({
/**
* 页面的初始数据
*/
data: {
roleOf41:false,
roleOf132:false,
managerRoleClassify:false,
chaShowed:false,
idNull:0,
isTrigger:false,
pageBean: {},
inputShowed: false,
inputVal: "搜索职位名称",
recordList: [],
currIndex: '0',
phoneDialog:false,
underReviewNum: "0",
searchParam: { pageNum: 1, pageSize:20, keys: ''},
searchParamYFB: { pageNum: 1, pageSize:20, del: 0, keys: '', noticeState: 40,type:3},
hasReadAll: true,
isLoading: true,
hasMoreData: false,
navlist:10
},
changeactive: function (e) {
var that = this;
that.setData({
recordList:[],
idNull:0
})
console.log(this.data.idNull);
this.data.searchParam.pageNum = 1;
this.setData({
navlist: e.mark.ind,
searchParam: this.data.searchParam,
// ["searchParam.noticeState"]: e.mark.ind,
});
if(e.mark.ind == 10){
this.getList();
}else{
this.getListYFB();
}
},
changeMenu(e) {
var that = this;
wx.showLoading({
title: '加载中...',
});
that.data.searchParam.pageNum = 1;
that.data.searchParam.searchTag = e.currentTarget.dataset.id;
this.setData({
currIndex: e.currentTarget.dataset.id,
// idNull:"scId"
})
console.log(this.data.idNull);
this.getList();
},
showInput: function () {
this.setData({
inputShowed: true,
chaShowed:false
});
},
hideInput: function () {
this.setData({
inputVal: "",
inputShowed: false
});
},
clearInput: function () {
console.log(123);
this.setData({
chaShowed:false,
inputVal: "搜索职位名称"
});
this.data.recordList = [];
if(this.data.navlist == 10){
this.data.searchParam.keys = '';
this.data.searchParam.pageNum = 1;
this.getList();
}else{
this.data.searchParamYFB.keys = '';
this.data.searchParamYFB.pageNum = 1;
this.getListYFB();
}
},
// inputTyping: function(e) {
// this.setData({
// inputVal: e.detail.value,
// });
// console.log(this.data.inputVal);
// if (this.data.inputVal == '') {
// this.data.recordList = [];
// this.data.searchParam.pageNum = 1;
// this.data.searchParam.keys = "";
// this.getList();
// }
// },
searchKey: function (e) {
console.log(this.data.inputVal);
this.data.recordList = [];
if(this.data.navlist == 10){
this.data.searchParam.keys = this.data.inputVal;
this.data.searchParam.pageNum = 1;
this.getList();
}else{
this.data.searchParamYFB.keys = this.data.inputVal;
this.data.searchParamYFB.pageNum = 1;
this.getListYFB();
}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
//this.getLocation();
var that = this;
if(app.isNotEmptyCheck(options.status)){
console.log(options.status);
that.setData({
["searchParam.noticeState"]: options.status,
navlist:options.status
});
console.log(that.data.navlist);
}
// console.log(options.type)
// that.data.searchParam.channelId = 28;
that.setData({
searchParam: that.data.searchParam,
roleOf41: app.globalData.roleOf41,
roleOf132: app.globalData.roleOf132,
managerRoleClassify:app.globalData.managerRoleClassify
});
},
goDetail:function(e){
var that = this;
var content = e.currentTarget.dataset.content;
var yifabu = e.currentTarget.dataset.yifabu;
var id = e.currentTarget.dataset.id;
wx.navigateTo({
// url: '/pages/editAgent/index?agencyId=' + id,
// url:'/pages/agentDetail/index?agencyId=' + id
url:'/pages/announceAutoDetail/index?workOrderId=' + content +'&yifabu='+yifabu +'&id='+id
})
},
onScrollToLower:function(){
if(this.data.navlist == 10){
this.data.searchParam.pageNum = this.data.searchParam.pageNum + 1;
this.getList();
}else{
this.data.searchParamYFB.pageNum = this.data.searchParamYFB.pageNum + 1;
this.getListYFB();
}
},
onScrollRefresh(){
if(this.data.navlist == 10){
this.data.recordList = [];
this.data.searchParam.pageNum = 1;
this.getList();
}else{
this.data.recordList = [];
this.data.searchParamYFB.pageNum = 1;
this.getListYFB();
}
},
goSearch(){
wx.navigateTo({
url: '../search/index?from=announceAuto',
})
},
getListYFB: function () {
var that = this;
wx.showLoading({
title: "加载中",
});
that.setData({
isLoading: true
});
that.data.searchParamYFB.keys = that.data.inputVal == '搜索职位名称' ? '' : that.data.inputVal;
wx.request({
url: app.globalData.ip + '/cms/notice/list',
data: that.data.searchParamYFB,
header: app.globalData.header,
method: "GET",
success: function (res) {
console.log(res.data);
if (res.data.status == 200) {
that.setData({
isLoading: false,
// underReviewNum: res.data.data.checking
});
res.data.data.pageBean.recordList.forEach(item => {
item['updateTimeStr'] = dateUtil.timeShowXXX(item.updateTime);
item['jobName'] = item.title;
item['jobDesp2'] = item.content
item['jobDesp'] = item.content.replace(/\*\*\*\*\*/g,"");
});
if (res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length > 0 && that.data.navlist == 40 ) {
res.data.data.pageBean.recordList.forEach(item => {
if(app.isEmptyCheck(item.updateTime)){
item['updateTimeStr'] = '-年-月-日'
}else{
item['updateTimeStr'] = dateUtil.timeShowXXX(item.updateTime);
}
});
}else if(res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length > 0 && that.data.navlist == 30) {
res.data.data.pageBean.recordList.forEach(item => {
if(app.isEmptyCheck(item.updateTime)){
item['updateTimeStr'] = '-年-月-日'
}else{
item['updateTimeStr'] = dateUtil.timeAfter(item.robotTime);
}
});
}
if (res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length < 20) {
var recordListTemp = res.data.data.pageBean.recordList;
that.data.recordList = that.data.recordList.concat(recordListTemp);
that.setData({
hasMoreData: false
});
} else {
var recordListTemp = res.data.data.pageBean.recordList;
that.data.recordList = that.data.recordList.concat(recordListTemp);
that.setData({
hasMoreData: true
});
}
that.setData({
recordList: that.data.recordList,
isLoading: false,
isTrigger:false,
});
if (res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length < 20) {
that.setData({
hasMoreData: false
});
} else {
that.setData({
hasMoreData: true
});
}
wx.hideLoading();
} else {
app.showTips(that, res.data.msg);
wx.hideLoading();
}
},
fail: function (res) {
console.log(res);
}
})
},
getList: function () {
var that = this;
wx.showLoading({
title: "加载中",
});
that.setData({
isLoading: true
});
that.data.searchParam.keys = that.data.inputVal == '搜索职位名称' ? '' : that.data.inputVal;
wx.request({
url: app.globalData.ip + '/store/job/findPublicNoticeList',
data: that.data.searchParam,
header: app.globalData.header,
method: "GET",
success: function (res) {
console.log(res.data);
if (res.data.status == 200) {
that.setData({
isLoading: false,
});
res.data.data.list.forEach(item => {
item['updateTimeStr'] = dateUtil.timeShowXXX(item.updateTime);
item['jobDesp2'] = item.jobDesp
item['jobDesp'] = item.jobDesp.replace(/\*\*\*\*\*/g,"");
});
if (res.data.data.list != null && res.data.data.list.length < 20) {
var recordListTemp = res.data.data.list;
that.data.recordList = that.data.recordList.concat(recordListTemp);
that.setData({
hasMoreData: false
});
} else {
var recordListTemp = res.data.data.list;
that.data.recordList = that.data.recordList.concat(recordListTemp);
that.setData({
hasMoreData: true
});
}
that.setData({
recordList: that.data.recordList,
isLoading: false,
isTrigger:false,
});
if (res.data.data.list != null && res.data.data.list.length < 20) {
that.setData({
hasMoreData: false
});
} else {
that.setData({
hasMoreData: true
});
}
wx.hideLoading();
} else {
app.showTips(that, res.data.msg);
wx.hideLoading();
}
},
fail: function (res) {
console.log(res);
}
})
},
close: function () {
this.setData({
phoneDialog:false,
})
},
makePhone:function(e){
var that = this;
console.log(e);
that.setData({
phoneDialog:true,
phone:e.currentTarget.dataset.phone
})
// wx.makePhoneCall({
// phoneNumber: e.currentTarget.dataset.phone
// });
},
makePhoneCall:function(e){
var that = this;
wx.makePhoneCall({
phoneNumber: that.data.phone
});
},
bindCode:function(e){
console.log(e)
wx.navigateToMiniProgram({
appId: 'wxb1f7c694803f6f00', //appid
path: '/pages/scanQrcode/index?agencyUserId=' + e.currentTarget.dataset.userid,//path
extraData: { //参数
agencyUserId: e.currentTarget.dataset.userid
},
envVersion: 'release', //develop 开发版 trial 体验版 release 正式版
success(res) {
console.log('成功')
// 打开成功
}
})
},
tounderReview() {
// console.log(new Date().getTime());
wx.setStorageSync('state1Time',new Date().getTime());
wx.setStorageSync('state1',0);
wx.navigateTo({
url: "/pages/myProject/index?state=3",
});
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
setCopy(e){
var that = this;
wx.setClipboardData({
data: e.currentTarget.dataset.content,
success (res) {
wx.getClipboardData({
success (res) {
console.log(res.data) // data
wx.showToast({
title: '内容已复制',
icon: 'none',
duration: 1500
})
}
})
}
})
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
var that = this;
that.setData({
recordList:[],
underReviewNum:wx.getStorageSync('state1')
})
// console.log(wx.getStorageSync('state1'))
that.setData({
isLoading: false,
// underReviewNum: res.data.data.checking
});
this.getList();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,9 @@
{
"usingComponents": {
"mp-html": "mp-html"
},
"backgroundColor":"#f5f5f5",
"navigationBarTitleText": "自动通告",
"disableScroll":true
}

@ -0,0 +1,98 @@
<view class="weui-search-bar weui-search-bar_focusing" id="searchBar" style="line-height: 1;background-color: #fff;border-radius:0;">
<form class="weui-search-bar__form flex-1">
<view class="weui-search-bar__box" catchtap="goSearch" style="background-color: #f5f5f5;border-radius: 17px;">
<i class="iconfont icon-sousuo"></i>
<!-- <input type="text" class="weui-search-bar__input" placeholder-style="color:#999;" placeholder="搜索企业名称" value="{{inputVal}}" focus="{{inputShowed}}" bindinput="inputTyping" bindconfirm="searchKey" confirm-type="search" />
<view class="iconfont icon-qingchu" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></view>
<view class="search" bindtap="searchKey">搜索</view> -->
<view class="weui-search-bar__input {{!chaShowed ? 'c9' : 'c3'}}" style="width: 160px;">{{inputVal}}</view>
<view class="iconfont icon-qingchu" wx:if="{{chaShowed}}" catchtap="clearInput"></view>
<view class="search" catchtap="searchKey">搜索</view>
</view>
</form>
</view>
<scroll-view class="container" scroll-y enable-back-to-top="true" refresher-enabled bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" scroll-with-animation="true" scroll-top="{{idNull}}" refresher-triggered="{{isTrigger}}" style="height:calc(100vh - 50px);">
<!-- margin-top: 10px; -->
<view>
<!-- <view class="display-flex bgf mb10" hover-class="hcb" style="border:1rpx solid #eee;border-radius:8px;padding:16px 12px;" bindtap="goDetail">
<view class="v-center">
<view class="v-center phoneOut pr" catchtap="makePhone" hover-stop-propagation hover-class="thover">
<icon class="iconfont icon-xiaoxi-xuanzhong" style="color:#027aff;font-size:18px;"></icon>
<view class="phone-circle"></view>
</view>
</view>
<view class="flex-1">
<view class="f14 mb8"><text class="mr8 f16">滴滴滴</text><text class="c045 fr">2022-02-24</text></view>
<view style="white-space:nowrap; overflow:hidden; text-overflow:ellipsis;width:calc(100vw - 120px);" class="c065 mt8 f14">
嘟嘟嘟嘟嘟嘟嘟嘟嘟嘟多多多多多多多多多多多多多多多多多多多多多多多多多
</view>
</view>
</view> -->
<view class="underreview" hover-class="hcb" bindtap='tounderReview' wx:if="{{!roleOf132 || roleOf41 || managerRoleClassify}}">
<view class="" hover-class="none" hover-stop-propagation="false">审核中</view>
<view class="display-flex" hover-class="none" hover-stop-propagation="false">
<text class="circleNum" style="padding:{{underReviewNum > 9 ? '0 4px' :''}};border-radius:{{underReviewNum > 9 ? '12px' :'50%'}}">{{underReviewNum}}</text>
<i class="iconfont icon-xiayiye"></i>
</view>
</view>
<view class="titlelist {{(roleOf132 && !managerRoleClassify)?'mt10':''}}">
<view class="{{navlist == 10? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{10}}' bindtap='changeactive'>通告库<view class="menuBorder"></view>
</view>
<!-- <view class="{{navlist == 30? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{30}}' bindtap='changeactive'>待发布
</view> -->
<view class="{{navlist == 40? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{40}}' bindtap='changeactive'>已发布<view class="menuBorder"></view>
</view>
</view>
<view id="scId"></view>
<!-- <view style="background-color: #fff;height: 16px;" wx:if="{{navlist == 40 && recordList.length != 0}}"></view> -->
<block wx:if="{{recordList != null && recordList.length > 0}}">
<view class="" style=" border-bottom-left-radius: 8px;border-bottom-right-radius: 8px;">
<!-- <view class="f16 ml12" style="line-height: 32px;" wx:if="{{navlist == 40}}">2022-12-24</view> -->
<view hover-class="hcb" class="viewList bgf" style="padding:10px 12px 0;" wx:for="{{recordList}}" wx:for-item="item" wx:for-index="idx" data-content="{{item.jobDesp2}}" data-id="{{item.id}}" data-yifabu="{{navlist}}" bindtap="goDetail">
<view class="display-flex htc">
<view class="v-center">
<view class="v-center phoneOut pr" data-content="{{item.jobDesp}}" catchtap="setCopy" hover-stop-propagation hover-class="thover" style="margin-right: 6px;">
<icon class="iconfont icon-fuzhi" style="color:#00bebe;font-size:24px;margin-top: -2px;"></icon>
</view>
</view>
<view class="flex-1">
<view style="display: flex;">
<view class="flex-1" style="display: flex;align-items: center;">
<text class="" style="font-size:16px;color:#000;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;width: calc(100vw - 168px);display: inline-block;line-height:30px;font-weight: 603;">{{item.jobName}}</text>
</view>
<text class="c045 fr f12" style="position: relative;top: 5px;">{{item.updateTimeStr}}</text>
</view>
<view class="c9" style="font-size:14px;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;width:calc(100vw - 80px);margin-bottom:12px;line-height: 24px;">
{{item.jobDesp}}
<!-- <rich-text nodes="{{item.userServeRecordDespLatest == null ? '' : item.userServeRecordDespLatest}}" class="c065 f14 mt8"></rich-text> -->
</view>
</view>
</view>
</view>
</view>
<view style="padding-bottom: 20px;">
<view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
<view wx:else class="f12 c9 tc p20">上滑加载更多</view>
</view>
<!-- <view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
<view wx:if="{{isLoading}}" class="f12 c9 tc p20">加载中...</view>
<view wx:if="{{hasMoreData}}" bindtap="loadMoreData" class="loadMore" hover-class="hcb">点击加载更多</view> -->
</block>
<block wx:if="{{(recordList == null || recordList.length == 0) && !isLoading}}">
<view style="margin-top:128rpx;">
<view class="center">
<icon class='t-icon cccc t-icon-zanwu' style='width:86px;height:86px;margin-bottom:20px;margin-top:30px'></icon>
<view class="f16 cccc">暂无通告</view>
</view>
</view>
</block>
</view>
</scroll-view>

@ -0,0 +1 @@
@import "../announce/index.wxss"

@ -0,0 +1,220 @@
// pages/announceAutoDetail/index.js
const app = getApp();
import dateUtil from "../../utils/dateUtil";
Page({
/**
* 页面的初始数据
*/
data: {
roleOf41: false,
roleOf132: false,
managerRoleClassify:false,
id:'',
value:'',
newContent:'',
isEdit:false,
valueNormal:'',
article:'',
title:'',
value1:'',
value2:'',
value3:'',
value4:"",
icon:'',
fabuD:false,
yifabu:false,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
console.log(options.yifabu)
console.log(options.id)
var str = options.workOrderId;
var aPos = str.indexOf('\n');
var bPos = str.indexOf('*');
this.setData({
id:options.id,
// article: options.workOrderId.replace(/\*\*\*\*\*/g,""),
value:options.workOrderId,
valueNormal:options.workOrderId.replace(/\*\*\*\*\*/g,""),
title:options.workOrderId.split('\n')[0],
value1:options.workOrderId.split("*****")[1],
value2:options.workOrderId.split("*****")[3],
value3:options.workOrderId.split("*****")[5],
value4:options.workOrderId.split("*****")[6],
icon:str.substr(aPos + 1, bPos - aPos - 1),
roleOf41: app.globalData.roleOf41,
roleOf132: app.globalData.roleOf132,
managerRoleClassify:app.globalData.managerRoleClassify
});
if(options.yifabu == 40){
this.setData({
yifabu:true
})
}else{
this.setData({
yifabu:false
})
}
},
showForm(){
var that = this;
that.setData({
isEdit: !that.data.isEdit
})
},
case(e){
this.setData({
case:e.currentTarget.dataset.id
})
},
chooseTimeTap(){
this.setData({
fabuD: true,
});
},
close(){
this.setData({
fabuD: false,
});
},
setCopy(e){
var that = this;
wx.setClipboardData({
data: e.currentTarget.dataset.content,
success (res) {
wx.getClipboardData({
success (res) {
console.log(res.data) // data
wx.showToast({
title: '内容已复制',
icon: 'none',
duration: 1500
})
}
})
}
})
},
formSubmit(e){
var that = this;
console.log(e.detail.value)
let currData = {};
currData["id"] = that.data.id;
currData["fieldName"] = 'jobDesp';
currData["value"] = `${that.data.title}\n${that.data.icon}*****${e.detail.value.value1}*****\n${that.data.icon}*****${e.detail.value.value2}*****\n${that.data.icon}*****${e.detail.value.value3}*****${that.data.value4}`;
// let currData = {};
// currData["storeId"] = that.data.jobDetail.store.id;
// currData["storeInfo"] =`${that.data.title}\n*****${e.detail.value.value1}*****\n*****${e.detail.value.value2}*****\n*****${e.detail.value.value3}*****\n${that.data.value4}`;
console.log(currData)
// return
wx.request({
url: app.globalData.ip + "/store/job/updateJobField",
header: app.globalData.header,
data:currData,
method: "POST",
success: function (res) {
wx.showToast({
title: '保存成功',
icon:'success',
duration:1000
})
that.setData({
valueNormal:currData["value"].replace(/\*\*\*\*\*/g,""),
value1:currData["value"].split("*****")[1],
value2:currData["value"].split("*****")[3],
value3:currData["value"].split("*****")[5],
isEdit:false
})
}
})
},
fabu(){
var that = this;
wx.request({
url: app.globalData.ip + "/store/job/sendPublicNoticeMsg?jobId=" + this.data.id,
header: app.globalData.header,
method: "POST",
success: function (res) {
wx.showToast({
title: '发布成功',
icon:'success',
duration:1000
})
that.setData({
fabuD:false
})
setTimeout(()=>{
wx.navigateBack({
delta: 1,
})
},1000)
}
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
// this.getDetail();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

@ -0,0 +1,3 @@
{
"navigationBarTitleText": "通告详情"
}

@ -0,0 +1,59 @@
<!-- <view class="p10">
<view class="bgf br4" style="white-space: pre-line;word-break: break-all;margin-top: 16px;">{{article}}
</view>
</view> -->
<view class="p16 bgf" style="padding-bottom: 120px;padding-left: 36px;" wx:if="{{value != '' && value != '-'}}">
<form bindsubmit="formSubmit">
<view wx:if="{{isEdit}}" style="white-space: pre-line;">{{title}}
<view class="pr" style="border: 1rpx solid var(--color-be);left:-16px;padding:8px 16px;margin: 12px 0 0;width: calc(100vw - 72px);">
<text class="pa">{{icon}}</text>
<input type="text" value="{{value1}}" name="value1" class="leftIcons" placeholder="请输入文本" />
<text class="pa">{{icon}}</text>
<input type="text" value="{{value2}}" name="value2" class="leftIcons" placeholder="请输入文本" />
<text class="pa">{{icon}}</text>
<input type="text" value="{{value3}}" name="value3" class="leftIcons" placeholder="请输入文本" />
</view>{{value4}}
</view>
<view wx:if="{{!isEdit}}" style="white-space: pre-line;">{{valueNormal}}</view>
<view class="btmFix display-flex" wx:if="{{!isEdit}}" style="padding: 0 12px;box-sizing: border-box;">
<view style="margin-top: 8px;color: #333;" hover-class="thover" data-content="{{valueNormal}}" catchtap="setCopy">
<icon class="iconfont icon-fuzhi mr4" style="font-size:18px;"></icon>
复制
</view>
<view class="" wx:if="{{!yifabu && (roleOf41 || managerRoleClassify)}}" style="margin-right: 20px;">
<button class="resetBtn" style="font-weight: 400" mark:ind='{{10}}' bindtap="showForm">编辑</button>
</view>
<view class="" wx:if="{{!yifabu && (roleOf41 || managerRoleClassify)}}">
<button type="primary" class="loginOut" bindtap="chooseTimeTap" hover-class="behover" style="font-weight: 400">发布</button>
</view>
</view>
<view class="btmFix display-flex" wx:if="{{isEdit}}" style="justify-content: center;">
<view class="" style="margin-right: 20px;">
<button class="resetBtn" style="font-weight: 400" mark:ind='{{10}}' bindtap="showForm">取消</button>
</view>
<view class="">
<button type="primary" class="loginOut" formType="submit" hover-class="behover" style="font-weight: 400">确定</button>
</view>
</view>
</form>
</view>
<view aria-role="dialog" aria-modal="true" class="fadeIn" wx:if="{{fabuD}}" style="position: relative;z-index: 999;">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__bd">确认后,机器人将自动发单,是否发单?
</view>
<view class="weui-dialog__ft">
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_default" bindtap="close">取消</view>
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_primary" style="color:#00bebe" bindtap="fabu">确认</view>
</view>
</view>
</view>

@ -0,0 +1,11 @@
@import "/pages/announceDetail/index.wxss";
page{
background-color: #fff;
}
.leftIcons{
position: relative;
padding-left: 24px;
}
.pa{
position: absolute;
}

@ -0,0 +1,494 @@
// pages/noticeDetail/index.js
const app = getApp();
import dateUtil from "../../utils/dateUtil";
Page({
/**
* 页面的初始数据
*/
data: {
roleOf41: false,
roleOf132: false,
managerRoleClassify:false,
articleId: "",
record: {},
html: "",
newContent:'',
isEdit:false,
height:"",
bohui:false,
tongguo:false,
chooseTime:false,
minute3:false,
minute740:false,
status:10,
articleTitle:""
},
setCopy(e){
var that = this;
wx.setClipboardData({
data: e.currentTarget.dataset.content,
success (res) {
wx.getClipboardData({
success (res) {
console.log(res.data) // data
wx.showToast({
title: '内容已复制',
icon: 'none',
duration: 1500
})
}
})
}
})
},
close() {
this.setData({
bohui: false,
chooseTime:false,
tongguo:false,
chexiao:false
});
},
onlyClose(){
this.setData({
minute3:false,
minute740:false
});
},
only3Close(){
// /cms/notice/publish/{noticeId}?type=1
var that = this;
wx.request({
url: app.globalData.ip + "/cms/notice/publish/"+ that.data.articleId+"?type=1",
header: app.globalData.header,
method: "GET",
success: function (res) {
wx.showToast({
title: '发布成功',
icon: 'success',
duration: 1000
})
setTimeout(() => {
// wx.redirectTo({
// url: '../announce/index',
// })
wx.navigateBack({
delta: 1,
})
},1000)
},
});
this.setData({
minute3:false,
chooseTime:false
});
},
only740Close(){
// /cms/notice/publish/{noticeId}?type=1
var that = this;
wx.request({
url: app.globalData.ip + "/cms/notice/publish/"+ that.data.articleId+"?type=2",
header: app.globalData.header,
method: "GET",
success: function (res) {
wx.showToast({
title: '发布成功',
icon: 'success',
duration: 1000
})
setTimeout(() => {
wx.navigateBack({
delta: 1,
})
},1000)
},
});
this.setData({
minute740:false,
chooseTime:false
});
},
bohuiTap() {
this.setData({
bohui: true,
});
},
tongguoTap(){
this.setData({
tongguo: true,
});
},
chooseTimeTap(){
this.setData({
chooseTime: true,
});
},
minute3Tap(){
this.setData({
minute3: true,
});
},
minute740Tap(){
this.setData({
minute740: true,
});
},
reset(){
wx.setNavigationBarTitle({
title: this.data.articleTitle,
})
},
cancelForm(){
wx.setNavigationBarTitle({
title: this.data.articleTitle,
})
this.setData({
isEdit: false,
});
},
chexiaoTap(){
this.setData({
chexiao: true,
isEdit: false,
});
},
tongguoClose(){
var that = this;
this.setData({
tongguo: false
});
let currData = {};
currData["id"] = that.data.articleId;
currData["noticeState"] = 30;
wx.request({
url: app.globalData.ip + "/cms/notice/updateNoticeState",
header: app.globalData.header,
method: "GET",
data: currData,
success: function (res) {
wx.showToast({
title: '通过成功',
icon: 'success',
duration: 1000
})
setTimeout(() => {
wx.navigateBack({
delta: 1,
})
},1000)
},
});
},
bohuiClose(){
var that = this;
this.setData({
bohui: false
});
let currData = {};
currData["id"] = that.data.articleId;
currData["noticeState"] = 20;
wx.request({
url: app.globalData.ip + "/cms/notice/updateNoticeState",
header: app.globalData.header,
method: "GET",
data: currData,
success: function (res) {
wx.showToast({
title: '驳回成功',
icon: 'success',
duration: 1000
})
setTimeout(() => {
wx.navigateBack({
delta: 1,
})
// if(that.data.status != 15){
// wx.redirectTo({
// url: '../announce/index?status='+that.data.status,
// })
// }else{
// wx.redirectTo({
// url: '../announceReview/index',
// })
// }
},1000)
},
});
},
chexiaoClose(){
var that = this;
this.setData({
chexiao: false
});
let currData = {};
currData["id"] = that.data.articleId;
currData["noticeState"] = 20;
wx.request({
url: app.globalData.ip + "/cms/notice/updateNoticeState",
header: app.globalData.header,
method: "GET",
data: currData,
success: function (res) {
wx.showToast({
title: '修改成功',
icon: 'success',
duration: 1000
})
setTimeout(() => {
wx.navigateBack({
delta: 1,
})
// if(that.data.status != 15){
// wx.redirectTo({
// url: '../announce/index?status='+that.data.status,
// })
// }else{
// wx.redirectTo({
// url: '../announceReview/index',
// })
// }
},1000)
},
});
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
console.log(options.status);
console.log(options.workOrderId);
// let pages = getCurrentPages();
// let currPage = pages[pages.length - 1];
// console.log(pages);
// console.log(currPage.route)
// pages.forEach((item,index)=>{
// })
// 15 this.data.status 审核中
this.setData({
articleId: options.workOrderId,
status:options.status,
roleOf41: app.globalData.roleOf41,
roleOf132: app.globalData.roleOf132,
managerRoleClassify:app.globalData.managerRoleClassify
});
},
showForm(){
var that = this;
that.setData({
isEdit: !that.data.isEdit
})
wx.setNavigationBarTitle({
title: "通告内容",
})
// const query = wx.createSelectorQuery()
// query.select('#textareawrap').boundingClientRect()
// query.selectViewport().scrollOffset()
// query.exec(function(res){
// that.setData({
// height: res[0].height*2 + "px"
// });
// })
},
textareaFocus(e){
console.log(e.detail)
var that = this;
that.setData({
height: e.detail.heightRpx + 400
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
this.getDetail();
},
getDetail() {
var that = this;
wx.request({
url: app.globalData.ip + "/cms/notice/detail/" + that.data.articleId,
header: app.globalData.header,
method: "GET",
success: function (res) {
console.log(res.data);
// console.log(that.convertHtmlToText(res.data.data.articleContent));
wx.setNavigationBarTitle({
title: res.data.data.title,
})
that.setData({
record: res.data.data,
newContent: res.data.data.content,
articleTitle:res.data.data.title
});
wx.request({
url: app.globalData.ip + "/msg/read/cms/" + that.data.articleId,
header: app.globalData.header,
method: "GET",
success: function (res) {
console.log(res);
console.log(res.data.data);
},
});
// let id = "#textareawrap";
},
fail: function (res) {
console.log(res);
},
});
},
formSubmit(e) {
var that = this;
wx.showLoading({
title: '提交中...',
})
console.log(e.detail);
if(app.isEmptyCheck(e.detail.value.textarea)){
wx.showToast({
title: '内容不能为空',
icon: 'error',
duration: 1000
})
wx.hideLoading();
return
}
if(app.isEmptyCheck(e.detail.value.title)){
wx.showToast({
title: '标题不能为空',
icon: 'error',
duration: 1000
})
wx.hideLoading();
return
}
console.log('form发生了submit事件携带数据为', e.detail.value)
console.log(e.detail.value.textarea.replace(/↵/g,"/\n/"))
// debugger;
let currData = {};
currData["id"] = that.data.articleId;
currData["content"] = e.detail.value.textarea;
currData["title"] = e.detail.value.title;
wx.setNavigationBarTitle({
title: e.detail.value.title,
})
wx.request({
url: app.globalData.ip + "/cms/notice/updateNotice",
header: app.globalData.header,
method: "POST",
data: currData,
success: function (res) {
wx.showToast({
title: '修改成功',
icon: 'success',
duration: 1000
})
wx.hideLoading();
that.setData({
newContent:e.detail.value.textarea,
isEdit:false
})
},
fail:function(res){
console.log(app.globalData.ip);
console.log(res);
wx.showToast({
title: '修改失败',
icon: 'success',
duration: 1000
})
wx.hideLoading();
}
});
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {},
});

@ -0,0 +1,7 @@
{
"usingComponents": {
"mp-html": "mp-html"
},
"backgroundColor":"#fff",
"navigationBarTitleText": "通告详情"
}

@ -0,0 +1,162 @@
<form catchsubmit="formSubmit">
<view style="border-top:1rpx solid #eeeeee;" wx:if="{{!isEdit}}"></view>
<view class="p10">
<view class="bgf br4" style="border-radius: 4px;padding-bottom: 96px;">
<!-- <view class="f18 c3 tc fw500" wx:if="{{!isEdit}}">{{record.articleTitle}}</view> -->
<input class="weui-input f18 c3 tc fw500" wx:if="{{isEdit}}" name="title" auto-focus placeholder="请输入标题" value="{{articleTitle}}"/>
<view style="border-top:1rpx solid #eeeeee;margin-top: 16px;" wx:if="{{isEdit}}"></view>
<!-- <view class="f14 c9 tc mb16">发布时间 : {{record.updateTime}}</view> -->
<view wx:if="{{!isEdit}}" style="white-space: pre-line;word-break: break-all;margin-top: 16px;">{{newContent}}</view>
<!-- <rich-text nodes="{{html}}"></rich-text> -->
<!-- <web-view src="http://a.matripe.com.cn/#/ShowPdf?url=https%3A%2F%2Fmatripe-cms.oss-cn-beijing.aliyuncs.com%2F2022-08-19%2F4d863b11-b0d9-4620-85b8-09ca7b8ed530_%E9%A1%B9%E7%9B%AE%E9%83%A8%E5%AE%BF%E8%88%8D%E7%AE%A1%E7%90%86%E8%A7%84%E5%AE%9A3.pdf" bindmessage=""></web-view> -->
<!-- <mp-html content="{{html}}" tag-style="{{tagStyle}}" container-style="font-size:14px;color:#333" scroll-table="true"/> -->
<textarea class="weui-textarea wta2" wx:if="{{isEdit}}" type="text" maxlength="-1" value="{{newContent}}" placeholder="请输入详情" cursor-spacing="100" placeholder-class="weui-input__placeholder" auto-height="true" bindlinechange="textareaFocus" style="height:{{height}} !important;white-space: pre-line;" id="textareawrap" name="textarea"></textarea>
</view>
<!-- <view class="mt24 mb16">
<button class="weui-btn mbtn newBtn" bindtap="showForm" wx:if="{{isEdit}}" style="margin-top:40px;" hover-class="thover" >编辑</button>
</view>
<view class="mt24 mb16" wx:if="{{!isEdit}}" style="width: 260px;margin:0 auto">
<button class="weui-btn mbtn newBtn dib quxiao" style="width: 120px;margin-right: 20px;" hover-class="thover" bindtap="showForm">取消</button>
<button class="weui-btn mbtn newBtn dib" formType="submit" style="width: 120px;" hover-class="thover" >确定</button>
</view> -->
<!-- <view class="btmFix display-flex" wx:if="{{!isEdit}}" style="justify-content: center;">
<view class="" wx:if="{{record.status == 0}}" style="margin-right: 20px;">
<button class="resetBtn" style="font-weight: 400" mark:ind='{{10}}' bindtap="fabu">确认发布</button>
</view>
<view class="" wx:if="{{record.status == 10}}" style="margin-right: 20px;">
<button class="resetBtn" style="font-weight: 400" mark:ind='{{0}}' bindtap="fabu">暂不发布</button>
</view>
<view class="">
<button type="primary" class="loginOut" bindtap="showForm" hover-class="behover" style="font-weight: 400">编辑</button>
</view>
</view> -->
<view class="btmFix display-flex" wx:if="{{!isEdit && status == 10}}" style="padding: 0 12px;box-sizing: border-box;">
<view style="margin-top: 8px;color: #333;" hover-class="thover" data-content="{{newContent}}" catchtap="setCopy">
<icon class="iconfont icon-fuzhi mr4" style="font-size:18px;"></icon>
复制
</view>
<view class="" style="margin-right: 20px;" wx:if="{{!roleOf132 || roleOf41 || managerRoleClassify}}">
<button class="resetBtn" style="font-weight: 400" mark:ind='{{10}}' bindtap="showForm">编辑</button>
</view>
<view class="" wx:if="{{!roleOf132 || roleOf41 || managerRoleClassify}}">
<button type="primary" class="loginOut" bindtap="chooseTimeTap" hover-class="behover" style="font-weight: 400">发布</button>
</view>
</view>
<view class="btmFix display-flex" wx:if="{{!isEdit && status == 30 && (!roleOf132 || roleOf41 || managerRoleClassify)}}" style="justify-content: center;">
<view class="" style="margin-right: 20px;">
<button class="resetBtn" style="font-weight: 400" mark:ind='{{10}}' bindtap="showForm">编辑</button>
</view>
<view class="">
<button type="primary" class="loginOut" bindtap="chexiaoTap" hover-class="behover" style="font-weight: 400">撤销</button>
</view>
</view>
<view class="btmFix display-flex" wx:if="{{isEdit}}" style="justify-content: center;">
<view class="" style="margin-right: 20px;">
<button class="resetBtn" style="font-weight: 400" bindtap="cancelForm">取消</button>
</view>
<view class="">
<button type="primary" class="loginOut" formType="submit" hover-class="behover" style="font-weight: 400">确定</button>
</view>
</view>
<view class="btmFix display-flex w98" wx:if="{{!isEdit && status == 15 && (!roleOf132 || roleOf41 || managerRoleClassify)}}" style="justify-content: center;padding: 0 12px;box-sizing: border-box;">
<view class="" style="justify-content: center;margin-right: 0;">
<button class="resetBtn" style="font-weight: 400" bindtap="showForm">编辑</button>
</view>
<view class="" style="justify-content: center;">
<button class="resetBtn" style="font-weight: 400" bindtap="bohuiTap">驳回</button>
</view>
<view class="" style="justify-content: center;">
<button type="primary" class="loginOut" bindtap="tongguoTap" hover-class="behover" style="font-weight: 400">通过</button>
</view>
</view>
</view>
</form>
<view aria-role="dialog" aria-modal="true" class="fadeIn" wx:if="{{bohui}}" style="position: relative;z-index: 1001;">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__bd">驳回后,系统不再自动生成明天的通告,如需自动推送,请在“通告库”手动完成。
</view>
<view class="weui-dialog__ft">
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_default" bindtap="close">取消</view>
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_primary" style="color:#00bebe" bindtap="bohuiClose">确认</view>
</view>
</view>
</view>
<view aria-role="dialog" aria-modal="true" class="fadeIn" wx:if="{{tongguo}}" style="position: relative;z-index: 1001;">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__bd">通过后该通告会进入到“待发布”列表系统会在次日7:40自动推送到发单群。</view>
<view class="weui-dialog__ft">
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_default" bindtap="close">取消</view>
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_primary" style="color:#00bebe" bindtap="tongguoClose">确认</view>
</view>
</view>
</view>
<view aria-role="dialog" aria-modal="true" class="fadeIn" wx:if="{{chexiao}}" style="position: relative;z-index: 1001;">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__bd">撤销后,系统将不再按设定时间自动推送。</view>
<view class="weui-dialog__ft">
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_default" bindtap="close">取消</view>
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_primary" style="color:#00bebe" bindtap="chexiaoClose">确认</view>
</view>
</view>
</view>
<view aria-role="dialog" aria-modal="true" class="fadeIn" wx:if="{{minute3}}" style="position: relative;z-index: 1001;">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__bd">系统将在【3分钟后】自动推送。</view>
<view class="weui-dialog__ft">
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_default" bindtap="onlyClose">取消</view>
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_primary" style="color:#00bebe" bindtap="only3Close">确认</view>
</view>
</view>
</view>
<view aria-role="dialog" aria-modal="true" class="fadeIn" wx:if="{{minute740}}" style="position: relative;z-index: 1001;">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__bd">系统将在【次日7:40】自动推送。</view>
<view class="weui-dialog__ft">
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_default" bindtap="onlyClose">取消</view>
<view aria-role="button" class="weui-dialog__btn weui-dialog__btn_primary" style="color:#00bebe" bindtap="only740Close">确认</view>
</view>
</view>
</view>
<view wx:if="{{chooseTime}}" aria-role="dialog" aria-modal="true" aria-labelledby="js_dialog_title" class="fadeIn" style="position: relative;z-index: 1000;">
<view class="weui-mask" aria-role="button" aria-label="关闭" bindtap="close"></view>
<view class="weui-actionsheet weui-actionsheet_toggle">
<view class="weui-actionsheet__title">
<view class="weui-actionsheet__title-text" id="js_dialog_title">选择发布时间</view>
</view>
<view class="weui-actionsheet__menu">
<view aria-role="button" class="weui-actionsheet__cell" bindtap="minute3Tap">3分钟后</view>
<view aria-role="button" class="weui-actionsheet__cell" bindtap="minute740Tap">次日 7:40</view>
</view>
<view class="weui-actionsheet__action">
<view aria-role="button" class="weui-actionsheet__cell" bindtap="close">取消</view>
</view>
</view>
</view>

@ -0,0 +1,48 @@
@import "/pages/goodJob/index.wxss";
page{
background-color: #fff;
}
.newBtn.quxiao{
background-color: #fff;
color:var(--color-ysd);
}
.wta2{
height:auto;min-height:23px;border-radius: 8rpx;margin-top: 16px;
}
.btmFix{
position: fixed;
z-index: 999;
/* margin-top: 24px;
position: relative; */
background-color: #fff !important;
height: 88px;
box-shadow: 0px -2px 4px 0px rgba(218,218,218,0.50);
/* margin-bottom: 24px; */
}
.btmFix button {
height: 36px;
font-size: 16px;
line-height: 36px;
}
.resetBtn{
border:1rpx solid var(--color-be);
/* background-color: var(--color-be); */
color: var(--color-be);
}
button.loginOut{
background-color: var(--color-be);
}
button.loginOut.behover{
background-color: var(--color-behover);
}
.w98 button.resetBtn,.w98 button.loginOut{
width:98px !important;
}
.btmFix > view {
margin-top: 16px;
align-items: baseline;}
button.loginOut.behover,button.loginOut:active{
background-color: var(--color-behover);
}

@ -0,0 +1,248 @@
// pages/myAgent/index.js
const app = getApp();
import dateUtil from "../../utils/dateUtil";
Page({
/**
* 页面的初始数据
*/
data: {
pageBean: {},
inputShowed: false,
inputVal: "",
recordList: [],
currIndex: '0',
phoneDialog:false,
underReviewNum: "0",
searchParam: { pageNum: 1, pageSize:20, del: 0, keys: '', noticeState: 15,type:0 },
hasReadAll: true,
isLoading: true,
hasMoreData: false,
navlist:15
},
changeactive: function (e) {
this.data.searchParam.pageNum = 1;
this.setData({
navlist: e.mark.ind,
searchParam: this.data.searchParam,
["searchParam.noticeState"]: e.mark.ind,
});
this.getList();
},
changeMenu(e) {
var that = this;
wx.showLoading({
title: '加载中...',
});
that.data.searchParam.pageNum = 1;
that.data.searchParam.searchTag = e.currentTarget.dataset.id;
this.setData({
currIndex: e.currentTarget.dataset.id,
})
this.getList();
},
showInput: function () {
this.setData({
inputShowed: true
});
},
hideInput: function () {
this.setData({
inputVal: "",
inputShowed: false
});
},
clearInput: function () {
console.log(123);
this.setData({
inputVal: ""
});
this.data.searchParam.keys = '';
this.data.searchParam.pageNum = 1;
this.getList();
},
inputTyping: function (e) {
console.log(e.detail.value);
this.setData({
inputVal: e.detail.value
});
this.data.searchParam.keys = e.detail.value;
this.data.searchParam.pageNum = 1;
this.getList();
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
//this.getLocation();
var that = this;
console.log(options.type)
// that.data.searchParam.channelId = 28;
that.setData({
searchParam: that.data.searchParam
});
},
goDetail:function(e){
var that = this;
var id = e.currentTarget.dataset.id;
wx.navigateTo({
// url: '/pages/editAgent/index?agencyId=' + id,
// url:'/pages/agentDetail/index?agencyId=' + id
url:'/pages/announceDetail/index?workOrderId=' + id + '&status=' + that.data.navlist
})
},
loadMoreData:function(){
this.data.searchParam.pageNum = this.data.searchParam.pageNum + 1;
this.getList();
},
getList: function () {
var that = this;
that.setData({
isLoading: true
});
wx.request({
url: app.globalData.ip + '/cms/notice/list',
data: that.data.searchParam,
header: app.globalData.header,
method: "GET",
success: function (res) {
console.log(res.data);
if (res.data.status == 200) {
that.setData({
isLoading: false,
underReviewNum: res.data.data.checking
});
if (res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length > 0) {
res.data.data.pageBean.recordList.forEach(item => {
item['updateTimeStr'] = dateUtil.timeShowXXX(item.updateTime);
});
}
that.setData({
recordList: res.data.data.pageBean.recordList,
isLoading: false,
});
if (res.data.data.pageBean.recordList != null && res.data.data.pageBean.recordList.length < 20) {
that.setData({
hasMoreData: false
});
} else {
that.setData({
hasMoreData: true
});
}
wx.hideLoading();
} else {
app.showTips(that, res.data.msg);
}
},
fail: function (res) {
console.log(res);
}
})
},
close: function () {
this.setData({
phoneDialog:false,
})
},
makePhone:function(e){
var that = this;
console.log(e);
that.setData({
phoneDialog:true,
phone:e.currentTarget.dataset.phone
})
// wx.makePhoneCall({
// phoneNumber: e.currentTarget.dataset.phone
// });
},
makePhoneCall:function(e){
var that = this;
wx.makePhoneCall({
phoneNumber: that.data.phone
});
},
bindCode:function(e){
console.log(e)
wx.navigateToMiniProgram({
appId: 'wxb1f7c694803f6f00', //appid
path: '/pages/scanQrcode/index?agencyUserId=' + e.currentTarget.dataset.userid,//path
extraData: { //参数
agencyUserId: e.currentTarget.dataset.userid
},
envVersion: 'release', //develop 开发版 trial 体验版 release 正式版
success(res) {
console.log('成功')
// 打开成功
}
})
},
tounderReview() {
wx.navigateTo({
url: "/pages/announceReview/index?from="+this.data.from,
});
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
this.getList();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,5 @@
{
"backgroundColor":"#f5f5f5",
"navigationBarTitleText": "审核中"
}

@ -0,0 +1,42 @@
<view class="mt12">
<block wx:if="{{recordList != null && recordList.length > 0}}">
<view class="" style=" border-bottom-left-radius: 8px;border-bottom-right-radius: 8px;">
<view hover-class="hcb" class="viewList bgf" style="padding:10px 12px 0;" wx:for="{{recordList}}" wx:for-item="item" wx:for-index="idx" data-id="{{item.id}}" bindtap="goDetail">
<view class="display-flex htc">
<!-- <view class="v-center">
<view class="v-center phoneOut pr" catchtap="makePhone" hover-stop-propagation hover-class="thover">
<icon class="iconfont icon-tongzhi" style="color:#027aff;font-size:18px;margin-top: -2px;opacity:0.65;"></icon>
<view class="{{item.read == 2 ? 'phone-circle' : ''}}"></view>
</view>
</view> -->
<view class="flex-1">
<view style="display: flex;">
<view class="flex-1" style="display: flex;align-items: center;">
<text class="" style="font-size:16px;color:#000;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;width: calc(100vw - 168px);display: inline-block;line-height:30px;">{{item.title}}</text>
</view>
<text class="c045 fr f12" wx:if="{{navlist == 40 || navlist == 30}}" style="position: relative;top: 5px;">{{item.updateTimeStr}}</text>
</view>
<view class="c9" style="font-size:14px;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;width:calc(100vw - 40px);margin-bottom:12px;line-height: 24px;">
{{item.content}}
<!-- <rich-text nodes="{{item.userServeRecordDespLatest == null ? '' : item.userServeRecordDespLatest}}" class="c065 f14 mt8"></rich-text> -->
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
<view wx:if="{{isLoading}}" class="f12 c9 tc p20">加载中...</view>
<view wx:if="{{hasMoreData}}" bindtap="loadMoreData" class="loadMore" hover-class="hcb">点击加载更多</view>
</block>
<block wx:if="{{(recordList == null || recordList.length == 0) && !isLoading}}">
<view style="margin-top:128rpx;">
<view class="center">
<icon class='t-icon cccc t-icon-zanwu' style='width:86px;height:86px;margin-bottom:20px;margin-top:30px'></icon>
<view class="f16 cccc">暂无消息</view>
</view>
</view>
</block>
</view>

@ -0,0 +1 @@
@import "/pages/announce/index.wxss";

@ -0,0 +1,159 @@
// pages/bindCard/index.js
Page({
/**
* 页面的初始数据
*/
data: {
value: '',
showClearBtn: false,
value1: '',
showClearBtn1: false,
leftOrRight:'right',
leftOrRight1:'right',
switch1Checked: false,
},
lor(){
this.setData({
leftOrRight:'left',
showClearBtn: true,
});
},
bbr(){
this.setData({
leftOrRight:'right',
showClearBtn: false,
});
},
lor1(){
this.setData({
leftOrRight1:'left',
showClearBtn1: true,
});
},
bbr1(){
this.setData({
leftOrRight1:'right',
showClearBtn1: false,
});
},
onInput(evt) {
const { value } = evt.detail;
this.setData({
value,
showClearBtn: !!value.length,
isWaring: false,
});
},
onClear() {
this.setData({
value: '',
showClearBtn: false,
isWaring: false,
});
},
onInput1(evt) {
const { value } = evt.detail;
this.setData({
value1:value,
showClearBtn1: !!value.length,
isWaring1: false,
});
},
onClear1() {
this.setData({
value1: '',
showClearBtn1: false,
isWaring1: false,
});
},
makeInfoSure(){
wx.navigateTo({
url: '/pages/bindCashSuccess/index',
})
},
switch1Change: function (e) {
console.log("radio发生change事件携带value值为", e.detail.value);
console.log(e.detail.value);
var check = this.data.switch1Checked;
if (check) {
this.data.switch1Checked = false;
console.log("已取消选中");
wx.showToast({
title: "请先阅读并同意《服务协议》及《隐私政策》",
icon: "none",
duration: 2000,
});
} else {
this.data.switch1Checked = true;
console.log("已选中");
}
this.setData({
switch1Checked: this.data.switch1Checked,
});
// if(!e.detail.value){
// }
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "绑定银行卡",
"usingComponents": {}
}

@ -0,0 +1,59 @@
<view class="p20">
<view class="wx-text-list">
<view class='wx-list-li'>
<view class='f16 mw-label '>
持卡人
</view>
<view class="section flex-right c3">
思普
</view>
</view>
<view class='wx-list-li'>
<view class='f16 mw-label '>
卡号
</view>
<view class="weui-cell__bd weui-flex">
<input class="weui-input tr" bindfocus="lor1" bindblur="bbr1" type="text" placeholder="请输入持卡人本人的银行卡号" placeholder-class="weui-input__placeholder"
value="{{value1}}" bindinput="onInput1" />
<!-- <view wx:if="{{showClearBtn1}}" class="weui-btn_reset weui-btn_icon weui-btn_input-clear" bindtap="onClear1">
<i class="weui-icon-clear"></i>
</view> -->
</view>
<!-- <view class="weui-cell__bd">
<input class="weui-input tr" placeholder-class="weui-input__placeholder" placeholder="请输入持卡人本人的银行卡号" />
</view> -->
</view>
<view class='wx-list-li'>
<view class='f16 mw-label '>
开户支行
</view>
<view class="weui-cell__bd weui-flex">
<input class="weui-input tr" bindfocus="lor" bindblur="bbr" type="text" placeholder="如: 建设银行北京中关村支行" placeholder-class="weui-input__placeholder"
value="{{value}}" bindinput="onInput" />
<!-- <view wx:if="{{showClearBtn}}" class="weui-btn_reset weui-btn_icon weui-btn_input-clear" bindtap="onClear">
<i class="weui-icon-clear"></i>
</view> -->
</view>
<!-- <view class="weui-cell__bd">
<input class="weui-input tr" placeholder-class="weui-input__placeholder" placeholder="如: 建设银行北京中关村支行"/>
</view> -->
</view>
<view></view>
</view>
</view>
<view class="f12 tc c045 display-flex" style="align-items:center;margin-left:16px">
<!-- <switch checked="{{switch1Checked}}" class="dib" color="#027AFF" style="transform:scale(.5)" bindchange="switch1Change" /> -->
<radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#f40" style="transform:scale(.7)" />
</radio-group>
我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink">《用户服务协议》</navigator>
<navigator url="../secret/index" class="aLink">《隐私政策》</navigator>
</view>
<button type='primary' class="loginOut" style="margin-top:80px;" catchtap="makeInfoSure">
确认绑定
</button>

@ -0,0 +1,9 @@
@import "/pages/myInfo/index.wxss";
page{
background-color: #fff;
}
.wx-text-list .wx-list-li{
margin-left: 0;
padding: 20px 0;
}

@ -0,0 +1,80 @@
// pages/bindCashCard/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
changeCashCard:function(){
wx.showToast({
title: '持卡人必须和实名用户一致',
icon: 'none',
duration: 2000
})
setTimeout(function(){
wx.navigateTo({
url: '/pages/bindCard/index',
})
},2000)
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "我的银行卡",
"usingComponents": {}
}

@ -0,0 +1,26 @@
<view class="p20">
<view class="wx-text-list">
<view class='wx-list-li'>
<view class='f16 mw-label '>
持卡人
</view>
<view class="section flex-right c3">
思普
</view>
</view>
<view class='wx-list-li'>
<view class='f16 mw-label '>
卡号
</view>
<view class="section flex-right c3">
中国建设银行
</view>
</view>
<view></view>
</view>
</view>
<button type='primary' class="loginOut" style="margin-top:80px;" catchtap="changeCashCard">
更换银行卡
</button>

@ -0,0 +1,9 @@
@import "/pages/myInfo/index.wxss";
page{
background-color: #fff;
}
.wx-text-list .wx-list-li{
margin-left: 0;
padding: 20px 0;
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save