|
|
|
|
@ -111,6 +111,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
isRelease: uni.getAccountInfoSync().miniProgram.envVersion === 'release',
|
|
|
|
|
isAdmin: uni.getStorageSync("apply-userinfo").admin,
|
|
|
|
|
userInfo: uni.getStorageSync("apply-userinfo"),
|
|
|
|
|
teamSetShow: false,
|
|
|
|
|
@ -190,6 +191,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
resetInfo() {
|
|
|
|
|
let that = this;
|
|
|
|
|
|
|
|
|
|
if(that.isRelease){
|
|
|
|
|
that.companyConfig = [
|
|
|
|
|
{
|
|
|
|
|
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) {
|
|
|
|
|
|