feat: add project-scoped work assistant results
This commit is contained in:
@@ -127,11 +127,18 @@
|
||||
<text class="tool-sub">课程·三题</text>
|
||||
</view>
|
||||
</button>
|
||||
<button class="tool-cell" @click="openWorkResults">
|
||||
<view class="tool-icon">果</view>
|
||||
<view class="tool-copy">
|
||||
<text class="tool-name">今日成果</text>
|
||||
<text class="tool-sub">记录·待跟进</text>
|
||||
</view>
|
||||
</button>
|
||||
<button class="tool-cell" @click="openReport">
|
||||
<view class="tool-icon">报</view>
|
||||
<view class="tool-copy">
|
||||
<text class="tool-name">工作上报</text>
|
||||
<text class="tool-sub">案例·记录</text>
|
||||
<text class="tool-name">成果投稿</text>
|
||||
<text class="tool-sub">案例·SOP·知识</text>
|
||||
</view>
|
||||
</button>
|
||||
<button class="tool-cell" @click="openQuestions">
|
||||
@@ -429,6 +436,10 @@ const openReport = () => {
|
||||
uni.navigateTo({ url: '/pages/user/report/index' });
|
||||
};
|
||||
|
||||
const openWorkResults = () => {
|
||||
uni.navigateTo({ url: '/pages/user/work-results/index' });
|
||||
};
|
||||
|
||||
const ask = (query: string) => {
|
||||
uni.setStorageSync(pendingSopQueryKey, query);
|
||||
uni.switchTab({ url: '/pages/user/sop/index' });
|
||||
@@ -937,7 +948,7 @@ onUnload(() => {
|
||||
|
||||
.tools-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user