【新增】 缺少文件
This commit is contained in:

committed by
陆光LG

parent
8bbe607f68
commit
49a8b7a645
@@ -40,3 +40,7 @@ export const updateXlsx = async (params: XlsxVO) => {
|
||||
export const deleteXlsx = async (id: number) => {
|
||||
return await request.delete({ url: '/wps/xlsx/delete?id=' + id })
|
||||
}
|
||||
|
||||
export const getXlsxInfo = async (path: String) => {
|
||||
return await request.get({ url: '/tool/wps/runWpsXlsx?path=' + path })
|
||||
}
|
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="common-page">
|
||||
<div style="margin-bottom: 30px">
|
||||
<button @click="sendMsg">确定保存</button>
|
||||
<div class="title">Demo 你好,我们尊重你的隐私</div>
|
||||
<p class="title_12_gray" style="margin-top: 5px">
|
||||
我们将始终保护和尊重你的隐私,同时提供应得的透明度和控制。
|
||||
@@ -148,7 +149,7 @@
|
||||
:type="'switch'"
|
||||
class="ptb_8"
|
||||
/>
|
||||
<div v-if="maskDisplay" class="mask" style="height: calc(100% - 40px)"></div>
|
||||
<div v-if="!maskDisplay" class="mask" style="height: calc(100% - 40px)"></div>
|
||||
</div>
|
||||
<div class="pb_12">
|
||||
<div class="title">删除浏览数据</div>
|
||||
@@ -561,12 +562,37 @@
|
||||
<script lang="ts" setup>
|
||||
import { ref } from 'vue'
|
||||
import commonLine from './commonLine.vue'
|
||||
import { emitter } from '@/utils/eventBus'
|
||||
|
||||
let name = ref('隐私、搜索和服务')
|
||||
|
||||
function sendMsg() {
|
||||
console.log(maskDisplay.value)
|
||||
// 获取值
|
||||
if (maskDisplay.value) {
|
||||
let datas = {
|
||||
contentIn: "设置" + name.value + "防止跟踪: 打开",
|
||||
content: 'security@maskDisplay@true'
|
||||
}
|
||||
formList.value.push(datas)
|
||||
} else {
|
||||
let datas = {
|
||||
contentIn: "设置" + name.value + "防止跟踪: 关闭",
|
||||
content: 'security@maskDisplay@false'
|
||||
}
|
||||
formList.value.push(datas)
|
||||
}
|
||||
emitter.emit('maskDisplay', formList)
|
||||
}
|
||||
// 每个表单对象是普通对象
|
||||
const formList = ref([])
|
||||
|
||||
// 跟踪防护-遮罩层
|
||||
let maskDisplay = ref(false)
|
||||
let maskDisplay = ref(true)
|
||||
// 跟踪防护
|
||||
const protectionSwitch = (val: boolean) => {
|
||||
maskDisplay.value = !val
|
||||
maskDisplay.value = val
|
||||
|
||||
}
|
||||
let protectionLevel = ref('basic')
|
||||
const handleProtectionLevel = (level: string) => {
|
||||
|
9
src/utils/eventBus.ts
Normal file
9
src/utils/eventBus.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
// src/utils/eventBus.ts
|
||||
import mitt from 'mitt'
|
||||
|
||||
// 定义事件类型(可以根据需要扩展)
|
||||
type Events = {
|
||||
maskDisplay: []
|
||||
}
|
||||
|
||||
export const emitter = mitt<Events>()
|
@@ -278,7 +278,7 @@
|
||||
</div>
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<FileForm ref="FileRef" @success="handleUploadSuccess" />
|
||||
<el-dialog v-model="dialogFormVisibleWordInfo" title="考点设置" width="1100px">
|
||||
<el-dialog v-model="dialogFormVisibleWordInfo" title="考点设置" width="1500px">
|
||||
<Email />
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user