You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
699 B
25 lines
699 B
<!-- 资源管理 -->
|
|
<template>
|
|
<button class="text-xs bg-blue-500 text-white leading-6" style="width: 500rpx" @click="openSourceManage">资源管理</button>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { inject } from 'vue';
|
|
import useGenerateWebviewParam from '@/hooks/project/useGenerateWebviewParam';
|
|
|
|
const task = inject('task');
|
|
const { projectId, projectName, token } = useGenerateWebviewParam();
|
|
|
|
function openSourceManage() {
|
|
// DEBUG: 假数据 换成财务条 资源管理的地址
|
|
uni.$ui.openDetail({
|
|
url: 'https://www.tall.wiki/finance/index',
|
|
name: '资源管理',
|
|
token,
|
|
projectId,
|
|
id: task.value.id,
|
|
pn: projectName,
|
|
tn: task.value.name,
|
|
});
|
|
}
|
|
</script>
|
|
|