|
@@ -1,13 +1,18 @@
|
|
<template>
|
|
<template>
|
|
<div class="appManagement">
|
|
<div class="appManagement">
|
|
<div class="ac_left">
|
|
<div class="ac_left">
|
|
|
|
+ <div class="find">
|
|
|
|
+ <img src="../../../../assets/icon/appStore/find_icon.svg">
|
|
|
|
+ <span>发现</span>
|
|
|
|
+ </div>
|
|
<saveCard
|
|
<saveCard
|
|
title="最近使用"
|
|
title="最近使用"
|
|
:data="recentUse"
|
|
:data="recentUse"
|
|
|
|
+ :icon="require('../../../../assets/icon/appStore/history_icon.svg')"
|
|
:type="1"
|
|
:type="1"
|
|
@saveClick="openApp"
|
|
@saveClick="openApp"
|
|
/>
|
|
/>
|
|
- <saveCard title="收藏" :data="collect" :type="0" @saveClick="openApp" />
|
|
|
|
|
|
+ <saveCard title="收藏" :icon="require('../../../../assets/icon/appStore/collect_icon.svg')":data="collect" :type="0" @saveClick="openApp" />
|
|
</div>
|
|
</div>
|
|
<div class="ac_right">
|
|
<div class="ac_right">
|
|
<div class="ac_header">
|
|
<div class="ac_header">
|
|
@@ -53,14 +58,14 @@
|
|
|
|
|
|
</div> -->
|
|
</div> -->
|
|
<el-button
|
|
<el-button
|
|
- type="primary"
|
|
|
|
- size="small"
|
|
|
|
- icon="el-icon-plus"
|
|
|
|
- v-show="false"
|
|
|
|
- style="position: absolute;right: 15px;"
|
|
|
|
- @click="addApp"
|
|
|
|
- >添加应用</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ icon="el-icon-plus"
|
|
|
|
+ v-show="false"
|
|
|
|
+ style="position: absolute;right: 15px;"
|
|
|
|
+ @click="addApp"
|
|
|
|
+ >添加应用</el-button
|
|
|
|
+ >
|
|
<div class="ac_h_banner" v-if="bannerObj">
|
|
<div class="ac_h_banner" v-if="bannerObj">
|
|
<img :src="bannerObj.poster" alt="banner图" />
|
|
<img :src="bannerObj.poster" alt="banner图" />
|
|
</div>
|
|
</div>
|
|
@@ -84,7 +89,7 @@
|
|
v-model="selectJuri"
|
|
v-model="selectJuri"
|
|
placeholder="请选择显示范围"
|
|
placeholder="请选择显示范围"
|
|
@change="changeSelectType"
|
|
@change="changeSelectType"
|
|
- style="width: 150px;margin-right: 10px;"
|
|
|
|
|
|
+ style="width: 120px;margin-right: 10px;"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="item in selectList"
|
|
v-for="item in selectList"
|
|
@@ -97,7 +102,7 @@
|
|
v-model="selectLabel"
|
|
v-model="selectLabel"
|
|
placeholder="请选择类型"
|
|
placeholder="请选择类型"
|
|
@change="changeSelectType"
|
|
@change="changeSelectType"
|
|
- style="width: 120px;margin-right: 10px;"
|
|
|
|
|
|
+ style="width: 110px;margin-right: 10px;"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="item in labelSelect"
|
|
v-for="item in labelSelect"
|
|
@@ -108,17 +113,23 @@
|
|
</el-select>
|
|
</el-select>
|
|
<el-input
|
|
<el-input
|
|
v-model="searchText"
|
|
v-model="searchText"
|
|
- style="width: 200px;"
|
|
|
|
|
|
+ style="width: 250px;margin-right: 10px;"
|
|
placeholder="请输入应用名称"
|
|
placeholder="请输入应用名称"
|
|
@keyup.enter.native="getData"
|
|
@keyup.enter.native="getData"
|
|
- clearable
|
|
|
|
- />
|
|
|
|
- <el-button
|
|
|
|
|
|
+
|
|
|
|
+ >
|
|
|
|
+ <i
|
|
|
|
+ slot="suffix"
|
|
|
|
+ class="searchInputIcon el-icon-search"
|
|
|
|
+ @click="getData"
|
|
|
|
+ ></i>
|
|
|
|
+ </el-input>
|
|
|
|
+ <!-- <el-button
|
|
type="primary"
|
|
type="primary"
|
|
style="margin-left: 10px;"
|
|
style="margin-left: 10px;"
|
|
icon="el-icon-search"
|
|
icon="el-icon-search"
|
|
@click="getData"
|
|
@click="getData"
|
|
- ></el-button>
|
|
|
|
|
|
+ ></el-button> -->
|
|
<el-button type="primary" @click="selectApp()">发布应用</el-button>
|
|
<el-button type="primary" @click="selectApp()">发布应用</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -173,28 +184,43 @@
|
|
@click.stop="copyApp(item)"
|
|
@click.stop="copyApp(item)"
|
|
v-if="item.json && item.json.copy === '1'"
|
|
v-if="item.json && item.json.copy === '1'"
|
|
>
|
|
>
|
|
- <img src="../../../../assets/icon/appStore/copy.svg" alt="">
|
|
|
|
|
|
+ <img
|
|
|
|
+ src="../../../../assets/icon/appStore/copy.svg"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
<span>复制</span>
|
|
<span>复制</span>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
@click.stop="updateApp(item)"
|
|
@click.stop="updateApp(item)"
|
|
v-if="item.userid === userId"
|
|
v-if="item.userid === userId"
|
|
>
|
|
>
|
|
- <img src="../../../../assets/icon/appStore/edit.svg" alt="">
|
|
|
|
|
|
+ <img
|
|
|
|
+ src="../../../../assets/icon/appStore/edit.svg"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
<span>修改</span>
|
|
<span>修改</span>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
@click.stop="delApp(item)"
|
|
@click.stop="delApp(item)"
|
|
v-if="item.userid === userId"
|
|
v-if="item.userid === userId"
|
|
>
|
|
>
|
|
- <img src="../../../../assets/icon/appStore/del.svg" alt="">
|
|
|
|
|
|
+ <img
|
|
|
|
+ src="../../../../assets/icon/appStore/del.svg"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
<span>删除</span>
|
|
<span>删除</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<svg
|
|
<svg
|
|
t="1732786015570"
|
|
t="1732786015570"
|
|
@click.stop="updateCard(item.id)"
|
|
@click.stop="updateCard(item.id)"
|
|
- :style="`transform: rotate(${editAppCard===item.id?'0deg':'90deg'});background-color:${editAppCard===item.id?'#F3F7FD':'#fff'}`"
|
|
|
|
|
|
+ :style="
|
|
|
|
+ `transform: rotate(${
|
|
|
|
+ editAppCard === item.id ? '0deg' : '90deg'
|
|
|
|
+ });background-color:${
|
|
|
|
+ editAppCard === item.id ? '#F3F7FD' : '#fff'
|
|
|
|
+ }`
|
|
|
|
+ "
|
|
class="icon"
|
|
class="icon"
|
|
viewBox="0 0 1024 1024"
|
|
viewBox="0 0 1024 1024"
|
|
version="1.1"
|
|
version="1.1"
|
|
@@ -480,12 +506,12 @@ export default {
|
|
selectList: [
|
|
selectList: [
|
|
{ index: 3, label: "所有组织" },
|
|
{ index: 3, label: "所有组织" },
|
|
{ index: 2, label: "组织内" },
|
|
{ index: 2, label: "组织内" },
|
|
- { index: 1, label: "我的" },
|
|
|
|
|
|
+ { index: 1, label: "我的" }
|
|
// { index: 98,label:"已发布"},
|
|
// { index: 98,label:"已发布"},
|
|
// { index: 99,label:"未发布"},
|
|
// { index: 99,label:"未发布"},
|
|
],
|
|
],
|
|
labelSelect: [
|
|
labelSelect: [
|
|
- { value: "", label: "全部类型" },
|
|
|
|
|
|
+ { value: "", label: "所有类型" },
|
|
{ value: "agent", label: "智能体" },
|
|
{ value: "agent", label: "智能体" },
|
|
{ value: "workflow", label: "工作流" }
|
|
{ value: "workflow", label: "工作流" }
|
|
],
|
|
],
|
|
@@ -935,8 +961,8 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.$message.error("删除失败");
|
|
this.$message.error("删除失败");
|
|
}
|
|
}
|
|
- if(this.collect.findIndex(i=>i.id == item.id)!=-1){
|
|
|
|
- this.getCollect()
|
|
|
|
|
|
+ if (this.collect.findIndex(i => i.id == item.id) != -1) {
|
|
|
|
+ this.getCollect();
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch(err => {
|
|
.catch(err => {
|
|
@@ -1095,7 +1121,7 @@ export default {
|
|
margin: 0;
|
|
margin: 0;
|
|
overflow: auto;
|
|
overflow: auto;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
- padding: 20px;
|
|
|
|
|
|
+ /* padding: 20px; */
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
@@ -1107,20 +1133,48 @@ export default {
|
|
min-width: 150px;
|
|
min-width: 150px;
|
|
margin-right: 20px;
|
|
margin-right: 20px;
|
|
height: 100%;
|
|
height: 100%;
|
|
- border-radius: 5px;
|
|
|
|
|
|
+ /* border-radius: 5px; */
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
- box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
+ /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 10px;
|
|
padding: 10px;
|
|
|
|
+ padding-left: 20px;
|
|
overflow: auto;
|
|
overflow: auto;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.ac_left>.find{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 45px;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-radius:10px ;
|
|
|
|
+ border: 1px solid #F3F7FD;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding: 0 20px;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ /* box-shadow: 2px 2px 4px 0px #1D39830A; */
|
|
|
|
+ box-shadow: 0px 0px 4px 2px #1D39830A;
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ color: #000000E5;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.ac_left>.find>img{
|
|
|
|
+ width: 22px;
|
|
|
|
+ height: 22px;
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+}
|
|
|
|
+
|
|
.ac_right {
|
|
.ac_right {
|
|
flex: 1;
|
|
flex: 1;
|
|
min-width: 800px;
|
|
min-width: 800px;
|
|
height: 100%;
|
|
height: 100%;
|
|
- overflow-y: hidden;
|
|
|
|
|
|
+ overflow: auto;
|
|
display: flex;
|
|
display: flex;
|
|
|
|
+ padding-right: 10px;
|
|
|
|
+ padding-top: 10px;
|
|
|
|
+ box-sizing: border-box;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1128,8 +1182,8 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: auto;
|
|
height: auto;
|
|
border-radius: 5px;
|
|
border-radius: 5px;
|
|
- box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
- background-color: #fff;
|
|
|
|
|
|
+ /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
|
|
|
|
+ background-color: none;
|
|
}
|
|
}
|
|
|
|
|
|
.ac_h_top {
|
|
.ac_h_top {
|
|
@@ -1182,7 +1236,8 @@ export default {
|
|
|
|
|
|
.ac_h_banner {
|
|
.ac_h_banner {
|
|
width: 100%;
|
|
width: 100%;
|
|
- height: clamp(100px, 20vh, 300px);
|
|
|
|
|
|
+ height: clamp(100px, 25vh, 350px);
|
|
|
|
+ /* height: 400px; */
|
|
border-radius: 5px;
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
@@ -1204,6 +1259,7 @@ export default {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
+ border-bottom: solid 1px #e7e7e7;
|
|
}
|
|
}
|
|
|
|
|
|
.ac_h_b_typeList {
|
|
.ac_h_b_typeList {
|
|
@@ -1224,6 +1280,18 @@ export default {
|
|
|
|
|
|
.ac_h_b_typeList_active {
|
|
.ac_h_b_typeList_active {
|
|
color: #007aff;
|
|
color: #007aff;
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.ac_h_b_typeList_active::after {
|
|
|
|
+ content: "";
|
|
|
|
+ width: 80%;
|
|
|
|
+ height: 5px;
|
|
|
|
+ background-color: #007aff;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 110%;
|
|
|
|
+ left: 10%;
|
|
}
|
|
}
|
|
|
|
|
|
.ac_h_b_selectList {
|
|
.ac_h_b_selectList {
|
|
@@ -1235,11 +1303,9 @@ export default {
|
|
|
|
|
|
.ac_content {
|
|
.ac_content {
|
|
width: 100%;
|
|
width: 100%;
|
|
- flex: 1;
|
|
|
|
height: auto;
|
|
height: auto;
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
- overflow: auto;
|
|
|
|
- min-height: 200px;
|
|
|
|
|
|
+ padding-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
.ac_c_item {
|
|
.ac_c_item {
|
|
@@ -1254,7 +1320,7 @@ export default {
|
|
margin-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
float: left;
|
|
float: left;
|
|
border: solid 1px #e7e7e7;
|
|
border: solid 1px #e7e7e7;
|
|
- transition: .2s;
|
|
|
|
|
|
+ transition: 0.2s;
|
|
|
|
|
|
/* cursor: pointer; */
|
|
/* cursor: pointer; */
|
|
}
|
|
}
|
|
@@ -1396,7 +1462,7 @@ export default {
|
|
padding: 2.5px;
|
|
padding: 2.5px;
|
|
/* transform: rotate(90deg); */
|
|
/* transform: rotate(90deg); */
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- transition: .3s;
|
|
|
|
|
|
+ transition: 0.3s;
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1410,7 +1476,7 @@ export default {
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
/* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
|
|
/* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
|
|
width: auto;
|
|
width: auto;
|
|
- border: 1px solid #E7E7E7
|
|
|
|
|
|
+ border: 1px solid #e7e7e7;
|
|
}
|
|
}
|
|
|
|
|
|
.ac_c_i_t_p_box > div {
|
|
.ac_c_i_t_p_box > div {
|
|
@@ -1428,7 +1494,7 @@ export default {
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
|
|
-.ac_c_i_t_p_box > div>img{
|
|
|
|
|
|
+.ac_c_i_t_p_box > div > img {
|
|
width: 18px;
|
|
width: 18px;
|
|
height: 18px;
|
|
height: 18px;
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
@@ -1549,6 +1615,16 @@ export default {
|
|
color: #000;
|
|
color: #000;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.searchInputIcon {
|
|
|
|
+ width: 20px;
|
|
|
|
+ height: 20px;
|
|
|
|
+ position: relative;
|
|
|
|
+ top: 10px;
|
|
|
|
+ right: 5px;
|
|
|
|
+ font-size: 19px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+}
|
|
|
|
+
|
|
/* .ac_c_i_top {
|
|
/* .ac_c_i_top {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 50px;
|
|
height: 50px;
|