|
@@ -64,20 +64,29 @@
|
|
<!-- 常见应用 -->
|
|
<!-- 常见应用 -->
|
|
<div class="footCon">
|
|
<div class="footCon">
|
|
<div class="footConLeft">
|
|
<div class="footConLeft">
|
|
- <img src="../assets/img/Cop2.svg" alt="">
|
|
|
|
- <!-- <div class="CocoTit">
|
|
|
|
- COCO FLOW
|
|
|
|
- </div> -->
|
|
|
|
|
|
+ <img v-if="fromL.basics.cocoFlow" :src="fromL.basics.cocoFlow" alt="">
|
|
|
|
+
|
|
|
|
+ <div v-else style="min-width: 150px;display: flex;flex-direction: column;justify-content: flex-end;">
|
|
|
|
+ <img class="CutImg" src="../assets/img/dong.png" alt="">
|
|
|
|
+ <div class="CocoTit">
|
|
|
|
+ COCO FLOW
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div style="display: flex;gap: 16px;flex: 1;">
|
|
<div style="display: flex;gap: 16px;flex: 1;">
|
|
<div class="footList">
|
|
<div class="footList">
|
|
<div class="footListCon" v-for="(item,index) in admincocoFlow" @click="openNewWindow(item)" :key="index+'2p'">
|
|
<div class="footListCon" v-for="(item,index) in admincocoFlow" @click="openNewWindow(item)" :key="index+'2p'">
|
|
<div class="footListConimg">
|
|
<div class="footListConimg">
|
|
- <img v-if="!fromL.admin.cocoFlow.length"
|
|
|
|
- style="margin-bottom: 12px;height: 40px;width: 40px;object-fit: contain;"
|
|
|
|
|
|
+ <img v-if="fromL.admin.cocoFlow.length == 0"
|
|
|
|
+ class="footListConimgPic"
|
|
:src="appImgList[index]" alt="">
|
|
:src="appImgList[index]" alt="">
|
|
|
|
|
|
|
|
+ <img v-else-if="fromL.admin.cocoFlow[index].setIcon"
|
|
|
|
+ class="footListConimgPic"
|
|
|
|
+ :src="fromL.admin.cocoFlow[index].setIcon" alt="">
|
|
|
|
+
|
|
<img
|
|
<img
|
|
style="margin-bottom: 12px;height: 40px;width: 40px;object-fit: contain;"
|
|
style="margin-bottom: 12px;height: 40px;width: 40px;object-fit: contain;"
|
|
v-else :src="JSON.parse(item.json).icon" alt="">
|
|
v-else :src="JSON.parse(item.json).icon" alt="">
|
|
@@ -98,11 +107,16 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="footList2">
|
|
|
|
|
|
+ <div v-if="CocoFlowList.length" class="footList2">
|
|
<div class="footListCon6" v-for="(item,index) in CocoFlowList" @click="openNewWindow(item)" :key="index+'4p'">
|
|
<div class="footListCon6" v-for="(item,index) in CocoFlowList" @click="openNewWindow(item)" :key="index+'4p'">
|
|
<div class="footListConimg">
|
|
<div class="footListConimg">
|
|
<!-- <img style="margin-bottom: 12px;height: 24px;width: 22px;" :src="JSON.parse(item.json).icon" alt=""> -->
|
|
<!-- <img style="margin-bottom: 12px;height: 24px;width: 22px;" :src="JSON.parse(item.json).icon" alt=""> -->
|
|
- <img style="margin-bottom: 12px;height: 40px;width: 40px;object-fit: contain;" :src="require('../assets/img/cocoflow2.svg')" alt="">
|
|
|
|
|
|
+ <img v-if="fromL.admin.cocoFlow2[index].setIcon"
|
|
|
|
+ class="footListConimgPic"
|
|
|
|
+ :src="fromL.admin.cocoFlow2[index].setIcon" alt="">
|
|
|
|
+ <img v-else class="footListConimgPic" :src="JSON.parse(item.json).icon" alt="">
|
|
|
|
+
|
|
|
|
+ <!-- <img v-else class="footListConimgPic" :src="require('../assets/img/cocoflow2.svg')" alt=""> -->
|
|
</div>
|
|
</div>
|
|
<div class="TabListName">{{ item.name }}</div>
|
|
<div class="TabListName">{{ item.name }}</div>
|
|
<div class="TabListBri">
|
|
<div class="TabListBri">
|
|
@@ -149,7 +163,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- 常见应用弹框 -->
|
|
<!-- 常见应用弹框 -->
|
|
- <el-dialog
|
|
|
|
|
|
+ <!-- <el-dialog
|
|
title="应用列表"
|
|
title="应用列表"
|
|
:visible.sync="dialogVisible"
|
|
:visible.sync="dialogVisible"
|
|
class="moreDia"
|
|
class="moreDia"
|
|
@@ -181,7 +195,7 @@
|
|
<el-button @click="handleClose">取消</el-button>
|
|
<el-button @click="handleClose">取消</el-button>
|
|
<el-button @click="addUsuallyApp" style="background-color: #0663FE;" type="primary">确认</el-button>
|
|
<el-button @click="addUsuallyApp" style="background-color: #0663FE;" type="primary">确认</el-button>
|
|
</div>
|
|
</div>
|
|
- </el-dialog>
|
|
|
|
|
|
+ </el-dialog> -->
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -253,16 +267,15 @@ import { API_CONFIG } from "@/common/apiConfig";
|
|
// 平台工具
|
|
// 平台工具
|
|
tabList:[],
|
|
tabList:[],
|
|
appImgList:[
|
|
appImgList:[
|
|
- require('../assets/img/img4.svg'),
|
|
|
|
- require('../assets/img/img1.svg'),
|
|
|
|
- require('../assets/img/img3.svg'),
|
|
|
|
- require('../assets/img/img5.svg'),
|
|
|
|
|
|
+ require('../assets/img/img7.svg'),
|
|
require('../assets/img/img8.svg'),
|
|
require('../assets/img/img8.svg'),
|
|
require('../assets/img/img2.svg'),
|
|
require('../assets/img/img2.svg'),
|
|
- require('../assets/img/img7.svg'),
|
|
|
|
require('../assets/img/img6.svg'),
|
|
require('../assets/img/img6.svg'),
|
|
|
|
+ require('../assets/img/img5.svg'),
|
|
|
|
+ require('../assets/img/img1.svg'),
|
|
|
|
+ require('../assets/img/img4.svg'),
|
|
|
|
+ require('../assets/img/img3.svg'),
|
|
],
|
|
],
|
|
-
|
|
|
|
hovList:[],
|
|
hovList:[],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -273,174 +286,46 @@ import { API_CONFIG } from "@/common/apiConfig";
|
|
},
|
|
},
|
|
// 首页平台应用浮动效果
|
|
// 首页平台应用浮动效果
|
|
setHovered(index, value) {
|
|
setHovered(index, value) {
|
|
- // console.log(index, value);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
this.tabList[index].hovered = value;
|
|
this.tabList[index].hovered = value;
|
|
- // console.log('this.tabList',this.tabList[index].hovered);
|
|
|
|
-
|
|
|
|
},
|
|
},
|
|
- // 删除应用
|
|
|
|
- delApp(val){
|
|
|
|
- this.$confirm('确定删除吗', '提示', {
|
|
|
|
- confirmButtonText: '确定',
|
|
|
|
- cancelButtonText: '取消',
|
|
|
|
- type: 'warning'
|
|
|
|
- }).then(async () => {
|
|
|
|
- let params = [
|
|
|
|
- {
|
|
|
|
- functionName: API_CONFIG.ajax_del_usuallyApp.functionName,
|
|
|
|
- aid: val,
|
|
|
|
- },
|
|
|
|
- ];
|
|
|
|
-
|
|
|
|
- this.$ajax
|
|
|
|
- .post(API_CONFIG.baseUrl, params)
|
|
|
|
- .then(() => {
|
|
|
|
- this.$message.success('删除成功')
|
|
|
|
- this.getData()
|
|
|
|
- })
|
|
|
|
- .catch((err) => {
|
|
|
|
- console.log(err);
|
|
|
|
- this.$message.error("删除失败");
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- }).catch(() => {
|
|
|
|
- // 取消操作
|
|
|
|
- });
|
|
|
|
|
|
+ // 获取已添加cocoFlow应用
|
|
|
|
+ getData(){
|
|
|
|
+ let cocoFlowCopy = []
|
|
|
|
+ if (this.fromL.admin.cocoFlow2 && this.fromL.admin.cocoFlow2.length) {
|
|
|
|
+ cocoFlowCopy = this.fromL.admin.cocoFlow2.map(item => item.id);
|
|
|
|
+ }else{
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- handleClose(){
|
|
|
|
- this.usuallyList= []
|
|
|
|
- this.tab= []
|
|
|
|
- this.dialogVisible = false
|
|
|
|
- },
|
|
|
|
- // 弹框选择添加应用
|
|
|
|
- addApp(val){
|
|
|
|
- // let data = this.CocoFlowList.filter(e=>{
|
|
|
|
- // return e.id == val
|
|
|
|
- // })
|
|
|
|
- // if (data.length != 0) return this.$message.info('常用列表已添加')
|
|
|
|
- let kpl = [...this.tab,...this.CocoFlowList]
|
|
|
|
- // console.log(kpl);
|
|
|
|
-
|
|
|
|
|
|
|
|
- const index = this.tab.indexOf(val);
|
|
|
|
- if (index !== -1) {
|
|
|
|
- this.tab.splice(index, 1); // 删除第一个匹配项
|
|
|
|
- } else {
|
|
|
|
- if (kpl.length > 3) return this.$message.info('只能添加四个常用应用哦')
|
|
|
|
- this.tab.push(val); // 添加元素到末尾
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- // 打开常见应用弹框
|
|
|
|
- openUsuallyApp(){
|
|
|
|
- this.dialogVisible = true
|
|
|
|
- this.loading = true
|
|
|
|
- let params = [
|
|
|
|
- {
|
|
|
|
- functionName: API_CONFIG.ajax_usuallyApp.functionName,
|
|
|
|
- uid: this.roleUser.userid,
|
|
|
|
- cn: this.roleUser.schoolArea ? this.roleUser.schoolArea : this.roleUser.orgArea, //学校id
|
|
|
|
- },
|
|
|
|
- ];
|
|
|
|
-
|
|
|
|
- this.$ajax
|
|
|
|
- .post(API_CONFIG.baseUrl, params)
|
|
|
|
- .then((res) => {
|
|
|
|
- this.usuallyList = res.data[0]
|
|
|
|
- this.loading = false
|
|
|
|
|
|
+ // let appList=[
|
|
|
|
+ // "4aed8607-19e1-11f0-a66a-005056924926",
|
|
|
|
+ // "337f9d06-1eb6-11f0-a66a-005056924926",
|
|
|
|
+ // "52b4aae8-088d-11f0-b508-005056924926",
|
|
|
|
+ // "5c95f692-1460-11f0-bad1-005056924926"
|
|
|
|
+ // ]
|
|
|
|
|
|
- })
|
|
|
|
- .catch((err) => {
|
|
|
|
- console.log(err);
|
|
|
|
- this.loading = false
|
|
|
|
- this.$message.error("获取工具数据失败");
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
- // 添加常用确定按钮
|
|
|
|
- async addUsuallyApp(){
|
|
|
|
- const uploadYn = async files => {
|
|
|
|
- for (let index = 0; index < files.length; index++) {
|
|
|
|
- await this.XAdd(files[index]);
|
|
|
|
- console.log(index);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- await uploadYn(this.tab);
|
|
|
|
- console.log('完成了');
|
|
|
|
- this.getData()
|
|
|
|
- this.handleClose()
|
|
|
|
- },
|
|
|
|
- // 循环添加用户选择常见应用
|
|
|
|
- XAdd(val){
|
|
|
|
- return new Promise((resolve) => {
|
|
|
|
let params = [
|
|
let params = [
|
|
{
|
|
{
|
|
- functionName: API_CONFIG.ajax_add_usuallyApp.functionName,
|
|
|
|
- oid:this.roleUser.organizeid,
|
|
|
|
- aid: val,
|
|
|
|
- uid: this.roleUser.userid,
|
|
|
|
|
|
+ functionName: API_CONFIG.ajax_AdminApp.functionName,
|
|
|
|
+ con: cocoFlowCopy.join(','),
|
|
},
|
|
},
|
|
];
|
|
];
|
|
-
|
|
|
|
- this.$ajax
|
|
|
|
- .post(API_CONFIG.baseUrl, params)
|
|
|
|
- .then(() => {
|
|
|
|
- resolve(1)
|
|
|
|
- })
|
|
|
|
- .catch((err) => {
|
|
|
|
- console.log(err);
|
|
|
|
- });
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- // 获取已添加cocoFlow应用
|
|
|
|
- getData(){
|
|
|
|
- // let params = [
|
|
|
|
- // {
|
|
|
|
- // functionName: API_CONFIG.ajax_addedUsuallyApp.functionName,
|
|
|
|
- // uid: this.roleUser.userid,
|
|
|
|
- // },
|
|
|
|
- // ];
|
|
|
|
-
|
|
|
|
- // this.$ajax
|
|
|
|
- // .post(API_CONFIG.baseUrl, params)
|
|
|
|
- // .then((res) => {
|
|
|
|
- // this.CocoFlowList = res.data[0]
|
|
|
|
- // })
|
|
|
|
- // .catch((err) => {
|
|
|
|
- // console.log(err);
|
|
|
|
- // this.$message.error("获取工具数据失败");
|
|
|
|
- // });
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- let appList=[
|
|
|
|
- "4aed8607-19e1-11f0-a66a-005056924926",
|
|
|
|
- "337f9d06-1eb6-11f0-a66a-005056924926",
|
|
|
|
- "52b4aae8-088d-11f0-b508-005056924926",
|
|
|
|
- "5c95f692-1460-11f0-bad1-005056924926"
|
|
|
|
-
|
|
|
|
- ]
|
|
|
|
-
|
|
|
|
- let params = [
|
|
|
|
- {
|
|
|
|
- functionName: API_CONFIG.ajax_AdminApp.functionName,
|
|
|
|
- con: appList.join(','),
|
|
|
|
- },
|
|
|
|
- ];
|
|
|
|
|
|
|
|
this.$ajax
|
|
this.$ajax
|
|
.post(API_CONFIG.baseUrl, params)
|
|
.post(API_CONFIG.baseUrl, params)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
- this.CocoFlowList = res.data[0]
|
|
|
|
|
|
+ let _data = res.data[0];
|
|
|
|
+
|
|
|
|
+ this.CocoFlowList = cocoFlowCopy.map(id => _data.find(item => item.id === id));
|
|
|
|
+
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
console.log(err);
|
|
console.log(err);
|
|
this.$message.error("获取工具数据失败");
|
|
this.$message.error("获取工具数据失败");
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ // 筛选可用平台工具,判断是否管理员可见,去除已删除工具
|
|
siftCoco(){
|
|
siftCoco(){
|
|
let data = []
|
|
let data = []
|
|
let val = JSON.parse(JSON.stringify(this.fromL.admin.index.list))
|
|
let val = JSON.parse(JSON.stringify(this.fromL.admin.index.list))
|
|
@@ -462,35 +347,50 @@ import { API_CONFIG } from "@/common/apiConfig";
|
|
}
|
|
}
|
|
|
|
|
|
this.tabList = data
|
|
this.tabList = data
|
|
- console.log('this.tabList',this.tabList);
|
|
|
|
|
|
+ // console.log('this.tabList',this.tabList);
|
|
|
|
|
|
},
|
|
},
|
|
getAdmincocoFlow(){
|
|
getAdmincocoFlow(){
|
|
// 筛选可用平台工具,判断是否管理员可见,去除已删除工具
|
|
// 筛选可用平台工具,判断是否管理员可见,去除已删除工具
|
|
this.siftCoco()
|
|
this.siftCoco()
|
|
// console.log('getAdmincocoFlow',this.fromL);
|
|
// console.log('getAdmincocoFlow',this.fromL);
|
|
|
|
+
|
|
|
|
+ let cocoFlowCopy = this.fromL.admin.cocoFlow.map(item => item.id);
|
|
|
|
+ console.log('cocoFlowCopy',cocoFlowCopy);
|
|
|
|
|
|
- let appList=["2d05a12a-f0e7-11ef-b508-005056924926",
|
|
|
|
- "38ee6402-0539-11f0-b508-005056924926",
|
|
|
|
- "1c83613c-ffb7-11ef-b508-005056924926",
|
|
|
|
- "0d3d87bd-00b6-11f0-b508-005056924926",
|
|
|
|
- "ee61f383-0311-11f0-b508-005056924926",
|
|
|
|
- "701615ab-ffe8-11ef-b508-005056924926",
|
|
|
|
- "d1edef14-ef6f-11ef-b508-005056924926",
|
|
|
|
- "a8781a86-00d8-11f0-b508-005056924926",
|
|
|
|
- ]
|
|
|
|
|
|
+ let appList= [
|
|
|
|
+ "d1edef14-ef6f-11ef-b508-005056924926",
|
|
|
|
+ "701615ab-ffe8-11ef-b508-005056924926",
|
|
|
|
+ "a8781a86-00d8-11f0-b508-005056924926",
|
|
|
|
+ "ee61f383-0311-11f0-b508-005056924926",
|
|
|
|
+ "38ee6402-0539-11f0-b508-005056924926",
|
|
|
|
+ "1c83613c-ffb7-11ef-b508-005056924926",
|
|
|
|
+ "0d3d87bd-00b6-11f0-b508-005056924926",
|
|
|
|
+ "2d05a12a-f0e7-11ef-b508-005056924926",
|
|
|
|
+ ]
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
let params = [
|
|
let params = [
|
|
{
|
|
{
|
|
functionName: API_CONFIG.ajax_AdminApp.functionName,
|
|
functionName: API_CONFIG.ajax_AdminApp.functionName,
|
|
- con: this.fromL.admin.cocoFlow.length == 0 ? appList.join(',') : this.fromL.admin.cocoFlow.join(','),
|
|
|
|
|
|
+ con: cocoFlowCopy.length == 0 ? appList.join(',') : cocoFlowCopy.join(','),
|
|
},
|
|
},
|
|
];
|
|
];
|
|
|
|
|
|
this.$ajax
|
|
this.$ajax
|
|
.post(API_CONFIG.baseUrl, params)
|
|
.post(API_CONFIG.baseUrl, params)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
- this.admincocoFlow = res.data[0]
|
|
|
|
|
|
+ let _data = res.data[0]
|
|
|
|
+
|
|
|
|
+ if (cocoFlowCopy.length == 0) {
|
|
|
|
+ this.admincocoFlow = appList.map(id => _data.find(item => item.id === id));
|
|
|
|
+ }else{
|
|
|
|
+ this.admincocoFlow = cocoFlowCopy.map(id => _data.find(item => item.id === id));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
console.log(err);
|
|
console.log(err);
|
|
@@ -542,17 +442,17 @@ import { API_CONFIG } from "@/common/apiConfig";
|
|
console.log('_url',_url);
|
|
console.log('_url',_url);
|
|
|
|
|
|
|
|
|
|
- let kpl = ` <iframe
|
|
|
|
- allow= "camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
|
- frameborder="no"
|
|
|
|
- border="0"
|
|
|
|
- style="border:0;width:100%;height:100%;"
|
|
|
|
- src="${_url}"
|
|
|
|
- ref="pageCon"
|
|
|
|
- >
|
|
|
|
- </iframe>`
|
|
|
|
|
|
+ // let kpl = ` <iframe
|
|
|
|
+ // allow= "camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
|
+ // frameborder="no"
|
|
|
|
+ // border="0"
|
|
|
|
+ // style="border:0;width:100%;height:100%;"
|
|
|
|
+ // src="${_url}"
|
|
|
|
+ // ref="pageCon"
|
|
|
|
+ // >
|
|
|
|
+ // </iframe>`
|
|
|
|
|
|
- let pl = {json:kpl ,stateL :true,toolId :val.toolId}
|
|
|
|
|
|
+ let pl = {json:_url ,stateL :true,toolId :val.toolId}
|
|
|
|
|
|
// this.$emit('AddAppJson',pl)
|
|
// this.$emit('AddAppJson',pl)
|
|
|
|
|
|
@@ -571,6 +471,120 @@ import { API_CONFIG } from "@/common/apiConfig";
|
|
// // 基本用法:打开指定 URL
|
|
// // 基本用法:打开指定 URL
|
|
window.open(val.url, "_blank");
|
|
window.open(val.url, "_blank");
|
|
},
|
|
},
|
|
|
|
+ //#region
|
|
|
|
+ // handleClose(){
|
|
|
|
+ // this.usuallyList= []
|
|
|
|
+ // this.tab= []
|
|
|
|
+ // this.dialogVisible = false
|
|
|
|
+ // },
|
|
|
|
+ // 弹框选择添加应用
|
|
|
|
+ // addApp(val){
|
|
|
|
+ // // let data = this.CocoFlowList.filter(e=>{
|
|
|
|
+ // // return e.id == val
|
|
|
|
+ // // })
|
|
|
|
+ // // if (data.length != 0) return this.$message.info('常用列表已添加')
|
|
|
|
+ // let kpl = [...this.tab,...this.CocoFlowList]
|
|
|
|
+ // // console.log(kpl);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ // const index = this.tab.indexOf(val);
|
|
|
|
+ // if (index !== -1) {
|
|
|
|
+ // this.tab.splice(index, 1); // 删除第一个匹配项
|
|
|
|
+ // } else {
|
|
|
|
+ // if (kpl.length > 3) return this.$message.info('只能添加四个常用应用哦')
|
|
|
|
+ // this.tab.push(val); // 添加元素到末尾
|
|
|
|
+ // }
|
|
|
|
+ // },
|
|
|
|
+ // // 添加常用确定按钮
|
|
|
|
+ // async addUsuallyApp(){
|
|
|
|
+ // const uploadYn = async files => {
|
|
|
|
+ // for (let index = 0; index < files.length; index++) {
|
|
|
|
+ // await this.XAdd(files[index]);
|
|
|
|
+ // console.log(index);
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // await uploadYn(this.tab);
|
|
|
|
+ // console.log('完成了');
|
|
|
|
+ // this.getData()
|
|
|
|
+ // this.handleClose()
|
|
|
|
+ // },
|
|
|
|
+ // // 循环添加用户选择常见应用
|
|
|
|
+ // XAdd(val){
|
|
|
|
+ // return new Promise((resolve) => {
|
|
|
|
+ // let params = [
|
|
|
|
+ // {
|
|
|
|
+ // functionName: API_CONFIG.ajax_add_usuallyApp.functionName,
|
|
|
|
+ // oid:this.roleUser.organizeid,
|
|
|
|
+ // aid: val,
|
|
|
|
+ // uid: this.roleUser.userid,
|
|
|
|
+ // },
|
|
|
|
+ // ];
|
|
|
|
+
|
|
|
|
+ // this.$ajax
|
|
|
|
+ // .post(API_CONFIG.baseUrl, params)
|
|
|
|
+ // .then(() => {
|
|
|
|
+ // resolve(1)
|
|
|
|
+ // })
|
|
|
|
+ // .catch((err) => {
|
|
|
|
+ // console.log(err);
|
|
|
|
+ // });
|
|
|
|
+ // })
|
|
|
|
+ // },
|
|
|
|
+ // // 删除应用
|
|
|
|
+ // delApp(val){
|
|
|
|
+ // this.$confirm('确定删除吗', '提示', {
|
|
|
|
+ // confirmButtonText: '确定',
|
|
|
|
+ // cancelButtonText: '取消',
|
|
|
|
+ // type: 'warning'
|
|
|
|
+ // }).then(async () => {
|
|
|
|
+ // let params = [
|
|
|
|
+ // {
|
|
|
|
+ // functionName: API_CONFIG.ajax_del_usuallyApp.functionName,
|
|
|
|
+ // aid: val,
|
|
|
|
+ // },
|
|
|
|
+ // ];
|
|
|
|
+
|
|
|
|
+ // this.$ajax
|
|
|
|
+ // .post(API_CONFIG.baseUrl, params)
|
|
|
|
+ // .then(() => {
|
|
|
|
+ // this.$message.success('删除成功')
|
|
|
|
+ // this.getData()
|
|
|
|
+ // })
|
|
|
|
+ // .catch((err) => {
|
|
|
|
+ // console.log(err);
|
|
|
|
+ // this.$message.error("删除失败");
|
|
|
|
+ // });
|
|
|
|
+
|
|
|
|
+ // }).catch(() => {
|
|
|
|
+ // // 取消操作
|
|
|
|
+ // });
|
|
|
|
+ // },
|
|
|
|
+ // 打开常见应用弹框
|
|
|
|
+ // openUsuallyApp(){
|
|
|
|
+ // this.dialogVisible = true
|
|
|
|
+ // this.loading = true
|
|
|
|
+ // let params = [
|
|
|
|
+ // {
|
|
|
|
+ // functionName: API_CONFIG.ajax_usuallyApp.functionName,
|
|
|
|
+ // uid: this.roleUser.userid,
|
|
|
|
+ // cn: this.roleUser.schoolArea ? this.roleUser.schoolArea : this.roleUser.orgArea, //学校id
|
|
|
|
+ // },
|
|
|
|
+ // ];
|
|
|
|
+
|
|
|
|
+ // this.$ajax
|
|
|
|
+ // .post(API_CONFIG.baseUrl, params)
|
|
|
|
+ // .then((res) => {
|
|
|
|
+ // this.usuallyList = res.data[0]
|
|
|
|
+ // this.loading = false
|
|
|
|
+
|
|
|
|
+ // })
|
|
|
|
+ // .catch((err) => {
|
|
|
|
+ // console.log(err);
|
|
|
|
+ // this.loading = false
|
|
|
|
+ // this.$message.error("获取工具数据失败");
|
|
|
|
+ // });
|
|
|
|
+ // },
|
|
|
|
+ //#endregion
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -715,12 +729,17 @@ import { API_CONFIG } from "@/common/apiConfig";
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
display: flex;
|
|
padding-right: 40px;
|
|
padding-right: 40px;
|
|
|
|
+ object-fit: contain;
|
|
}
|
|
}
|
|
.footConLeft img{
|
|
.footConLeft img{
|
|
min-width: 150px;
|
|
min-width: 150px;
|
|
border-radius: 15px;
|
|
border-radius: 15px;
|
|
/* object-view-box: inset(0% 12px 30px 30px); */
|
|
/* object-view-box: inset(0% 12px 30px 30px); */
|
|
}
|
|
}
|
|
|
|
+.CutImg{
|
|
|
|
+ width: 100% !important;
|
|
|
|
+ object-view-box: inset(0% 12px 30px 30px);
|
|
|
|
+}
|
|
.CocoTit{
|
|
.CocoTit{
|
|
width: 100%;
|
|
width: 100%;
|
|
min-width: 150px;
|
|
min-width: 150px;
|
|
@@ -786,6 +805,9 @@ import { API_CONFIG } from "@/common/apiConfig";
|
|
padding-top: 8px;
|
|
padding-top: 8px;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
+.footListConimgPic{
|
|
|
|
+ margin-bottom: 12px;height: 40px;width: 40px;object-fit: contain;
|
|
|
|
+}
|
|
.cha{
|
|
.cha{
|
|
display: none;position: absolute;top: 10px;right: 10px;
|
|
display: none;position: absolute;top: 10px;right: 10px;
|
|
}
|
|
}
|