|
|
|
@ -286,10 +286,10 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import { ref, onMounted, onUnmounted } from "vue";
|
|
|
|
|
import { ref, onMounted, onUnmounted ,getCurrentInstance} from "vue";
|
|
|
|
|
import { useRouter, useRoute } from "vue-router";
|
|
|
|
|
import { ElMessage } from "element-plus";
|
|
|
|
|
import myPagination from "@/views/components/Pagination/index.vue"
|
|
|
|
|
import myPagination from "@/views/components/Pagination/index.vue";
|
|
|
|
|
import {
|
|
|
|
|
getAuditList,
|
|
|
|
|
miniProgramsGetAuditList,
|
|
|
|
@ -319,11 +319,11 @@ const pagination = ref({
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const btnArr = [
|
|
|
|
|
{ label: "web资产", value: "web" },
|
|
|
|
|
{ label: "小程序", value: "xcx" },
|
|
|
|
|
{ label: "公众号", value: "gzh" },
|
|
|
|
|
{ label: "电子邮件", value: "emil" },
|
|
|
|
|
{ label: "移动应用系统", value: "app" },
|
|
|
|
|
{ label: "web资产", value: "web", routeName: "WebZC-info"},
|
|
|
|
|
{ label: "小程序", value: "xcx", routeName: "XcxZC-info" },
|
|
|
|
|
{ label: "公众号", value: "gzh", routeName: "GzhZC-info" },
|
|
|
|
|
{ label: "电子邮件", value: "emil", routeName: "DzyjZC-info" },
|
|
|
|
|
{ label: "移动应用系统", value: "app", routeName: "YdyyxtZC-info" },
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
const btnShow = ref("web");
|
|
|
|
@ -428,9 +428,15 @@ const goInfo = (row) => {
|
|
|
|
|
emil: row.emailId,
|
|
|
|
|
app: row.appId,
|
|
|
|
|
};
|
|
|
|
|
const assetType = btnShow.value;
|
|
|
|
|
|
|
|
|
|
// 获取当前 tab 对应的路由名称
|
|
|
|
|
const routeItem = btnArr.find((item) => item.value === assetType);
|
|
|
|
|
const routeName = routeItem.routeName
|
|
|
|
|
|
|
|
|
|
proxy.setActiveMenu("/unitFill2" );
|
|
|
|
|
router.push({
|
|
|
|
|
name: "unitAssetsAuth",
|
|
|
|
|
name: routeName,
|
|
|
|
|
query: {
|
|
|
|
|
type: typeMap[btnShow.value],
|
|
|
|
|
pageType: "look",
|
|
|
|
|