适配微信小程序
This commit is contained in:
13
unpackage/dist/build/mp-weixin/app.json
vendored
13
unpackage/dist/build/mp-weixin/app.json
vendored
@@ -46,6 +46,7 @@
|
||||
"workspace/workspace",
|
||||
"workspace/scene-detail",
|
||||
"furniture_customer/furniture_customer",
|
||||
"furniture_reception/furniture_reception_entry",
|
||||
"bluetooth-recorder/bluetooth-recorder",
|
||||
"uni-agree/uni-agree",
|
||||
"ucenter/settings/settings",
|
||||
@@ -86,18 +87,6 @@
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/furniture_reception/furniture_reception",
|
||||
"iconPath": "static/tabbar/reception.png",
|
||||
"selectedIconPath": "static/tabbar/reception_active.png",
|
||||
"text": "接待"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/ai_analysis/ai_analysis",
|
||||
"iconPath": "static/tabbar/ai_analysis.png",
|
||||
"selectedIconPath": "static/tabbar/ai_analysis_active.png",
|
||||
"text": "AI分析"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/workbench/workbench",
|
||||
"iconPath": "static/tabbar/team.png",
|
||||
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/components/ai-analysis-dashboard-body.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/ai-analysis-dashboard-body.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../common/vendor.js"),o={name:"AiAnalysisDashboardBody",props:{contentTop:{type:String,default:""},contentBottom:{type:String,default:"96rpx"}},data:()=>({showQualityCoverage:!1,openQualityCoverageTrigger:0}),computed:{scrollTop(){return this.contentTop||"88rpx"},scrollBottom(){return this.contentBottom||"96rpx"}},methods:{showQualityCoveragePopup(){this.showQualityCoverage=!0,this.$nextTick((()=>{this.openQualityCoverageTrigger++}))},onQualityCoveragePopupClose(){this.showQualityCoverage=!1},navigateToPage(o){const t=`pages-subpackage/ai_features/${o}/${o}`;e.index.navigateTo({url:`/${t}`,fail:o=>{console.error("导航失败:",o),e.index.showToast({title:"页面跳转失败",icon:"none"})}})},quickJumpReceptionTab(o){if(["status","reception","tag"].includes(o)){try{e.index.setStorageSync("workbench-reception-tab",o)}catch(t){console.warn("[AiAnalysisDashboardBody] 写入接待tab快捷跳转参数失败:",t)}e.index.navigateTo({url:`/pages-subpackage/furniture_reception/furniture_reception_entry?tab=${encodeURIComponent(o)}`,fail:o=>{console.error("[AiAnalysisDashboardBody] 快捷跳转接待页失败:",o),e.index.showToast({title:"跳转失败,请稍后重试",icon:"none"})}})}},quickJumpCustomerTab(o){["service","customer"].includes(o)&&e.index.navigateTo({url:`/pages-subpackage/furniture_customer/furniture_customer?tab=${o}`,fail:o=>{console.error("[AiAnalysisDashboardBody] 快捷跳转客户页失败:",o),e.index.showToast({title:"跳转失败,请稍后重试",icon:"none"})}})}}};if(!Array){e.resolveComponent("QualityCoveragePopup")()}const t=e._export_sfc(o,[["render",function(o,t,a,i,n,r){return e.e({a:e.o((e=>r.quickJumpReceptionTab("reception")),"9a"),b:e.o((e=>r.quickJumpReceptionTab("status")),"18"),c:e.o((e=>r.quickJumpReceptionTab("tag")),"59"),d:e.o((e=>r.quickJumpCustomerTab("customer")),"7c"),e:e.o((e=>r.quickJumpCustomerTab("service")),"e4"),f:e.o((e=>r.navigateToPage("recording_duration")),"99"),g:e.o((e=>r.navigateToPage("customer_count")),"57"),h:e.o(((...e)=>r.showQualityCoveragePopup&&r.showQualityCoveragePopup(...e)),"05"),i:e.o((e=>r.navigateToPage("speech_rating")),"a9"),j:e.o((e=>r.navigateToPage("intent_level")),"5b"),k:e.o((e=>r.navigateToPage("deal_attribution")),"4b"),l:e.o((e=>r.navigateToPage("opening_rate")),"89"),m:e.o((e=>r.navigateToPage("over_commitment")),"52"),n:e.o((e=>r.navigateToPage("red_line_touch")),"e8"),o:r.scrollTop,p:r.scrollBottom,q:n.showQualityCoverage},n.showQualityCoverage?{r:e.o(r.onQualityCoveragePopupClose,"99"),s:e.p({"open-trigger":n.openQualityCoverageTrigger})}:{})}],["__scopeId","data-v-da88ed95"]]);wx.createComponent(t);
|
||||
4
unpackage/dist/build/mp-weixin/components/ai-analysis-dashboard-body.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/ai-analysis-dashboard-body.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/ai-analysis-dashboard-body.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/ai-analysis-dashboard-body.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/components/ai-analysis-dashboard-body.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/ai-analysis-dashboard-body.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.ai-dashboard-body.data-v-da88ed95{position:relative;width:100%}.content.data-v-da88ed95{padding-top:0!important;margin-top:0!important;position:relative;top:0;min-height:calc(100vh - 200rpx)}.content-scroll.data-v-da88ed95{position:absolute;left:0;right:0;top:0;bottom:0;padding:0!important;margin:0!important;box-sizing:border-box}.content-scroll>view.data-v-da88ed95{margin-top:0;padding-top:0;margin-bottom:0;padding-bottom:0}.category-section.data-v-da88ed95{margin:20rpx 30rpx;background:#fff;border-radius:16rpx;overflow:hidden;box-shadow:0 2rpx 8rpx rgba(0,0,0,.04)}.category-section.data-v-da88ed95:first-child{margin-top:0}.category-section.data-v-da88ed95:last-child{margin-bottom:0}.category-header.data-v-da88ed95{display:flex;align-items:center;padding:30rpx;background:#fff;border-bottom:1rpx solid #f0f0f0}.category-icon.data-v-da88ed95{font-size:32rpx;margin-right:20rpx}.category-title.data-v-da88ed95{font-size:32rpx;font-weight:500;color:#333}.function-grid.data-v-da88ed95{display:flex;flex-wrap:wrap;padding:10rpx}.quick-links-section .function-item.data-v-da88ed95{width:calc(33.333% - 10rpx);background:#fff;border-radius:12rpx;padding:24rpx 12rpx;margin:5rpx;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #f0f0f0;box-sizing:border-box}.two-column .function-item.data-v-da88ed95{flex:1;background:#fff;border-radius:12rpx;padding:24rpx 16rpx;margin:0 5rpx;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #f0f0f0}.three-column .function-item.data-v-da88ed95{width:31%;background:#fff;border-radius:12rpx;padding:24rpx 12rpx;margin:1%;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #f0f0f0}.sales-analysis .function-item.full-row-item.data-v-da88ed95{flex:1;width:calc(50% - 10rpx);background:#fff;border-radius:12rpx;padding:24rpx 16rpx;margin:0 5rpx;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #f0f0f0}.sales-analysis .function-item.new-line-item.data-v-da88ed95{flex-basis:100%;width:calc(50% - 10rpx);margin-top:10rpx}.function-item.data-v-da88ed95:active{transform:scale(.95);box-shadow:0 1rpx 2rpx rgba(0,0,0,.1)}.function-icon.data-v-da88ed95{font-size:48rpx;margin-bottom:12rpx}.function-name.data-v-da88ed95{display:block;font-size:28rpx;font-weight:500;color:#333;margin-bottom:8rpx}.function-desc.data-v-da88ed95{display:block;font-size:24rpx;color:#666;line-height:1.4}
|
||||
@@ -40,13 +40,6 @@ Component({
|
||||
iconPath: '/static/tabbar/insight.png',
|
||||
selectedIconPath: '/static/tabbar/insight_active.png',
|
||||
},
|
||||
{
|
||||
key: 'furniture_reception',
|
||||
text: '接待',
|
||||
pagePath: 'pages/furniture_reception/furniture_reception',
|
||||
iconPath: '/static/tabbar/reception.png',
|
||||
selectedIconPath: '/static/tabbar/reception_active.png',
|
||||
},
|
||||
{
|
||||
key: 'common_begin_reception',
|
||||
text: '开始接待',
|
||||
@@ -62,11 +55,11 @@ Component({
|
||||
selectedIconPath: '/static/tabbar/customer_active.png',
|
||||
},
|
||||
{
|
||||
key: 'ai_analysis',
|
||||
text: 'AI分析',
|
||||
pagePath: 'pages/ai_analysis/ai_analysis',
|
||||
iconPath: '/static/tabbar/ai_analysis.png',
|
||||
selectedIconPath: '/static/tabbar/ai_analysis_active.png',
|
||||
key: 'workbench',
|
||||
text: '工作台',
|
||||
pagePath: 'pages/workbench/workbench',
|
||||
iconPath: '/static/tabbar/team.png',
|
||||
selectedIconPath: '/static/tabbar/team_active.png',
|
||||
},
|
||||
{
|
||||
key: 'furniture_top_sales',
|
||||
@@ -280,10 +273,9 @@ Component({
|
||||
'team': 'pages/team/team',
|
||||
'ucenter': 'pages/ucenter/ucenter',
|
||||
'meeting_summary': 'pages-subpackage/meeting_summary/meeting_summary',
|
||||
'furniture_reception': 'pages/furniture_reception/furniture_reception',
|
||||
'common_begin_reception': 'pages/furniture_reception/common_begin_reception',
|
||||
'workbench': 'pages/workbench/workbench',
|
||||
'furniture_customer': 'pages-subpackage/furniture_customer/furniture_customer',
|
||||
'ai_analysis': 'pages/ai_analysis/ai_analysis',
|
||||
'furniture_top_sales': 'pages/furniture_top_sales/furniture_top_sales'
|
||||
};
|
||||
|
||||
@@ -511,7 +503,7 @@ Component({
|
||||
const hasFurnitureRole = roles.includes('furniture');
|
||||
|
||||
if (isAdminFurniture || hasFurnitureRole) {
|
||||
const furnitureTabs = ['furniture_reception', 'furniture_customer', 'ai_analysis', 'ucenter'];
|
||||
const furnitureTabs = ['workbench', 'ucenter'];
|
||||
console.log('[TabBar][allowed] furniture/admin_furniture role ->', furnitureTabs);
|
||||
return furnitureTabs;
|
||||
}
|
||||
|
||||
@@ -34,13 +34,6 @@ export default {
|
||||
roles: [],
|
||||
currentPath: '',
|
||||
allTabs: [
|
||||
{
|
||||
key: 'furniture_reception',
|
||||
text: '接待',
|
||||
pagePath: '/pages/furniture_reception/furniture_reception',
|
||||
iconPath: '/static/tabbar/reception.png',
|
||||
selectedIconPath: '/static/tabbar/reception_active.png',
|
||||
},
|
||||
{
|
||||
key: 'furniture_customer',
|
||||
text: '客户',
|
||||
@@ -78,11 +71,11 @@ export default {
|
||||
selectedIconPath: '/static/tabbar/me_active.png',
|
||||
},
|
||||
{
|
||||
key: 'ai_analysis',
|
||||
text: 'AI分析',
|
||||
pagePath: '/pages/ai_analysis/ai_analysis',
|
||||
iconPath: '/static/tabbar/ai_analysis.png',
|
||||
selectedIconPath: '/static/tabbar/ai_analysis_active.png',
|
||||
key: 'workbench',
|
||||
text: '工作台',
|
||||
pagePath: '/pages/workbench/workbench',
|
||||
iconPath: '/static/tabbar/team.png',
|
||||
selectedIconPath: '/static/tabbar/team_active.png',
|
||||
},
|
||||
{
|
||||
key: 'meeting_summary',
|
||||
@@ -96,36 +89,22 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
furnitureTabs() {
|
||||
// 强制返回所有家具角色的tab,使用与pages.json相同的路径格式
|
||||
// 与 pages.json 的 tabBar 一致:工作台、我的
|
||||
return [
|
||||
{
|
||||
key: 'furniture_reception',
|
||||
text: '接待',
|
||||
pagePath: 'pages/furniture_reception/furniture_reception', // 移除开头的/
|
||||
iconPath: '/static/tabbar/reception.png',
|
||||
selectedIconPath: '/static/tabbar/reception_active.png',
|
||||
},
|
||||
{
|
||||
key: 'furniture_customer',
|
||||
text: '客户',
|
||||
pagePath: 'pages-subpackage/furniture_customer/furniture_customer', // 移除开头的/
|
||||
iconPath: '/static/tabbar/customer.png',
|
||||
selectedIconPath: '/static/tabbar/customer_active.png',
|
||||
},
|
||||
{
|
||||
key: 'ai_analysis',
|
||||
text: 'AI分析',
|
||||
pagePath: 'pages/ai_analysis/ai_analysis',
|
||||
iconPath: '/static/tabbar/ai_analysis.png',
|
||||
selectedIconPath: '/static/tabbar/ai_analysis_active.png',
|
||||
key: 'workbench',
|
||||
text: '工作台',
|
||||
pagePath: '/pages/workbench/workbench',
|
||||
iconPath: '/static/tabbar/team.png',
|
||||
selectedIconPath: '/static/tabbar/team_active.png',
|
||||
},
|
||||
{
|
||||
key: 'ucenter',
|
||||
text: '我的',
|
||||
pagePath: 'pages/ucenter/ucenter', // 移除开头的/
|
||||
pagePath: '/pages/ucenter/ucenter',
|
||||
iconPath: '/static/tabbar/me.png',
|
||||
selectedIconPath: '/static/tabbar/me_active.png',
|
||||
}
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
@@ -134,7 +113,7 @@ export default {
|
||||
console.log('VISIBLE TABS CALC - THIS MUST SHOW IN H5');
|
||||
|
||||
// 简化逻辑:直接返回家具相关的tabs,跳过权限检查
|
||||
const furnitureKeys = ['furniture_reception', 'furniture_customer', 'ai_analysis', 'ucenter'];
|
||||
const furnitureKeys = ['workbench', 'ucenter'];
|
||||
const result = furnitureKeys.map(key => {
|
||||
return this.allTabs.find(tab => tab.key === key);
|
||||
}).filter(Boolean);
|
||||
@@ -289,15 +268,15 @@ export default {
|
||||
console.log('GET ALLOWED KEYS - 简化版本,总是返回家具相关tabs');
|
||||
|
||||
// 简化逻辑:总是返回家具相关的tabs
|
||||
const furnitureTabs = ['furniture_reception', 'furniture_customer', 'ai_analysis', 'ucenter'];
|
||||
const furnitureTabs = ['workbench', 'ucenter'];
|
||||
console.log('[TabBar][allowed] 简化逻辑 ->', furnitureTabs);
|
||||
return furnitureTabs;
|
||||
},
|
||||
// #ifdef H5
|
||||
toggleNativeTabs() {
|
||||
// H5 平台自定义 tabbar 不生效,直接根据角色显隐原生 tabbar 项
|
||||
// 当前位置顺序(根据 pages.json 中的 tabBar.list 顺序):接待、客户、AI分析、我的、团队、总结和统计…
|
||||
const ORDER = ['furniture_reception', 'furniture_customer', 'ai_analysis', 'ucenter', 'reception', 'customer', 'team', 'meeting_summary', 'common_begin_reception'];
|
||||
// 当前位置顺序(与 pages.json 的 tabBar.list 一致):工作台、我的…
|
||||
const ORDER = ['workbench', 'ucenter', 'reception', 'customer', 'team', 'meeting_summary', 'common_begin_reception'];
|
||||
const allowed = this.getAllowedKeys();
|
||||
// 限制重试次数,防止渲染时机未就绪
|
||||
this._h5TabRetries = (this._h5TabRetries || 0) + 1;
|
||||
@@ -326,10 +305,8 @@ export default {
|
||||
isInTabBar(pagePath) {
|
||||
// 检查页面路径是否在原生tabBar配置中
|
||||
const tabBarList = [
|
||||
'pages/furniture_reception/furniture_reception',
|
||||
'pages-subpackage/furniture_customer/furniture_customer',
|
||||
'pages/ai_analysis/ai_analysis',
|
||||
'pages/ucenter/ucenter'
|
||||
'pages/workbench/workbench',
|
||||
'pages/ucenter/ucenter',
|
||||
];
|
||||
const normalizedPath = pagePath.startsWith('/') ? pagePath.substring(1) : pagePath;
|
||||
const result = tabBarList.includes(normalizedPath);
|
||||
@@ -367,9 +344,7 @@ export default {
|
||||
const allElements = document.querySelectorAll('*');
|
||||
const tabElements = Array.from(allElements).filter(el =>
|
||||
el.textContent && (
|
||||
el.textContent.includes('接待') ||
|
||||
el.textContent.includes('客户') ||
|
||||
el.textContent.includes('AI分析') ||
|
||||
el.textContent.includes('工作台') ||
|
||||
el.textContent.includes('我的')
|
||||
)
|
||||
);
|
||||
@@ -406,9 +381,9 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
// 按文本内容排序:接待、客户、AI分析、我的
|
||||
// 按文本内容排序:工作台、我的
|
||||
const sortedElements = tabElements.sort((a, b) => {
|
||||
const order = ['接待', '客户', 'AI分析', '我的'];
|
||||
const order = ['工作台', '我的'];
|
||||
const aIndex = order.findIndex(text => a.textContent.includes(text));
|
||||
const bIndex = order.findIndex(text => b.textContent.includes(text));
|
||||
return aIndex - bIndex;
|
||||
@@ -418,7 +393,7 @@ export default {
|
||||
|
||||
// 处理每个元素
|
||||
sortedElements.forEach((element, index) => {
|
||||
const keyMap = ['furniture_reception', 'furniture_customer', 'ai_analysis', 'ucenter'];
|
||||
const keyMap = ['workbench', 'ucenter'];
|
||||
const key = keyMap[index];
|
||||
const shouldShow = allowed.includes(key);
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";const n=require("../../common/vendor.js"),e={name:"FurnitureReceptionEntry",components:{FurnitureReceptionImpl:()=>"./furniture_reception-impl.js"},data:()=>({incomingTab:""}),onLoad(n={}){const e=null!=n.tab?String(n.tab):"";this.incomingTab=["status","reception","tag"].includes(e)?e:"reception"}};if(!Array){n.resolveComponent("furniture-reception-impl")()}const t=n._export_sfc(e,[["render",function(e,t,i,r,o,c){return{a:n.p({incomingTab:o.incomingTab})}}]]);wx.createPage(t);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"furniture-reception-impl": "./furniture_reception-impl"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<furniture-reception-impl wx:if="{{a}}" u-i="85aeeb16-0" bind:__l="__l" u-p="{{a}}"/>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),n={data:()=>({sceneInfo:{title:"",navItems:[]}}),onLoad(n){if(n.scene)try{this.sceneInfo=JSON.parse(decodeURIComponent(n.scene))}catch(o){console.error("解析场景信息失败:",o),e.index.showToast({title:"参数错误",icon:"none"}),setTimeout((()=>{e.index.navigateBack()}),1500)}},methods:{goBack(){e.index.navigateBack()},navigateToPage(n){if(n.path){["/pages/furniture_reception/furniture_reception","/pages-subpackage/furniture_customer/furniture_customer","/pages/furniture_top_sales/furniture_top_sales","/pages/ucenter/ucenter"].includes(n.path)?e.index.switchTab({url:n.path,fail:n=>{console.error("跳转失败:",n),e.index.showToast({title:"页面不存在",icon:"none"})}}):e.index.navigateTo({url:n.path,fail:n=>{console.error("跳转失败:",n),e.index.showToast({title:"页面不存在",icon:"none"})}})}else e.index.showToast({title:"页面路径未配置",icon:"none"})}}};if(!Array){(e.resolveComponent("uni-nav-bar")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const o=e._export_sfc(n,[["render",function(n,o,t,i,a,s){return{a:e.o(s.goBack,"23"),b:e.p({fixed:!0,statusBar:!0,border:!1,title:a.sceneInfo.title,leftIcon:"left",color:"#333",backgroundColor:"#FFFFFF"}),c:e.f(a.sceneInfo.navItems,((n,o,t)=>({a:"d06f0ee7-1-"+t,b:e.t(n.title),c:"d06f0ee7-2-"+t,d:o,e:e.o((e=>s.navigateToPage(n)),o)}))),d:e.p({type:"right",size:"20",color:"#CCCCCC"}),e:e.p({type:"right",size:"16",color:"#CCCCCC"})}}],["__scopeId","data-v-d06f0ee7"]]);wx.createPage(o);
|
||||
"use strict";const e=require("../../common/vendor.js"),n={data:()=>({sceneInfo:{title:"",navItems:[]}}),onLoad(n){if(n.scene)try{this.sceneInfo=JSON.parse(decodeURIComponent(n.scene))}catch(o){console.error("解析场景信息失败:",o),e.index.showToast({title:"参数错误",icon:"none"}),setTimeout((()=>{e.index.navigateBack()}),1500)}},methods:{goBack(){e.index.navigateBack()},navigateToPage(n){if(n.path){const o=["/pages-subpackage/furniture_customer/furniture_customer","/pages/workbench/workbench","/pages/furniture_top_sales/furniture_top_sales","/pages/ucenter/ucenter"];"/pages/furniture_reception/furniture_reception"===n.path?e.index.navigateTo({url:n.path,fail:n=>{console.error("跳转失败:",n),e.index.showToast({title:"页面不存在",icon:"none"})}}):o.includes(n.path)?e.index.switchTab({url:n.path,fail:n=>{console.error("跳转失败:",n),e.index.showToast({title:"页面不存在",icon:"none"})}}):e.index.navigateTo({url:n.path,fail:n=>{console.error("跳转失败:",n),e.index.showToast({title:"页面不存在",icon:"none"})}})}else e.index.showToast({title:"页面路径未配置",icon:"none"})}}};if(!Array){(e.resolveComponent("uni-nav-bar")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const o=e._export_sfc(n,[["render",function(n,o,t,i,a,r){return{a:e.o(r.goBack,"23"),b:e.p({fixed:!0,statusBar:!0,border:!1,title:a.sceneInfo.title,leftIcon:"left",color:"#333",backgroundColor:"#FFFFFF"}),c:e.f(a.sceneInfo.navItems,((n,o,t)=>({a:"8dd186f2-1-"+t,b:e.t(n.title),c:"8dd186f2-2-"+t,d:o,e:e.o((e=>r.navigateToPage(n)),o)}))),d:e.p({type:"right",size:"20",color:"#CCCCCC"}),e:e.p({type:"right",size:"16",color:"#CCCCCC"})}}],["__scopeId","data-v-8dd186f2"]]);wx.createPage(o);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="page data-v-d06f0ee7"><uni-nav-bar wx:if="{{b}}" class="data-v-d06f0ee7" bindclickLeft="{{a}}" u-i="d06f0ee7-0" bind:__l="__l" u-p="{{b}}"></uni-nav-bar><view class="content data-v-d06f0ee7"><view class="nav-list data-v-d06f0ee7"><view wx:for="{{c}}" wx:for-item="item" wx:key="d" class="nav-item data-v-d06f0ee7" bindtap="{{item.e}}"><view class="nav-item-content data-v-d06f0ee7"><view class="nav-item-icon data-v-d06f0ee7"><uni-icons wx:if="{{d}}" class="data-v-d06f0ee7" u-i="{{item.a}}" bind:__l="__l" u-p="{{d}}"></uni-icons></view><text class="nav-item-title data-v-d06f0ee7">{{item.b}}</text><view class="nav-item-arrow data-v-d06f0ee7"><uni-icons wx:if="{{e}}" class="data-v-d06f0ee7" u-i="{{item.c}}" bind:__l="__l" u-p="{{e}}"></uni-icons></view></view></view></view></view></view>
|
||||
<view class="page data-v-8dd186f2"><uni-nav-bar wx:if="{{b}}" class="data-v-8dd186f2" bindclickLeft="{{a}}" u-i="8dd186f2-0" bind:__l="__l" u-p="{{b}}"></uni-nav-bar><view class="content data-v-8dd186f2"><view class="nav-list data-v-8dd186f2"><view wx:for="{{c}}" wx:for-item="item" wx:key="d" class="nav-item data-v-8dd186f2" bindtap="{{item.e}}"><view class="nav-item-content data-v-8dd186f2"><view class="nav-item-icon data-v-8dd186f2"><uni-icons wx:if="{{d}}" class="data-v-8dd186f2" u-i="{{item.a}}" bind:__l="__l" u-p="{{d}}"></uni-icons></view><text class="nav-item-title data-v-8dd186f2">{{item.b}}</text><view class="nav-item-arrow data-v-8dd186f2"><uni-icons wx:if="{{e}}" class="data-v-8dd186f2" u-i="{{item.c}}" bind:__l="__l" u-p="{{e}}"></uni-icons></view></view></view></view></view></view>
|
||||
@@ -1 +1 @@
|
||||
.page.data-v-d06f0ee7{min-height:100vh;background-color:#f5f5f5}.content.data-v-d06f0ee7{padding:44px 16px 20px}.nav-list.data-v-d06f0ee7{background:#fff;border-radius:12px;overflow:hidden}.nav-item.data-v-d06f0ee7{border-bottom:1px solid #F0F0F0}.nav-item.data-v-d06f0ee7:last-child{border-bottom:none}.nav-item-content.data-v-d06f0ee7{display:flex;align-items:center;padding:20px 16px;transition:background-color .2s}.nav-item:active .nav-item-content.data-v-d06f0ee7{background-color:#f5f5f5}.nav-item-icon.data-v-d06f0ee7{margin-right:12px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border-radius:8px}.nav-item-title.data-v-d06f0ee7{flex:1;font-size:16px;color:#333;font-weight:500}.nav-item-arrow.data-v-d06f0ee7{margin-left:12px}
|
||||
.page.data-v-8dd186f2{min-height:100vh;background-color:#f5f5f5}.content.data-v-8dd186f2{padding:44px 16px 20px}.nav-list.data-v-8dd186f2{background:#fff;border-radius:12px;overflow:hidden}.nav-item.data-v-8dd186f2{border-bottom:1px solid #F0F0F0}.nav-item.data-v-8dd186f2:last-child{border-bottom:none}.nav-item-content.data-v-8dd186f2{display:flex;align-items:center;padding:20px 16px;transition:background-color .2s}.nav-item:active .nav-item-content.data-v-8dd186f2{background-color:#f5f5f5}.nav-item-icon.data-v-8dd186f2{margin-right:12px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border-radius:8px}.nav-item-title.data-v-8dd186f2{flex:1;font-size:16px;color:#333;font-weight:500}.nav-item-arrow.data-v-8dd186f2{margin-left:12px}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"ai-analysis-dashboard-body": "../../components/ai-analysis-dashboard-body",
|
||||
"uni-nav-bar": "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
page.data-v-609012d3{background-color:#f5f5f5}.page.data-v-609012d3{min-height:100vh;background-color:#f5f5f5}.content.data-v-609012d3{padding-top:0!important;margin-top:0!important;position:relative;min-height:100vh;top:0}.data-v-609012d3 .uni-navbar__placeholder,.data-v-609012d3 .uni-navbar__placeholder-view,.data-v-609012d3 [class*=tabbar][class*=placeholder],.data-v-609012d3 [class*=safe-area][class*=bottom],.data-v-609012d3 [class*=bottom][class*=safe]{display:none!important;height:0!important}.content-scroll.data-v-609012d3{position:absolute;left:0;right:0;top:0;bottom:0;padding:0!important;margin:0!important;box-sizing:border-box}.content-scroll>view.data-v-609012d3{margin-top:0;padding-top:0;margin-bottom:0;padding-bottom:0}.category-section.data-v-609012d3{margin:20rpx 30rpx;background:#fff;border-radius:16rpx;overflow:hidden;box-shadow:0 2rpx 8rpx rgba(0,0,0,.04)}.category-section.data-v-609012d3:first-child{margin-top:0}.category-section.data-v-609012d3:last-child{margin-bottom:0}.category-header.data-v-609012d3{display:flex;align-items:center;padding:30rpx;background:#fff;border-bottom:1rpx solid #F0F0F0}.category-icon.data-v-609012d3{font-size:32rpx;margin-right:20rpx}.category-title.data-v-609012d3{font-size:32rpx;font-weight:500;color:#333}.function-grid.data-v-609012d3{display:flex;flex-wrap:wrap;padding:10rpx}.quick-links-section .function-item.data-v-609012d3{width:calc(33.333% - 10rpx);background:#fff;border-radius:12rpx;padding:24rpx 12rpx;margin:5rpx;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #F0F0F0;box-sizing:border-box}.two-column .function-item.data-v-609012d3{flex:1;background:#fff;border-radius:12rpx;padding:24rpx 16rpx;margin:0 5rpx;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #F0F0F0}.three-column .function-item.data-v-609012d3{width:31%;background:#fff;border-radius:12rpx;padding:24rpx 12rpx;margin:1%;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #F0F0F0}.sales-analysis .function-item.full-row-item.data-v-609012d3{flex:1;width:calc(50% - 10rpx);background:#fff;border-radius:12rpx;padding:24rpx 16rpx;margin:0 5rpx;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #F0F0F0}.sales-analysis .function-item.new-line-item.data-v-609012d3{flex-basis:100%;width:calc(50% - 10rpx);margin-top:10rpx}.function-item.data-v-609012d3:active{transform:scale(.95);box-shadow:0 1rpx 2rpx rgba(0,0,0,.1)}.function-icon.data-v-609012d3{font-size:48rpx;margin-bottom:12rpx}.function-name.data-v-609012d3{display:block;font-size:28rpx;font-weight:500;color:#333;margin-bottom:8rpx}.function-desc.data-v-609012d3{display:block;font-size:24rpx;color:#666;line-height:1.4}
|
||||
page.data-v-eec594bd{background-color:#f5f5f5}.page.data-v-eec594bd{min-height:100vh;background-color:#f5f5f5}.content.data-v-eec594bd{padding-top:0!important;margin-top:0!important;position:relative;width:100%;min-height:calc(100vh - 200rpx);top:0}.data-v-eec594bd .uni-navbar__placeholder,.data-v-eec594bd .uni-navbar__placeholder-view,.data-v-eec594bd [class*=tabbar][class*=placeholder],.data-v-eec594bd [class*=safe-area][class*=bottom],.data-v-eec594bd [class*=bottom][class*=safe]{display:none!important;height:0!important}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),a={components:{FurnitureReceptionImpl:()=>"../../pages-subpackage/furniture_reception/furniture_reception-impl.js"},data:()=>({implReady:!1,incomingTab:"",error:""}),onLoad(){this.loadImpl()},onShow(){try{const a=["status","reception","tag"],o=(e.index.getStorageSync("workbench-reception-tab")||"").toString();a.includes(o)&&(this.incomingTab="",this.$nextTick((()=>{this.incomingTab=o})),e.index.removeStorageSync("workbench-reception-tab"))}catch(a){}},methods:{loadSubPackagePagesSubpackage:()=>new Promise(((a,o)=>{e.index&&e.index.loadSubPackage?e.index.loadSubPackage({name:"pages-subpackage",success:a,fail:()=>{e.index.loadSubPackage({root:"pages-subpackage",success:a,fail:o})}}):a()})),async loadImpl(){try{await this.loadSubPackagePagesSubpackage(),this.implReady=!0}catch(e){console.error("[FurnitureReceptionHost] loadImpl failed:",e),this.error="接待模块加载失败,请重试"}}}};if(!Array){e.resolveComponent("FurnitureReceptionImpl")()}const o=e._export_sfc(a,[["render",function(a,o,r,n,i,t){return e.e({a:i.implReady},i.implReady?{b:e.p({incomingTab:i.incomingTab})}:e.e({c:i.error},i.error?{d:e.t(i.error)}:{}))}]]);wx.createPage(o);
|
||||
"use strict";const e=require("../../common/vendor.js"),t={components:{FurnitureReceptionImpl:()=>"../../pages-subpackage/furniture_reception/furniture_reception-impl.js"},data:()=>({implReady:!1,incomingTab:"",error:""}),onLoad(t){const a=t&&t.tab;if(a&&["status","reception","tag"].includes(String(a)))try{e.index.setStorageSync("workbench-reception-tab",String(a))}catch(i){}this.loadImpl()},onShow(){try{const t=["status","reception","tag"],a=(e.index.getStorageSync("workbench-reception-tab")||"").toString();t.includes(a)&&(e.index.removeStorageSync("workbench-reception-tab"),this.implReady?(this.incomingTab="",this.$nextTick((()=>{this.incomingTab=a}))):this.incomingTab=a)}catch(t){}this.refreshImplDataIfReady()},methods:{loadSubPackagePagesSubpackage:()=>new Promise(((t,a)=>{e.index&&e.index.loadSubPackage?e.index.loadSubPackage({name:"pages-subpackage",success:t,fail:()=>{e.index.loadSubPackage({root:"pages-subpackage",success:t,fail:a})}}):t()})),async loadImpl(){try{await this.loadSubPackagePagesSubpackage(),this.implReady=!0,await this.$nextTick(),await this.$nextTick(),this.refreshImplDataIfReady()}catch(e){console.error("[FurnitureReceptionHost] loadImpl failed:",e),this.error="接待模块加载失败,请重试"}},refreshImplDataIfReady(){if(!this.implReady)return;const e=t=>{this.$nextTick((()=>{const a=this.$refs.furnitureReceptionImpl;a&&"function"==typeof a.refreshPageData?a.refreshPageData():t<3&&setTimeout((()=>e(t+1)),50)}))};e(0)}}};if(!Array){e.resolveComponent("FurnitureReceptionImpl")()}const a=e._export_sfc(t,[["render",function(t,a,i,r,n,o){return e.e({a:n.implReady},n.implReady?{b:e.sr("furnitureReceptionImpl","26ff5b0d-0"),c:e.p({incomingTab:n.incomingTab})}:e.e({d:n.error},n.error?{e:e.t(n.error)}:{}))}]]);wx.createPage(a);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="subpackage-host"><furniture-reception-impl wx:if="{{a}}" u-i="26ff5b0d-0" bind:__l="__l" u-p="{{b}}"/><view wx:else class="loading"><text wx:if="{{c}}">{{d}}</text><text wx:else>正在加载接待模块...</text></view></view>
|
||||
<view class="subpackage-host"><furniture-reception-impl wx:if="{{a}}" class="r" u-r="furnitureReceptionImpl" u-i="26ff5b0d-0" bind:__l="__l" u-p="{{c}}"/><view wx:else class="loading"><text wx:if="{{d}}">{{e}}</text><text wx:else>正在加载接待模块...</text></view></view>
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),i=require("../../../common/request.js"),o={name:"DeviceBindPopup",data:()=>({deviceBindForm:{deviceCode:"",salesPhone:"",dealershipName:""},deviceBindSubmitting:!1}),methods:{open(){this.deviceBindForm={deviceCode:"",salesPhone:"",dealershipName:""},this.$refs.deviceBindPopup&&this.$refs.deviceBindPopup.open()},close(){this.$refs.deviceBindPopup&&this.$refs.deviceBindPopup.close()},closeDeviceBindDialog(){this.close()},async submitDeviceBind(){var o,n;if(this.deviceBindSubmitting)return;const{deviceCode:s,salesPhone:d,dealershipName:t}=this.deviceBindForm;if(!s||!s.trim())return e.index.showToast({title:"请输入设备编号",icon:"none"});this.deviceBindSubmitting=!0;try{const n={deviceCode:s.trim(),salesPhone:d?d.trim():"",dealershipName:t?t.trim():"",bindStatus:!0},c=await i.post("/api/deviceManagement/add",n);if(200===c.statusCode&&c.data&&c.data.success)this.close(),e.index.showToast({title:c.data.message||"设备绑定成功",icon:"success"}),this.$emit("success");else{const i=(null==(o=c.data)?void 0:o.message)||"设备绑定失败,请稍后重试";e.index.showToast({title:i,icon:"none"})}}catch(c){console.error("设备绑定失败:",c);const i=(null==(n=null==c?void 0:c.data)?void 0:n.message)||(null==c?void 0:c.message)||"设备绑定失败,请稍后重试";e.index.showToast({title:i,icon:"none"})}finally{this.deviceBindSubmitting=!1}}}};if(!Array){(e.resolveComponent("uni-easyinput")+e.resolveComponent("uni-popup"))()}Math||((()=>"../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js")+(()=>"../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const n=e._export_sfc(o,[["render",function(i,o,n,s,d,t){return{a:e.o((e=>d.deviceBindForm.deviceCode=e),"1b"),b:e.p({placeholder:"请输入设备编号",modelValue:d.deviceBindForm.deviceCode}),c:e.o((e=>d.deviceBindForm.salesPhone=e),"73"),d:e.p({placeholder:"请输入销售电话",type:"number",modelValue:d.deviceBindForm.salesPhone}),e:e.o((e=>d.deviceBindForm.dealershipName=e),"e7"),f:e.p({placeholder:"请输入所属门店",modelValue:d.deviceBindForm.dealershipName}),g:e.o(((...e)=>t.closeDeviceBindDialog&&t.closeDeviceBindDialog(...e)),"f1"),h:e.t(d.deviceBindSubmitting?"提交中...":"提交"),i:d.deviceBindSubmitting,j:e.o(((...e)=>t.submitDeviceBind&&t.submitDeviceBind(...e)),"03"),k:e.sr("deviceBindPopup","635fc302-0"),l:e.p({type:"dialog"})}}],["__scopeId","data-v-635fc302"]]);wx.createComponent(n);
|
||||
"use strict";const e=require("../../../common/vendor.js"),i=require("../../../common/request.js"),o={name:"DeviceBindPopup",data:()=>({deviceBindForm:{deviceCode:"",salesPhone:"",dealershipName:""},deviceBindSubmitting:!1}),methods:{open(){this.deviceBindForm={deviceCode:"",salesPhone:"",dealershipName:""},this.$refs.deviceBindPopup&&this.$refs.deviceBindPopup.open()},close(){this.$refs.deviceBindPopup&&this.$refs.deviceBindPopup.close()},closeDeviceBindDialog(){this.close()},async submitDeviceBind(){var o,n;if(this.deviceBindSubmitting)return;const{deviceCode:s,salesPhone:d,dealershipName:t}=this.deviceBindForm;if(!s||!s.trim())return e.index.showToast({title:"请输入设备编号",icon:"none"});this.deviceBindSubmitting=!0;try{const n={deviceCode:s.trim(),salesPhone:d?d.trim():"",dealershipName:t?t.trim():"",bindStatus:!0},c=await i.post("/api/deviceManagement/add",n);if(200===c.statusCode&&c.data&&c.data.success)this.close(),e.index.showToast({title:c.data.message||"设备绑定成功",icon:"success"}),this.$emit("success");else{const i=(null==(o=c.data)?void 0:o.message)||"设备绑定失败,请稍后重试";e.index.showToast({title:i,icon:"none"})}}catch(c){console.error("设备绑定失败:",c);const i=(null==(n=null==c?void 0:c.data)?void 0:n.message)||(null==c?void 0:c.message)||"设备绑定失败,请稍后重试";e.index.showToast({title:i,icon:"none"})}finally{this.deviceBindSubmitting=!1}}}};if(!Array){(e.resolveComponent("uni-easyinput")+e.resolveComponent("uni-popup"))()}Math||((()=>"../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js")+(()=>"../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const n=e._export_sfc(o,[["render",function(i,o,n,s,d,t){return{a:e.o((e=>d.deviceBindForm.deviceCode=e),"1b"),b:e.p({placeholder:"请输入设备编号",modelValue:d.deviceBindForm.deviceCode}),c:e.o((e=>d.deviceBindForm.salesPhone=e),"b0"),d:e.p({placeholder:"请输入电话",type:"number",modelValue:d.deviceBindForm.salesPhone}),e:e.o((e=>d.deviceBindForm.dealershipName=e),"9f"),f:e.p({placeholder:"请输入所属门店",modelValue:d.deviceBindForm.dealershipName}),g:e.o(((...e)=>t.closeDeviceBindDialog&&t.closeDeviceBindDialog(...e)),"f8"),h:e.t(d.deviceBindSubmitting?"提交中...":"提交"),i:d.deviceBindSubmitting,j:e.o(((...e)=>t.submitDeviceBind&&t.submitDeviceBind(...e)),"02"),k:e.sr("deviceBindPopup","1b9b472c-0"),l:e.p({type:"dialog"})}}],["__scopeId","data-v-1b9b472c"]]);wx.createComponent(n);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<uni-popup wx:if="{{l}}" class="r data-v-635fc302" u-s="{{['d']}}" u-r="deviceBindPopup" u-i="635fc302-0" bind:__l="__l" u-p="{{l}}"><view class="device-bind-dialog data-v-635fc302"><view class="device-bind-title data-v-635fc302">设备绑定</view><view class="device-bind-field data-v-635fc302"><text class="device-bind-label data-v-635fc302">设备编号</text><uni-easyinput wx:if="{{b}}" class="data-v-635fc302" u-i="635fc302-1,635fc302-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/></view><view class="device-bind-field data-v-635fc302"><text class="device-bind-label data-v-635fc302">家长电话</text><uni-easyinput wx:if="{{d}}" class="data-v-635fc302" u-i="635fc302-2,635fc302-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></view><view class="device-bind-field data-v-635fc302"><text class="device-bind-label data-v-635fc302">所属门店</text><uni-easyinput wx:if="{{f}}" class="data-v-635fc302" u-i="635fc302-3,635fc302-0" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"/></view><view class="device-bind-actions data-v-635fc302"><button class="dialog-btn cancel data-v-635fc302" bindtap="{{g}}">取消</button><button class="dialog-btn confirm data-v-635fc302" disabled="{{i}}" bindtap="{{j}}">{{h}}</button></view></view></uni-popup>
|
||||
<uni-popup wx:if="{{l}}" class="r data-v-1b9b472c" u-s="{{['d']}}" u-r="deviceBindPopup" u-i="1b9b472c-0" bind:__l="__l" u-p="{{l}}"><view class="device-bind-dialog data-v-1b9b472c"><view class="device-bind-title data-v-1b9b472c">设备绑定</view><view class="device-bind-field data-v-1b9b472c"><text class="device-bind-label data-v-1b9b472c">设备编号</text><uni-easyinput wx:if="{{b}}" class="data-v-1b9b472c" u-i="1b9b472c-1,1b9b472c-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/></view><view class="device-bind-field data-v-1b9b472c"><text class="device-bind-label data-v-1b9b472c">电话</text><uni-easyinput wx:if="{{d}}" class="data-v-1b9b472c" u-i="1b9b472c-2,1b9b472c-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></view><view class="device-bind-field data-v-1b9b472c"><text class="device-bind-label data-v-1b9b472c">所属门店</text><uni-easyinput wx:if="{{f}}" class="data-v-1b9b472c" u-i="1b9b472c-3,1b9b472c-0" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"/></view><view class="device-bind-actions data-v-1b9b472c"><button class="dialog-btn cancel data-v-1b9b472c" bindtap="{{g}}">取消</button><button class="dialog-btn confirm data-v-1b9b472c" disabled="{{i}}" bindtap="{{j}}">{{h}}</button></view></view></uni-popup>
|
||||
@@ -1 +1 @@
|
||||
.device-bind-dialog.data-v-635fc302{padding:40rpx 30rpx 30rpx;background-color:#fff;border-radius:16rpx;width:600rpx}.device-bind-title.data-v-635fc302{font-size:34rpx;font-weight:700;text-align:center;margin-bottom:30rpx}.device-bind-field.data-v-635fc302{margin-bottom:20rpx}.device-bind-label.data-v-635fc302{display:block;font-size:26rpx;color:#666;margin-bottom:10rpx}.device-bind-actions.data-v-635fc302{margin-top:20rpx;display:flex;flex-direction:row;justify-content:flex-end}.dialog-btn.data-v-635fc302{min-width:140rpx;height:70rpx;line-height:70rpx;font-size:28rpx;border-radius:8rpx;padding:0 24rpx}.dialog-btn.cancel.data-v-635fc302{background-color:#f5f5f5;color:#333;margin-right:20rpx}.dialog-btn.confirm.data-v-635fc302{background-color:#007aff;color:#fff}.dialog-btn.data-v-635fc302:after{border:none}
|
||||
.device-bind-dialog.data-v-1b9b472c{padding:40rpx 30rpx 30rpx;background-color:#fff;border-radius:16rpx;width:600rpx}.device-bind-title.data-v-1b9b472c{font-size:34rpx;font-weight:700;text-align:center;margin-bottom:30rpx}.device-bind-field.data-v-1b9b472c{margin-bottom:20rpx}.device-bind-label.data-v-1b9b472c{display:block;font-size:26rpx;color:#666;margin-bottom:10rpx}.device-bind-actions.data-v-1b9b472c{margin-top:20rpx;display:flex;flex-direction:row;justify-content:flex-end}.dialog-btn.data-v-1b9b472c{min-width:140rpx;height:70rpx;line-height:70rpx;font-size:28rpx;border-radius:8rpx;padding:0 24rpx}.dialog-btn.cancel.data-v-1b9b472c{background-color:#f5f5f5;color:#333;margin-right:20rpx}.dialog-btn.confirm.data-v-1b9b472c{background-color:#007aff;color:#fff}.dialog-btn.data-v-1b9b472c:after{border:none}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<view class="center data-v-3df8f2f5"><uni-sign-in class="r data-v-3df8f2f5" u-r="signIn" u-i="3df8f2f5-0" bind:__l="__l"></uni-sign-in><view class="userInfo data-v-3df8f2f5" capture-bind:tap="{{h}}"><cloud-image wx:if="{{b}}" class="data-v-3df8f2f5" u-i="3df8f2f5-1" bind:__l="__l" u-p="{{c}}"></cloud-image><view wx:else class="defaultAvatarUrl data-v-3df8f2f5"><uni-icons wx:if="{{d}}" class="data-v-3df8f2f5" u-i="3df8f2f5-2" bind:__l="__l" u-p="{{d}}"/></view><view class="logo-title data-v-3df8f2f5"><text wx:if="{{e}}" class="uer-name data-v-3df8f2f5">{{f}}</text><text wx:else class="uer-name data-v-3df8f2f5">{{g}}</text></view></view><view wx:if="{{i}}" class="user-info-panel data-v-3df8f2f5"><view class="info-row data-v-3df8f2f5"><text class="info-label data-v-3df8f2f5">租户ID:</text><text class="info-value data-v-3df8f2f5">{{j}}</text></view><view class="info-row data-v-3df8f2f5"><text class="info-label data-v-3df8f2f5">用户名:</text><text class="info-value data-v-3df8f2f5">{{k}}</text></view><view class="info-row data-v-3df8f2f5"><text class="info-label data-v-3df8f2f5">当前角色:</text><text class="info-value data-v-3df8f2f5">{{l}}</text></view><view class="info-row data-v-3df8f2f5"><text class="info-label data-v-3df8f2f5">场景:</text><text class="info-value data-v-3df8f2f5">{{m}}</text></view><view wx:if="{{n}}" class="info-row data-v-3df8f2f5"><text class="info-label data-v-3df8f2f5">手机号:</text><text class="info-value data-v-3df8f2f5">{{o}}</text></view><view wx:if="{{p}}" class="info-row data-v-3df8f2f5"><text class="info-label data-v-3df8f2f5">邮箱:</text><text class="info-value data-v-3df8f2f5">{{q}}</text></view></view><uni-grid wx:if="{{s}}" u-s="{{['d']}}" class="grid data-v-3df8f2f5" u-i="3df8f2f5-3" bind:__l="__l" u-p="{{s}}"><uni-grid-item wx:for="{{r}}" wx:for-item="item" wx:key="k" u-s="{{['d']}}" class="item data-v-3df8f2f5" bindclick="{{item.j}}" u-i="{{item.l}}" bind:__l="__l"><uni-icons wx:if="{{item.b}}" class="icon data-v-3df8f2f5" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></uni-icons><view wx:if="{{item.c}}" class="device-text-wrapper data-v-3df8f2f5"><text class="device-label data-v-3df8f2f5">设备总数</text><text class="device-count data-v-3df8f2f5">{{item.d}}</text></view><view wx:elif="{{item.e}}" class="device-text-wrapper data-v-3df8f2f5"><text class="device-label data-v-3df8f2f5">人员总数</text><text class="device-count data-v-3df8f2f5">{{item.f}}</text></view><view wx:elif="{{item.g}}" class="device-text-wrapper data-v-3df8f2f5"><text class="device-label data-v-3df8f2f5">项目总数</text><text class="device-count data-v-3df8f2f5">{{item.h}}</text></view><text wx:else class="text data-v-3df8f2f5">{{item.i}}</text></uni-grid-item></uni-grid><uni-list wx:for="{{t}}" wx:for-item="sublist" wx:key="b" u-s="{{['d']}}" class="center-list data-v-3df8f2f5" u-i="{{sublist.c}}" bind:__l="__l"><uni-list-item wx:for="{{sublist.a}}" wx:for-item="item" wx:key="c" class="data-v-3df8f2f5" u-s="{{['footer']}}" bindclick="{{item.d}}" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><view slot="footer"><view wx:if="{{item.a}}" class="item-footer data-v-3df8f2f5"><text class="item-footer-text data-v-3df8f2f5">{{item.b}}</text><view class="item-footer-badge data-v-3df8f2f5"></view></view></view></uni-list-item></uni-list><device-bind-popup class="r data-v-3df8f2f5" u-r="deviceBindPopup" bindsuccess="{{w}}" u-i="3df8f2f5-8" bind:__l="__l"></device-bind-popup><device-list-popup class="r data-v-3df8f2f5" u-r="deviceListPopup" u-i="3df8f2f5-9" bind:__l="__l"></device-list-popup><uni-popup wx:if="{{J}}" class="r data-v-3df8f2f5" u-s="{{['d']}}" u-r="changePwdPopup" u-i="3df8f2f5-10" bind:__l="__l" u-p="{{J}}"><view class="change-pwd-dialog data-v-3df8f2f5"><view class="change-pwd-title data-v-3df8f2f5">修改密码</view><view class="change-pwd-field data-v-3df8f2f5"><text class="change-pwd-label data-v-3df8f2f5">原始密码</text><uni-easyinput wx:if="{{z}}" class="data-v-3df8f2f5" u-i="3df8f2f5-11,3df8f2f5-10" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"/></view><view class="change-pwd-field data-v-3df8f2f5"><text class="change-pwd-label data-v-3df8f2f5">新密码</text><uni-easyinput wx:if="{{B}}" class="data-v-3df8f2f5" u-i="3df8f2f5-12,3df8f2f5-10" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"/></view><view class="change-pwd-field data-v-3df8f2f5"><text class="change-pwd-label data-v-3df8f2f5">确认密码</text><uni-easyinput wx:if="{{D}}" class="data-v-3df8f2f5" u-i="3df8f2f5-13,3df8f2f5-10" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"/></view><view class="change-pwd-actions data-v-3df8f2f5"><button class="dialog-btn cancel data-v-3df8f2f5" bindtap="{{E}}">取消</button><button class="dialog-btn confirm data-v-3df8f2f5" disabled="{{G}}" bindtap="{{H}}">{{F}}</button></view></view></uni-popup></view>
|
||||
<view class="center data-v-4be67795"><uni-sign-in class="r data-v-4be67795" u-r="signIn" u-i="4be67795-0" bind:__l="__l"></uni-sign-in><view class="userInfo data-v-4be67795" capture-bind:tap="{{h}}"><cloud-image wx:if="{{b}}" class="data-v-4be67795" u-i="4be67795-1" bind:__l="__l" u-p="{{c}}"></cloud-image><view wx:else class="defaultAvatarUrl data-v-4be67795"><uni-icons wx:if="{{d}}" class="data-v-4be67795" u-i="4be67795-2" bind:__l="__l" u-p="{{d}}"/></view><view class="logo-title data-v-4be67795"><text wx:if="{{e}}" class="uer-name data-v-4be67795">{{f}}</text><text wx:else class="uer-name data-v-4be67795">{{g}}</text></view></view><view wx:if="{{i}}" class="user-info-panel data-v-4be67795"><view class="info-row data-v-4be67795"><text class="info-label data-v-4be67795">租户ID:</text><text class="info-value data-v-4be67795">{{j}}</text></view><view class="info-row data-v-4be67795"><text class="info-label data-v-4be67795">用户名:</text><text class="info-value data-v-4be67795">{{k}}</text></view><view class="info-row data-v-4be67795"><text class="info-label data-v-4be67795">当前角色:</text><text class="info-value data-v-4be67795">{{l}}</text></view><view class="info-row data-v-4be67795"><text class="info-label data-v-4be67795">场景:</text><text class="info-value data-v-4be67795">{{m}}</text></view><view wx:if="{{n}}" class="info-row data-v-4be67795"><text class="info-label data-v-4be67795">手机号:</text><text class="info-value data-v-4be67795">{{o}}</text></view><view wx:if="{{p}}" class="info-row data-v-4be67795"><text class="info-label data-v-4be67795">邮箱:</text><text class="info-value data-v-4be67795">{{q}}</text></view></view><uni-grid wx:if="{{s}}" u-s="{{['d']}}" class="grid data-v-4be67795" u-i="4be67795-3" bind:__l="__l" u-p="{{s}}"><uni-grid-item wx:for="{{r}}" wx:for-item="item" wx:key="k" u-s="{{['d']}}" class="item data-v-4be67795" bindclick="{{item.j}}" u-i="{{item.l}}" bind:__l="__l"><uni-icons wx:if="{{item.b}}" class="icon data-v-4be67795" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></uni-icons><view wx:if="{{item.c}}" class="device-text-wrapper data-v-4be67795"><text class="device-label data-v-4be67795">设备总数</text><text class="device-count data-v-4be67795">{{item.d}}</text></view><view wx:elif="{{item.e}}" class="device-text-wrapper data-v-4be67795"><text class="device-label data-v-4be67795">人员总数</text><text class="device-count data-v-4be67795">{{item.f}}</text></view><view wx:elif="{{item.g}}" class="device-text-wrapper data-v-4be67795"><text class="device-label data-v-4be67795">项目总数</text><text class="device-count data-v-4be67795">{{item.h}}</text></view><text wx:else class="text data-v-4be67795">{{item.i}}</text></uni-grid-item></uni-grid><uni-list wx:for="{{t}}" wx:for-item="sublist" wx:key="b" u-s="{{['d']}}" class="center-list data-v-4be67795" u-i="{{sublist.c}}" bind:__l="__l"><uni-list-item wx:for="{{sublist.a}}" wx:for-item="item" wx:key="c" class="data-v-4be67795" u-s="{{['footer']}}" bindclick="{{item.d}}" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><view slot="footer"><view wx:if="{{item.a}}" class="item-footer data-v-4be67795"><text class="item-footer-text data-v-4be67795">{{item.b}}</text><view class="item-footer-badge data-v-4be67795"></view></view></view></uni-list-item></uni-list><device-bind-popup class="r data-v-4be67795" u-r="deviceBindPopup" bindsuccess="{{w}}" u-i="4be67795-8" bind:__l="__l"></device-bind-popup><device-list-popup class="r data-v-4be67795" u-r="deviceListPopup" u-i="4be67795-9" bind:__l="__l"></device-list-popup><uni-popup wx:if="{{J}}" class="r data-v-4be67795" u-s="{{['d']}}" u-r="changePwdPopup" u-i="4be67795-10" bind:__l="__l" u-p="{{J}}"><view class="change-pwd-dialog data-v-4be67795"><view class="change-pwd-title data-v-4be67795">修改密码</view><view class="change-pwd-field data-v-4be67795"><text class="change-pwd-label data-v-4be67795">原始密码</text><uni-easyinput wx:if="{{z}}" class="data-v-4be67795" u-i="4be67795-11,4be67795-10" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"/></view><view class="change-pwd-field data-v-4be67795"><text class="change-pwd-label data-v-4be67795">新密码</text><uni-easyinput wx:if="{{B}}" class="data-v-4be67795" u-i="4be67795-12,4be67795-10" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"/></view><view class="change-pwd-field data-v-4be67795"><text class="change-pwd-label data-v-4be67795">确认密码</text><uni-easyinput wx:if="{{D}}" class="data-v-4be67795" u-i="4be67795-13,4be67795-10" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"/></view><view class="change-pwd-actions data-v-4be67795"><button class="dialog-btn cancel data-v-4be67795" bindtap="{{E}}">取消</button><button class="dialog-btn confirm data-v-4be67795" disabled="{{G}}" bindtap="{{H}}">{{F}}</button></view></view></uni-popup></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t={name:"SalesScenarioNew",props:{contentTop:{type:String,default:"0rpx"},contentBottom:{type:String,default:"0rpx"}},methods:{openReceptionTab(e){this.switchTabWithQuery("/pages/furniture_reception/furniture_reception",e)},openCustomerTab(t){const o=`/pages-subpackage/furniture_customer/furniture_customer?tab=${t}`;e.index.navigateTo({url:o})},switchTabWithQuery(t,o){"/pages/furniture_reception/furniture_reception"===t&&e.index.setStorageSync("workbench-reception-tab",o),e.index.switchTab({url:t,fail:()=>{const n=`${t}?tab=${o}`;e.index.navigateTo({url:n})}})}}};const o=e._export_sfc(t,[["render",function(t,o,n,r,a,c){return{a:e.o((e=>c.openReceptionTab("reception")),"0a"),b:e.o((e=>c.openReceptionTab("status")),"ed"),c:e.o((e=>c.openReceptionTab("tag")),"8b"),d:e.o((e=>c.openCustomerTab("service")),"b5"),e:e.o((e=>c.openCustomerTab("customer")),"cd"),f:n.contentTop,g:n.contentBottom}}],["__scopeId","data-v-08e7a06f"]]);wx.createComponent(o);
|
||||
"use strict";const e=require("../../../common/vendor.js"),t={name:"SalesScenarioNew",props:{contentTop:{type:String,default:"0rpx"},contentBottom:{type:String,default:"0rpx"}},methods:{openReceptionTab(t){if(!["status","reception","tag"].includes(t))return;const o=`/pages-subpackage/furniture_reception/furniture_reception_entry?tab=${encodeURIComponent(t)}`;e.index.navigateTo({url:o,fail:()=>{e.index.showToast({title:"跳转接待页失败",icon:"none"})}})},openCustomerTab(t){const o=`/pages-subpackage/furniture_customer/furniture_customer?tab=${t}`;e.index.navigateTo({url:o})}}};const o=e._export_sfc(t,[["render",function(t,o,n,r,a,c){return{a:e.o((e=>c.openReceptionTab("reception")),"28"),b:e.o((e=>c.openReceptionTab("status")),"75"),c:e.o((e=>c.openReceptionTab("tag")),"24"),d:e.o((e=>c.openCustomerTab("service")),"5c"),e:e.o((e=>c.openCustomerTab("customer")),"13"),f:n.contentTop,g:n.contentBottom}}],["__scopeId","data-v-ba0b423c"]]);wx.createComponent(o);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="scenario-wrapper data-v-08e7a06f" style="{{'top:' + f + ';' + ('bottom:' + g)}}"><scroll-view class="content-scroll data-v-08e7a06f" scroll-y="true"><view class="category-section two-column data-v-08e7a06f"><view class="category-header data-v-08e7a06f"><text class="category-icon data-v-08e7a06f">🏷️</text><text class="category-title data-v-08e7a06f">接待页面标签</text></view><view class="function-grid data-v-08e7a06f"><view class="function-item data-v-08e7a06f" bindtap="{{a}}"><view class="function-icon data-v-08e7a06f">🛎️</view><text class="function-name data-v-08e7a06f">开始接待</text><text class="function-desc data-v-08e7a06f">进入接待页并切到开始接待</text></view><view class="function-item data-v-08e7a06f" bindtap="{{b}}"><view class="function-icon data-v-08e7a06f">📌</view><text class="function-name data-v-08e7a06f">服务中</text><text class="function-desc data-v-08e7a06f">进入接待页并切到服务中</text></view><view class="function-item data-v-08e7a06f" bindtap="{{c}}"><view class="function-icon data-v-08e7a06f">🗂️</view><text class="function-name data-v-08e7a06f">标签管理</text><text class="function-desc data-v-08e7a06f">进入接待页并切到标签管理</text></view></view></view><view class="category-section two-column data-v-08e7a06f"><view class="category-header data-v-08e7a06f"><text class="category-icon data-v-08e7a06f">👤</text><text class="category-title data-v-08e7a06f">客户页面标签</text></view><view class="function-grid data-v-08e7a06f"><view class="function-item data-v-08e7a06f" bindtap="{{d}}"><view class="function-icon data-v-08e7a06f">📝</view><text class="function-name data-v-08e7a06f">服务记录</text><text class="function-desc data-v-08e7a06f">进入客户页并切到服务记录</text></view><view class="function-item data-v-08e7a06f" bindtap="{{e}}"><view class="function-icon data-v-08e7a06f">👥</view><text class="function-name data-v-08e7a06f">客户</text><text class="function-desc data-v-08e7a06f">进入客户页并切到客户列表</text></view></view></view></scroll-view></view>
|
||||
<view class="scenario-wrapper data-v-ba0b423c" style="{{'top:' + f + ';' + ('bottom:' + g)}}"><scroll-view class="content-scroll data-v-ba0b423c" scroll-y="true"><view class="category-section two-column data-v-ba0b423c"><view class="category-header data-v-ba0b423c"><text class="category-icon data-v-ba0b423c">🏷️</text><text class="category-title data-v-ba0b423c">接待</text></view><view class="function-grid data-v-ba0b423c"><view class="function-item data-v-ba0b423c" bindtap="{{a}}"><view class="function-icon data-v-ba0b423c">🛎️</view><text class="function-name data-v-ba0b423c">开始接待</text><text class="function-desc data-v-ba0b423c"></text></view><view class="function-item data-v-ba0b423c" bindtap="{{b}}"><view class="function-icon data-v-ba0b423c">📌</view><text class="function-name data-v-ba0b423c">服务中</text><text class="function-desc data-v-ba0b423c"></text></view><view class="function-item data-v-ba0b423c" bindtap="{{c}}"><view class="function-icon data-v-ba0b423c">🗂️</view><text class="function-name data-v-ba0b423c">标签管理</text><text class="function-desc data-v-ba0b423c"></text></view></view></view><view class="category-section two-column data-v-ba0b423c"><view class="category-header data-v-ba0b423c"><text class="category-icon data-v-ba0b423c">👤</text><text class="category-title data-v-ba0b423c">客户</text></view><view class="function-grid data-v-ba0b423c"><view class="function-item data-v-ba0b423c" bindtap="{{d}}"><view class="function-icon data-v-ba0b423c">📝</view><text class="function-name data-v-ba0b423c">服务记录</text><text class="function-desc data-v-ba0b423c"></text></view><view class="function-item data-v-ba0b423c" bindtap="{{e}}"><view class="function-icon data-v-ba0b423c">👥</view><text class="function-name data-v-ba0b423c">客户</text><text class="function-desc data-v-ba0b423c"></text></view></view></view></scroll-view></view>
|
||||
@@ -1 +1 @@
|
||||
.scenario-wrapper.data-v-08e7a06f{position:absolute;left:0;right:0}.content-scroll.data-v-08e7a06f{height:100%}.category-section.data-v-08e7a06f{margin:20rpx 30rpx;background:#fff;border-radius:16rpx;overflow:hidden;box-shadow:0 2rpx 8rpx rgba(0,0,0,.04)}.category-section.data-v-08e7a06f:first-child{margin-top:0}.category-section.data-v-08e7a06f:last-child{margin-bottom:0}.category-header.data-v-08e7a06f{display:flex;align-items:center;padding:30rpx;background:#fff;border-bottom:1rpx solid #f0f0f0}.category-icon.data-v-08e7a06f{font-size:32rpx;margin-right:20rpx}.category-title.data-v-08e7a06f{font-size:32rpx;font-weight:500;color:#333}.function-grid.data-v-08e7a06f{display:flex;flex-wrap:wrap;padding:10rpx}.two-column .function-item.data-v-08e7a06f{flex:1;background:#fff;border-radius:12rpx;padding:24rpx 16rpx;margin:0 5rpx;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #f0f0f0}.function-item.data-v-08e7a06f{min-width:42%}.function-item.data-v-08e7a06f:active{transform:scale(.95);box-shadow:0 1rpx 2rpx rgba(0,0,0,.1)}.function-icon.data-v-08e7a06f{font-size:48rpx;margin-bottom:12rpx}.function-name.data-v-08e7a06f{display:block;font-size:28rpx;font-weight:500;color:#333;margin-bottom:8rpx}.function-desc.data-v-08e7a06f{display:block;font-size:24rpx;color:#666;line-height:1.4}
|
||||
.scenario-wrapper.data-v-ba0b423c{position:absolute;left:0;right:0}.content-scroll.data-v-ba0b423c{height:100%}.category-section.data-v-ba0b423c{margin:20rpx 30rpx;background:#fff;border-radius:16rpx;overflow:hidden;box-shadow:0 2rpx 8rpx rgba(0,0,0,.04)}.category-section.data-v-ba0b423c:first-child{margin-top:0}.category-section.data-v-ba0b423c:last-child{margin-bottom:0}.category-header.data-v-ba0b423c{display:flex;align-items:center;padding:30rpx;background:#fff;border-bottom:1rpx solid #f0f0f0}.category-icon.data-v-ba0b423c{font-size:32rpx;margin-right:20rpx}.category-title.data-v-ba0b423c{font-size:32rpx;font-weight:500;color:#333}.function-grid.data-v-ba0b423c{display:flex;flex-wrap:wrap;padding:10rpx}.two-column .function-item.data-v-ba0b423c{flex:1;background:#fff;border-radius:12rpx;padding:24rpx 16rpx;margin:0 5rpx;text-align:center;box-shadow:0 2rpx 4rpx rgba(0,0,0,.04);transition:all .3s ease;border:1rpx solid #f0f0f0}.function-item.data-v-ba0b423c{min-width:42%}.function-item.data-v-ba0b423c:active{transform:scale(.95);box-shadow:0 1rpx 2rpx rgba(0,0,0,.1)}.function-icon.data-v-ba0b423c{font-size:48rpx;margin-bottom:12rpx}.function-name.data-v-ba0b423c{display:block;font-size:28rpx;font-weight:500;color:#333;margin-bottom:8rpx}.function-desc.data-v-ba0b423c{display:block;font-size:24rpx;color:#666;line-height:1.4}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js");const t={components:{SalesScenarioNew:()=>"./components/sales_scenario_new.js"},data:()=>({contentTop:2*function(){try{return{statusBarHeight:e.index.getSystemInfoSync().statusBarHeight||20}}catch(t){return{statusBarHeight:20}}}().statusBarHeight+88+"rpx",contentBottom:"96rpx",isSalesScenario:!1}),onShow(){this.refreshScenario()},methods:{refreshScenario(){const t=(e.index.getStorageSync("backend-scenario")||"").toString().toLowerCase();this.isSalesScenario="sales"===t,this.isSalesScenario||e.index.switchTab({url:"/pages/ai_analysis/ai_analysis"})}}};if(!Array){(e.resolveComponent("uni-nav-bar")+e.resolveComponent("sales-scenario-new"))()}Math;const n=e._export_sfc(t,[["render",function(t,n,o,s,a,r){return e.e({a:e.p({fixed:!0,statusBar:!0,border:!1,title:"工作台",color:"#333",backgroundColor:"#FFFFFF"}),b:a.isSalesScenario},a.isSalesScenario?{c:e.p({contentTop:a.contentTop,contentBottom:a.contentBottom})}:{})}],["__scopeId","data-v-b6747fba"]]);wx.createPage(n);
|
||||
"use strict";const e=require("../../common/vendor.js");const o={components:{SalesScenarioNew:()=>"./components/sales_scenario_new.js",AiAnalysisDashboardBody:()=>"../../components/ai-analysis-dashboard-body.js"},data:()=>({contentTop:2*function(){try{return{statusBarHeight:e.index.getSystemInfoSync().statusBarHeight||20}}catch(o){return{statusBarHeight:20}}}().statusBarHeight+88+"rpx",contentBottom:"96rpx",isSalesScenario:!1,isSoftSalesScenario:!1}),onShow(){this.refreshScenario()},methods:{refreshScenario(){const o=(e.index.getStorageSync("backend-scenario")||"").toString().trim().toLowerCase();this.isSalesScenario="sales"===o,this.isSoftSalesScenario="soft_sales"===o}}};if(!Array){(e.resolveComponent("uni-nav-bar")+e.resolveComponent("sales-scenario-new")+e.resolveComponent("ai-analysis-dashboard-body"))()}Math;const t=e._export_sfc(o,[["render",function(o,t,n,s,a,r){return e.e({a:e.p({fixed:!0,statusBar:!0,border:!1,title:"工作台",color:"#333",backgroundColor:"#FFFFFF"}),b:a.isSalesScenario},a.isSalesScenario?{c:e.p({contentTop:a.contentTop,contentBottom:a.contentBottom})}:a.isSoftSalesScenario?{e:e.p({"content-top":a.contentTop,"content-bottom":a.contentBottom})}:{},{d:a.isSoftSalesScenario})}],["__scopeId","data-v-493fce2d"]]);wx.createPage(t);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"sales-scenario-new": "./components/sales_scenario_new",
|
||||
"ai-analysis-dashboard-body": "../../components/ai-analysis-dashboard-body",
|
||||
"uni-nav-bar": "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="page data-v-b6747fba"><uni-nav-bar wx:if="{{a}}" class="data-v-b6747fba" u-i="b6747fba-0" bind:__l="__l" u-p="{{a}}"/><view class="content data-v-b6747fba"><sales-scenario-new wx:if="{{b}}" class="data-v-b6747fba" u-i="b6747fba-1" bind:__l="__l" u-p="{{c}}"/><view wx:else class="redirecting-text data-v-b6747fba">正在跳转到 AI 分析...</view></view></view>
|
||||
<view class="page data-v-493fce2d"><uni-nav-bar wx:if="{{a}}" class="data-v-493fce2d" u-i="493fce2d-0" bind:__l="__l" u-p="{{a}}"/><view class="content data-v-493fce2d"><sales-scenario-new wx:if="{{b}}" class="data-v-493fce2d" u-i="493fce2d-1" bind:__l="__l" u-p="{{c}}"/><ai-analysis-dashboard-body wx:elif="{{d}}" class="data-v-493fce2d" u-i="493fce2d-2" bind:__l="__l" u-p="{{e}}"/><view wx:else class="redirecting-text data-v-493fce2d"><text class="data-v-493fce2d">当前未配置为销售或轻销场景(backend-scenario 不是 sales / soft_sales),工作台入口已隐藏。</text></view></view></view>
|
||||
@@ -1 +1 @@
|
||||
page.data-v-b6747fba{background-color:#f5f5f5}.page.data-v-b6747fba{min-height:100vh;background-color:#f5f5f5}.content.data-v-b6747fba{position:relative;min-height:100vh}.redirecting-text.data-v-b6747fba{padding:40rpx 30rpx;color:#666;font-size:28rpx;text-align:center}
|
||||
page.data-v-493fce2d{background-color:#f5f5f5}.page.data-v-493fce2d{min-height:100vh;background-color:#f5f5f5}.content.data-v-493fce2d{position:relative;width:100%;min-height:100vh;box-sizing:border-box}.redirecting-text.data-v-493fce2d{padding:40rpx 30rpx;color:#666;font-size:28rpx;text-align:center}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<view class="uni-content data-v-f984cc0a"><view class="login-logo data-v-f984cc0a"><image class="data-v-f984cc0a" src="{{a}}"></image></view><text class="title title-box data-v-f984cc0a">账号密码登录</text><uni-forms class="data-v-f984cc0a" u-s="{{['d']}}" u-i="f984cc0a-0" bind:__l="__l"><uni-forms-item wx:if="{{e}}" class="data-v-f984cc0a" u-s="{{['d']}}" u-i="f984cc0a-1,f984cc0a-0" bind:__l="__l" u-p="{{e}}"><uni-easyinput wx:if="{{d}}" bindblur="{{b}}" class="input-box data-v-f984cc0a" u-i="f984cc0a-2,f984cc0a-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></uni-forms-item><uni-forms-item wx:if="{{i}}" class="data-v-f984cc0a" u-s="{{['d']}}" u-i="f984cc0a-3,f984cc0a-0" bind:__l="__l" u-p="{{i}}"><uni-easyinput wx:if="{{h}}" bindblur="{{f}}" class="input-box data-v-f984cc0a" u-i="f984cc0a-4,f984cc0a-3" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></uni-forms-item></uni-forms><uni-captcha wx:if="{{j}}" class="r data-v-f984cc0a" u-r="captcha" u-i="f984cc0a-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/><uni-id-pages-agreements wx:if="{{o}}" class="r data-v-f984cc0a" u-r="agreements" u-i="f984cc0a-6" bind:__l="__l" u-p="{{o}}"></uni-id-pages-agreements><button class="uni-btn data-v-f984cc0a" type="primary" bindtap="{{p}}">登录</button><view class="link-box data-v-f984cc0a"><view wx:if="{{q}}" class="data-v-f984cc0a"><text class="forget data-v-f984cc0a">忘记了?</text><text class="link data-v-f984cc0a" bindtap="{{r}}">找回密码</text></view><text class="link data-v-f984cc0a" bindtap="{{t}}">{{s}}</text></view><uni-id-pages-fab-login class="r data-v-f984cc0a" u-r="uniFabLogin" u-i="f984cc0a-7" bind:__l="__l"></uni-id-pages-fab-login></view>
|
||||
<view class="uni-content data-v-6464e2fa"><view class="login-logo data-v-6464e2fa"><image class="data-v-6464e2fa" src="{{a}}"></image></view><text class="title title-box data-v-6464e2fa">账号密码登录</text><uni-forms class="data-v-6464e2fa" u-s="{{['d']}}" u-i="6464e2fa-0" bind:__l="__l"><uni-forms-item wx:if="{{e}}" class="data-v-6464e2fa" u-s="{{['d']}}" u-i="6464e2fa-1,6464e2fa-0" bind:__l="__l" u-p="{{e}}"><uni-easyinput wx:if="{{d}}" bindblur="{{b}}" class="input-box data-v-6464e2fa" u-i="6464e2fa-2,6464e2fa-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></uni-forms-item><uni-forms-item wx:if="{{i}}" class="data-v-6464e2fa" u-s="{{['d']}}" u-i="6464e2fa-3,6464e2fa-0" bind:__l="__l" u-p="{{i}}"><uni-easyinput wx:if="{{h}}" bindblur="{{f}}" class="input-box data-v-6464e2fa" u-i="6464e2fa-4,6464e2fa-3" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></uni-forms-item></uni-forms><uni-captcha wx:if="{{j}}" class="r data-v-6464e2fa" u-r="captcha" u-i="6464e2fa-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/><uni-id-pages-agreements wx:if="{{o}}" class="r data-v-6464e2fa" u-r="agreements" u-i="6464e2fa-6" bind:__l="__l" u-p="{{o}}"></uni-id-pages-agreements><button class="uni-btn data-v-6464e2fa" type="primary" bindtap="{{p}}">登录</button><view class="link-box data-v-6464e2fa"><view wx:if="{{q}}" class="data-v-6464e2fa"><text class="forget data-v-6464e2fa">忘记了?</text><text class="link data-v-6464e2fa" bindtap="{{r}}">找回密码</text></view><text class="link data-v-6464e2fa" bindtap="{{t}}">{{s}}</text></view><uni-id-pages-fab-login class="r data-v-6464e2fa" u-r="uniFabLogin" u-i="6464e2fa-7" bind:__l="__l"></uni-id-pages-fab-login></view>
|
||||
@@ -1 +1 @@
|
||||
.uni-content.data-v-f984cc0a{padding:0 60rpx}.login-logo.data-v-f984cc0a{display:none}@media screen and (min-width: 690px){.uni-content.data-v-f984cc0a{padding:0;max-width:300px;margin-left:calc(50% - 200px)}}.uni-content view.data-v-f984cc0a{box-sizing:border-box}.title.data-v-f984cc0a{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip.data-v-f984cc0a{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content.data-v-f984cc0a .uni-easyinput__content,.input-box.data-v-f984cc0a{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link.data-v-f984cc0a{color:#04498c;cursor:pointer}.uni-content.data-v-f984cc0a .uni-forms-item__inner{padding-bottom:8px}.uni-btn.data-v-f984cc0a{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd.data-v-f984cc0a{height:auto!important}@media screen and (min-width: 690px){.uni-content.data-v-f984cc0a{height:auto}}.forget.data-v-f984cc0a{font-size:12px;color:#8a8f8b}.link-box.data-v-f984cc0a{display:flex;flex-direction:row;justify-content:space-between;margin-top:20px}.link.data-v-f984cc0a{font-size:12px}
|
||||
.uni-content.data-v-6464e2fa{padding:0 60rpx}.login-logo.data-v-6464e2fa{display:none}@media screen and (min-width: 690px){.uni-content.data-v-6464e2fa{padding:0;max-width:300px;margin-left:calc(50% - 200px)}}.uni-content view.data-v-6464e2fa{box-sizing:border-box}.title.data-v-6464e2fa{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip.data-v-6464e2fa{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content.data-v-6464e2fa .uni-easyinput__content,.input-box.data-v-6464e2fa{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link.data-v-6464e2fa{color:#04498c;cursor:pointer}.uni-content.data-v-6464e2fa .uni-forms-item__inner{padding-bottom:8px}.uni-btn.data-v-6464e2fa{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd.data-v-6464e2fa{height:auto!important}@media screen and (min-width: 690px){.uni-content.data-v-6464e2fa{height:auto}}.forget.data-v-6464e2fa{font-size:12px;color:#8a8f8b}.link-box.data-v-6464e2fa{display:flex;flex-direction:row;justify-content:space-between;margin-top:20px}.link.data-v-6464e2fa{font-size:12px}
|
||||
|
||||
Reference in New Issue
Block a user