no message

cyl/job_im
jscyl13849007907 4 days ago
parent 5b437d5342
commit 1e71efb566

@ -111,6 +111,7 @@ export default {
}, },
data() { data() {
return { return {
isRelease: uni.getAccountInfoSync().miniProgram.envVersion === 'release',
isAdmin: uni.getStorageSync("apply-userinfo").admin, isAdmin: uni.getStorageSync("apply-userinfo").admin,
userInfo: uni.getStorageSync("apply-userinfo"), userInfo: uni.getStorageSync("apply-userinfo"),
teamSetShow: false, teamSetShow: false,
@ -190,6 +191,8 @@ export default {
}, },
resetInfo() { resetInfo() {
let that = this; let that = this;
if(that.isRelease){
that.companyConfig = [ that.companyConfig = [
{ {
icon: "", icon: "",
@ -296,6 +299,101 @@ export default {
}, },
}, },
]; ];
}else{
that.companyConfig = [
{
icon: "",
label: "企业全称",
result: that.info.agencyName || "请输入企业全称",
value: that.info.agencyName,
fontColor: !that.info.agencyName ? "g_c_9" : "g_c_3",
path: "/root/agency/change?label=企业全称&fieldName=agencyName&value=" + that.info.agencyName,
tip: "user-name",
placeholder: "请输入企业全称",
fontSize: "16px",
type: "text",
pColumn: 19,
pRow: 12,
require: false,
params: {
label: "企业全称",
fieldName: "agencyName",
},
},
{
icon: "",
label: "企业简称",
result: that.info.fullName || "请输入企业简称",
value: that.info.fullName,
fontColor: !that.info.fullName ? "g_c_9" : "g_c_3",
path: "/root/agency/change?label=企业简称&fieldName=fullName&value=" + that.info.fullName,
tip: "user-name",
placeholder: "请输入企业简称",
fontSize: "16px",
type: "text",
pColumn: 19,
pRow: 12,
require: false,
params: {
label: "企业简称",
fieldName: "fullName",
},
},
{
icon: "",
label: "宣传口号",
result: that.info.slogan || "请输入宣传口号",
value: that.info.slogan,
fontColor: !that.info.slogan ? "g_c_9" : "g_c_3",
path: "/root/agency/change?label=宣传口号&fieldName=slogan&value=" + that.info.slogan,
tip: "user-name",
placeholder: "请输入宣传口号",
fontSize: "16px",
type: "text",
pColumn: 19,
pRow: 12,
require: false,
params: {
label: "宣传口号",
fieldName: "slogan",
},
},
{
icon: "",
label: "企业地址",
result: that.info.address || "请选择企业地址",
fontColor: !that.info.address ? "g_c_9" : "g_c_3",
path: "/root/agency/change?label=企业地址&fieldName=address&value=" + JSON.stringify({ address: that.info.address, lat: that.info.lat, lng: that.info.lng }),
tip: "dizhi",
placeholder: "请选择企业地址",
type: "slot",
fontSize: "16px",
pColumn: 19,
pRow: 12,
require: false,
suffix: "icon-dizhi1",
},
{
icon: "",
label: "企业简介",
result: that.info.desp || "请输入企业简介",
fontColor: !that.info.desp ? "g_c_9" : "g_c_3",
// value: that.info.desp || '',
path: "/root/agency/change?label=企业简介&fieldName=desp&value=" + that.info.desp,
tip: "user-more-word",
placeholder: "请输入企业简介",
type: "text",
fontSize: "16px",
pColumn: 19,
pRow: 12,
params: {
label: "企业简介",
fieldName: "desp",
},
},
];
}
}, },
handleItemClick(e) { handleItemClick(e) {

Loading…
Cancel
Save