|
|
|
@ -88,11 +88,19 @@ Page({
|
|
|
|
var that = this;
|
|
|
|
var that = this;
|
|
|
|
|
|
|
|
|
|
|
|
var text = "姓名:" + that.data.recordDetail.userName + "/" + (that.data.recordDetail.sex == 1 ? "男" : "女") + "/" + that.data.recordDetail.age + "岁" + (that.data.recordDetail.nation == "族" ? "" : "/" + that.data.recordDetail.nation) + "\n电话:" + (that.data.recordDetail.tel == "" || that.data.recordDetail.tel == undefined || that.data.recordDetail.tel == null ? "-" : that.data.recordDetail.tel) + "\n身份证号:" + (that.data.recordDetail.idCard == "" ? "-" : that.data.recordDetail.idCard) + "\n家庭地址:" + (that.data.recordDetail.address == "" || that.data.recordDetail.address == undefined || that.data.recordDetail.address == null ? "-" : that.data.recordDetail.address) + "\n报名岗位:" + that.data.recordDetail.storeJobName + "\n员工薪资:" + (that.data.recordDetail.employeeSalary || '-') + "\n代理政策:" + that.data.recordDetail.policy;
|
|
|
|
var text = "姓名:" + that.data.recordDetail.userName + "/" + (that.data.recordDetail.sex == 1 ? "男" : "女") + "/" + that.data.recordDetail.age + "岁" + (that.data.recordDetail.nation == "族" ? "" : "/" + that.data.recordDetail.nation) + "\n电话:" + (that.data.recordDetail.tel == "" || that.data.recordDetail.tel == undefined || that.data.recordDetail.tel == null ? "-" : that.data.recordDetail.tel) + "\n身份证号:" + (that.data.recordDetail.idCard == "" ? "-" : that.data.recordDetail.idCard) + "\n家庭地址:" + (that.data.recordDetail.address == "" || that.data.recordDetail.address == undefined || that.data.recordDetail.address == null ? "-" : that.data.recordDetail.address) + "\n报名岗位:" + that.data.recordDetail.storeJobName + "\n员工薪资:" + (that.data.recordDetail.employeeSalary || '-') + "\n代理政策:" + that.data.recordDetail.policy;
|
|
|
|
|
|
|
|
// #if MP
|
|
|
|
app.copyFun(text,()=>{
|
|
|
|
app.copyFun(text,()=>{
|
|
|
|
console.log(123123);
|
|
|
|
console.log(123123);
|
|
|
|
that.close2();
|
|
|
|
that.close2();
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
// #elif ANDROID || IOS
|
|
|
|
|
|
|
|
app.copyFun(text)
|
|
|
|
|
|
|
|
that.close2();
|
|
|
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// wx.setClipboardData({
|
|
|
|
// wx.setClipboardData({
|
|
|
|
// data: text,
|
|
|
|
// data: text,
|
|
|
|
// success (res) {
|
|
|
|
// success (res) {
|
|
|
|
@ -243,22 +251,31 @@ Page({
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
text = that.data.userinfo.totalZC;
|
|
|
|
text = that.data.userinfo.totalZC;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
wx.setClipboardData({
|
|
|
|
|
|
|
|
data: text,
|
|
|
|
// #if MP
|
|
|
|
success (res) {
|
|
|
|
app.copyFun(text,()=>{
|
|
|
|
wx.getClipboardData({
|
|
|
|
console.log(123123);
|
|
|
|
success (res) {
|
|
|
|
})
|
|
|
|
console.log(res.data); // data
|
|
|
|
// #elif ANDROID || IOS
|
|
|
|
wx.showToast({
|
|
|
|
app.copyFun(text)
|
|
|
|
title: "内容已复制",
|
|
|
|
// #endif
|
|
|
|
icon: "none",
|
|
|
|
|
|
|
|
duration: 1500,
|
|
|
|
// wx.setClipboardData({
|
|
|
|
});
|
|
|
|
// data: text,
|
|
|
|
that.close1();
|
|
|
|
// success (res) {
|
|
|
|
},
|
|
|
|
// wx.getClipboardData({
|
|
|
|
});
|
|
|
|
// success (res) {
|
|
|
|
},
|
|
|
|
// console.log(res.data); // data
|
|
|
|
});
|
|
|
|
// wx.showToast({
|
|
|
|
|
|
|
|
// title: "内容已复制",
|
|
|
|
|
|
|
|
// icon: "none",
|
|
|
|
|
|
|
|
// duration: 1500,
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
// that.close1();
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
// });
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
copyClose () {
|
|
|
|
copyClose () {
|
|
|
|
@ -267,8 +284,21 @@ Page({
|
|
|
|
app.copyFun(text,()=>{
|
|
|
|
app.copyFun(text,()=>{
|
|
|
|
console.log(123123);
|
|
|
|
console.log(123123);
|
|
|
|
that.close1();
|
|
|
|
that.close1();
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #if MP
|
|
|
|
|
|
|
|
app.copyFun(text,()=>{
|
|
|
|
|
|
|
|
console.log(123123);
|
|
|
|
|
|
|
|
that.close1();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
// #elif ANDROID || IOS
|
|
|
|
|
|
|
|
app.copyFun(text)
|
|
|
|
|
|
|
|
that.close1();
|
|
|
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// wx.setClipboardData({
|
|
|
|
// wx.setClipboardData({
|
|
|
|
// data: text,
|
|
|
|
// data: text,
|
|
|
|
// success (res) {
|
|
|
|
// success (res) {
|
|
|
|
|