From 1e71efb5660bc8ce53b9f156f06e659fa4048941 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Mon, 11 May 2026 18:24:34 +0800 Subject: [PATCH] no message --- root/person/orderEdit.vue | 100 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 99 insertions(+), 1 deletion(-) diff --git a/root/person/orderEdit.vue b/root/person/orderEdit.vue index 7195601..60c2bd4 100644 --- a/root/person/orderEdit.vue +++ b/root/person/orderEdit.vue @@ -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,7 +191,9 @@ export default { }, resetInfo() { let that = this; - that.companyConfig = [ + + if(that.isRelease){ + that.companyConfig = [ { icon: "", label: "企业头像", @@ -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) {