Browse Source

删除应用中心

SanHQin 1 week ago
parent
commit
74e69d7562

+ 0 - 181
src/components/pages/appStore/components/saveCard.vue

@@ -1,181 +0,0 @@
-<template>
-  <div class="saveCard">
-    <span>
-      <img v-if="icon" :src="icon">
-      {{ title }}
-    </span>
-    <div class="s_box">
-      <div v-for="(item,index) in data" :key="item.sid" @click="openAppUrl(item)" v-if="data.length>0 && item.id">
-        <div>
-          <svg
-            v-if="isImageOrSvg(typeof item.json =='object'?item.json.icon:'') === 0"
-            t="1732605901531"
-            class="icon"
-            viewBox="0 0 1024 1024"
-            version="1.1"
-            xmlns="http://www.w3.org/2000/svg"
-            p-id="4275"
-            width="200"
-            height="200"
-          >
-            <path
-              d="M179.2 153.6a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V204.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V204.8a153.6 153.6 0 0 1 153.6-153.6z m0 614.4a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V716.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V716.8a153.6 153.6 0 0 1 153.6-153.6z m611.84-403.4048a51.2 51.2 0 0 0-72.3968 0L646.144 232.2432a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968L791.04 159.744z m72.3968-72.3968l72.3968 72.3968a153.6 153.6 0 0 1 0 217.2416l-72.3968 72.3968a153.6 153.6 0 0 1-217.2416 0l-72.3968-72.3968a153.6 153.6 0 0 1 0-217.2416l72.3968-72.3968a153.6 153.6 0 0 1 217.2416 0zM699.7504 896a51.2 51.2 0 0 1 0 102.4A162.1504 162.1504 0 0 1 537.6 836.2496v-110.8992A162.1504 162.1504 0 0 1 699.7504 563.2h110.8992a162.1504 162.1504 0 0 1 162.1504 162.1504v8.448a51.2 51.2 0 0 1-102.4 0v-8.448c0-33.024-26.7264-59.7504-59.7504-59.7504h-110.8992c-33.024 0-59.7504 26.7264-59.7504 59.7504v110.8992c0 33.024 26.7264 59.7504 59.7504 59.7504z"
-              fill="#2C6DD2"
-              p-id="4276"
-            ></path>
-            <path
-              d="M791.4496 160a51.2 51.2 0 0 0-72.3968 0l-72.448 72.3968a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968l-72.3968-72.3968z"
-              fill="#20C997"
-              p-id="4277"
-            ></path>
-          </svg>
-          <span
-            v-if="isImageOrSvg(typeof item.json =='object'?item.json.icon:'') === 1"
-            v-html="item.json.icon"
-          ></span>
-          <el-image
-            v-if="isImageOrSvg(typeof item.json =='object'?item.json.icon:'') === 2"
-            style="width: 100%; height: 100%"
-            :src="item.json.icon"
-            fit="cover"
-          ></el-image>
-        </div>
-        <span>{{item.name}}</span>
-      </div>
-			<span v-if="data.length==0">暂无数据...</span>
-    </div>
-  </div>
-</template>
-
-<script>
-export default {
-  props: {
-    title: {
-      type: String,
-      default: "标题"
-    },
-    data: {
-      type: Array,
-      default: () => []
-    },
-		type:{
-			type:Number,
-			default:0
-		},
-    icon:{
-      type:String,
-      default:''
-    }
-  },
-  data() {
-    return {};
-  },
-  computed: {
-    isImageOrSvg() {
-      return value => {
-        let _result = 0; //啥也不是
-        if (value) {
-          const svgPattern = /<svg.*<\/svg>/;
-          const imagePattern = /\.(jpeg|jpg|gif|png|svg|bmp|webp)$/i; // 图片链接的正则表达式
-          const urlPattern = /^(http|https):\/\/[^ "]+$/; // 网络地址的正则表达式
-
-          if (svgPattern.test(value)) {
-            _result = 1;
-          } else if (urlPattern.test(value) && imagePattern.test(value)) {
-            _result = 2;
-          }
-        }
-        return _result;
-      };
-    }
-  },
-	methods: {
-		openAppUrl(item){
-			this.$emit("saveClick",item,this.type)
-			// window.open(item.url, "_blank");
-		}
-	},
-};
-</script>
-
-<style scoped>
-.saveCard {
-  width: 100%;
-  height: auto;
-  margin-bottom: 10px;
-  box-sizing: border-box;
-  padding: 10px;
-}
-
-.saveCard > span {
-  font-size: 16px;
-  font-weight: 400;
-  display: flex;
-  color: #00000066;
-  align-items: center;
-  margin-left: 0px;
-}
-
-.saveCard >span >img{
-  width: 20px;
-  height: 20px;
-  margin-right: 5px;
-}
-
-.s_box {
-  width: 100%;
-  height: auto;
-	padding-top: 15px;
-}
-
-.s_box>div{
-	width: 100%;
-	height: 30px;
-  margin-top: 10px;
-	margin-bottom: 15px;
-	display: flex;
-	align-items: center;
-	border-radius: 5px;
-	cursor: pointer;
-	transition: .1s;
-}
-
-/* .s_box>div:hover{
-	background-color: aliceblue;
-} */
-
-.s_box>div>div{
-	width: 22px;
-	height: 22px;
-	box-sizing: border-box;
-  border-radius: 50%;
-  overflow: hidden;
-  margin-right: 10px;
-  margin-left: 15px;
-}
-
-.s_box>div>div>svg{
-	width: 100%;
-	height: 100%;
-}
-
-.s_box>div>div>span>>>svg{
-	width: 100%;
-	height: 100%;
-}
-
-
-.s_box>div>span{
-	max-width: calc(100% - 46px);
-	overflow: hidden;
-	text-overflow: ellipsis;
-	white-space: nowrap;
-  font-size: 16px;
-  font-weight: 400;
-  color: #000000E5;
-}
-
-.s_box>span{
-	font-size: .8em;
-}
-</style>

+ 0 - 523
src/components/pages/appStore/dialog/addAppDialog.vue

@@ -1,523 +0,0 @@
-<template>
-  <div>
-    <el-dialog
-      :center="true"
-      :visible.sync="show"
-      :close-on-click-modal="false"
-      width="500px"
-      class="addNewAppDialog"
-    >
-      <div class="a-d-top">
-        <div class="a-d-topTit">
-          <div v-if="type === 1">创建新应用</div>
-          <div v-else>修改应用</div>
-        </div>
-        <div class="a-d-t-right">
-          <span @click="close()">×</span>
-        </div>
-      </div>
-      <div class="bfd_box" v-loading="loading" label-position="top">
-        <el-form :model="form" :rules="rules" ref="ruleForm">
-          <div
-            style="display: flex;width: 100%;justify-content: space-between;align-items: center;"
-          >
-            <el-form-item label="应用图标" prop="icon">
-              <el-input
-                v-model="form.json.icon"
-                placeholder="请输入应用图标(可直接粘贴链接或者点击右侧图标上传图片)"
-                style="width: 500px;"
-              ></el-input>
-            </el-form-item>
-
-            <div
-              class="bfd_icon"
-              v-loading="uploadIconLoading"
-              @click="uploadIcon()"
-            >
-              <!-- svg -->
-              <span
-                v-html="form.json.icon"
-                v-if="isImageOrSvg(form.json.icon) === 1"
-              ></span>
-              <!-- 默认图标 -->
-              <svg
-                v-if="isImageOrSvg(form.json.icon) === 0"
-                t="1732605901531"
-                class="icon"
-                viewBox="0 0 1024 1024"
-                version="1.1"
-                xmlns="http://www.w3.org/2000/svg"
-                p-id="4275"
-                width="200"
-                height="200"
-              >
-                <path
-                  d="M179.2 153.6a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V204.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V204.8a153.6 153.6 0 0 1 153.6-153.6z m0 614.4a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V716.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V716.8a153.6 153.6 0 0 1 153.6-153.6z m611.84-403.4048a51.2 51.2 0 0 0-72.3968 0L646.144 232.2432a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968L791.04 159.744z m72.3968-72.3968l72.3968 72.3968a153.6 153.6 0 0 1 0 217.2416l-72.3968 72.3968a153.6 153.6 0 0 1-217.2416 0l-72.3968-72.3968a153.6 153.6 0 0 1 0-217.2416l72.3968-72.3968a153.6 153.6 0 0 1 217.2416 0zM699.7504 896a51.2 51.2 0 0 1 0 102.4A162.1504 162.1504 0 0 1 537.6 836.2496v-110.8992A162.1504 162.1504 0 0 1 699.7504 563.2h110.8992a162.1504 162.1504 0 0 1 162.1504 162.1504v8.448a51.2 51.2 0 0 1-102.4 0v-8.448c0-33.024-26.7264-59.7504-59.7504-59.7504h-110.8992c-33.024 0-59.7504 26.7264-59.7504 59.7504v110.8992c0 33.024 26.7264 59.7504 59.7504 59.7504z"
-                  fill="#2C6DD2"
-                  p-id="4276"
-                ></path>
-                <path
-                  d="M791.4496 160a51.2 51.2 0 0 0-72.3968 0l-72.448 72.3968a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968l-72.3968-72.3968z"
-                  fill="#20C997"
-                  p-id="4277"
-                ></path>
-              </svg>
-              <!-- 网络图片 -->
-              <el-image
-                v-if="isImageOrSvg(form.json.icon) === 2"
-                style="width: 100%; height: 100%"
-                :src="form.json.icon"
-                fit="cover"
-              ></el-image>
-            </div>
-          </div>
-          <el-form-item label="应用名称" prop="name">
-            <el-input
-              v-model="form.name"
-              placeholder="请输入应用名称"
-            ></el-input>
-          </el-form-item>
-          <div
-            style="display: flex;width: 100%;justify-content: space-between;"
-          >
-            <el-form-item label="应用类型" prop="label">
-              <!-- <el-input
-                v-model="form.label"
-                placeholder="请输入应用标签"
-                style="width: 300px;"
-              ></el-input> -->
-              <el-select
-                v-model="form.label"
-                placeholder="请选择应用类型"
-                style="width: 300px;"
-              >
-                <el-option
-                  v-for="item in selectLabelList"
-                  :key="item.value"
-                  :label="item.label"
-                  :value="item.value"
-                >
-                </el-option>
-              </el-select>
-            </el-form-item>
-            <el-form-item label="应用分类" prop="type">
-              <el-select
-                v-model="form.type"
-                placeholder="请选择应用分类"
-                style="width: 300px;"
-              >
-                <el-option
-                  v-for="item in typeList"
-                  :key="item.id"
-                  :label="item.name"
-                  :value="item.id"
-                >
-                </el-option>
-              </el-select>
-            </el-form-item>
-          </div>
-          <el-form-item label="应用链接" prop="url">
-            <el-input
-              v-model="form.url"
-              placeholder="请输入应用链接"
-            ></el-input>
-          </el-form-item>
-          <el-form-item label="应用简介" prop="detail">
-            <el-input
-              type="textarea"
-              v-model="form.detail"
-              style="width: 100%;"
-              :rows="3"
-              resize="none"
-              placeholder="请输入应用简介"
-            ></el-input>
-          </el-form-item>
-          <el-form-item
-            label="可见范围"
-            style="display: flex;flex-direction: column;align-items: flex-start;"
-          >
-            <el-radio-group v-model="form.juri">
-              <el-radio label="1">私有</el-radio>
-              <el-radio label="2">公开组织</el-radio>
-              <el-radio label="3" v-show="oid ==='45facc0a-1211-11ec-80ad-005056b86db5'">公开所有人</el-radio>
-            </el-radio-group>
-          </el-form-item>
-
-          <el-form-item
-            label="应用状态"
-            style="display: flex;flex-direction: column;align-items: flex-start;"
-          >
-            <el-radio-group v-model="form.json.status">
-              <el-radio label="1">测试</el-radio>
-              <el-radio label="2">稳定</el-radio>
-            </el-radio-group>
-          </el-form-item>
-
-
-					<el-form-item label="权限设置"  style="display: flex;flex-direction: column;align-items: flex-start;">
-						<el-radio-group v-model="form.json.copy" style="display: flex;flex-direction: column;">
-              <el-radio label="0" class="radioItem">仅体验(用户仅能使用,不可查看设置内容)</el-radio>
-              <el-radio label="1" class="radioItem">允许其他用户复制并进行二次创作</el-radio>
-            </el-radio-group>
-          </el-form-item>
-        </el-form>
-      </div>
-      <div class="bfd_bottom">
-        <el-button @click="close()">取消</el-button>
-        <el-button type="primary" @click="submitBtn('ruleForm')"
-          >保存</el-button
-        >
-      </div>
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-let validUrl = (rule, value, callback) => {
-  if (value) {
-    // 验证链接是否有效
-    try {
-      new URL(value);
-      callback();
-    } catch (error) {
-      return callback(new Error("请输入有效的链接"));
-    }
-  }
-};
-export default {
-  props: {
-    typeList: {
-      type: Array,
-      default: () => {
-        return [];
-      }
-    }
-  },
-  data() {
-    return {
-      oid: this.$route.query["oid"],
-      loading: false,
-      show: false,
-      uploadIconLoading: false,
-      type: 1, //1添加,2编辑
-      selectLabelList:[
-        {value:"agent",label:"智能体"},
-        {value:"workflow",label:"工作流"},
-      ],
-      form: {
-        name: "",
-        label: "",
-        detail: "",
-        url: "",
-        type: "",
-        juri: "1",
-        stand: this.region,
-        json: {
-          icon: "",
-          copy: "0",
-          status:"",
-          model:""
-        }
-      },
-      rules: {
-        name: [{ required: true, message: "请输入应用名称", trigger: "blur" }],
-        url: [{ required: true, message: "请输入应用链接", trigger: "blur" }],
-        // nlabel: [
-        //   { required: true, message: "请输入应用标签", trigger: "blur" }
-        // ],
-        type: [{ required: true, message: "请选择应用分类", trigger: "blur" }],
-        // ndetail:[{required:true,message:"请输入应用简介",trigger:"blur"}],
-        juri: [{ required: true, message: "请选择权限管理", trigger: "blur" }],
-        url: [
-          { required: true, message: "请输入应用链接", trigger: "blur" },
-          { validator: validUrl, trigger: "blur" }
-        ]
-      }
-    };
-  },
-  computed: {
-    isImageOrSvg() {
-      return value => {
-        let _result = 0; //啥也不是
-        if (value) {
-          const svgPattern = /<svg.*<\/svg>/;
-          const imagePattern = /\.(jpeg|jpg|gif|png|svg|bmp|webp)$/i; // 图片链接的正则表达式
-          const urlPattern = /^(http|https):\/\/[^ "]+$/; // 网络地址的正则表达式
-
-          if (svgPattern.test(value)) {
-            _result = 1;
-          } else if (urlPattern.test(value) && imagePattern.test(value)) {
-            _result = 2;
-          }
-        }
-        return _result;
-      };
-    },
-    region(){
-      let _result = "cn";
-      let query = this.$route.query["region"]
-      if(query && (query == "cn" || query == "hk" || query == "all")){
-        _result = query;
-      }
-      return _result;
-    }
-  },
-  methods: {
-    open(data) {
-      if (data && data.type === 2) {
-        if (!data.form.json) {
-          data.form.json = { icon: "", copy: "0" };
-        }
-				if(!data.form.json.icon){
-					data.form.json.icon = ""
-				}
-				if(!data.form.json.copy){
-					data.form.json.copy = "0"
-				}
-
-        if(!data.form.json.status){
-					data.form.json.status = ""
-				}
-
-        this.form = JSON.parse(JSON.stringify(data.form));
-        this.type = data.type;
-      } else {
-        this.form = {
-          name: "",
-          label: "",
-          detail: "",
-          url: "",
-          type: "",
-          juri: "1",
-          stand: "hk",
-          json: {
-            icon: "",
-            copy: "0",
-            status:"",
-            model:""
-          }
-        };
-      }
-      this.loading = false;
-      this.uploadIconLoading = false;
-      this.show = true;
-    },
-    uploadIcon() {
-      if (this.uploadIconLoading) return this.$message.info("请稍等...");
-      const input = document.createElement("input");
-      input.type = "file";
-      input.accept =
-        "image/jpeg, image/jpg, image/gif, image/png, image/svg+xml";
-      input.onchange = async event => {
-        const file = event.target.files[0];
-        this.uploadIconLoading = true;
-        const validImageTypes = /\.(jpeg|jpg|gif|png|svg)$/i; // 定义有效的图片类型正则表达式
-
-        if (validImageTypes.test(file.name)) {
-          let url = await this.uploadFile(file);
-          if (url) {
-            this.form.json.icon = url;
-          }
-          this.uploadIconLoading = false;
-        } else {
-          this.$message.error("请上传有效的图片文件!(jpeg|jpg|gif|png|svg)"); // 提示用户上传有效的图片
-        }
-      };
-      input.click();
-    },
-    close(flag = false) {
-      if (this.loading && !flag) return this.$message.info("请稍等...");
-      this.show = false;
-      this.init();
-    },
-    init() {
-      this.form = {
-        name: "",
-        label: "",
-        detail: "",
-        url: "",
-        type: "",
-        juri: "1",
-        stand: "hk",
-        json: {
-          icon: "",
-          copy: "0",
-          status:"",
-          model:""
-        }
-      };
-      this.loading = false;
-    },
-    submitBtn(ref) {
-      if (this.loading) return this.$message.info("请稍等...");
-      this.$refs[ref].validate(valid => {
-        if (valid) {
-          this.loading = true;
-          this.$emit("success", this.form, this.type);
-        }
-      });
-    },
-    uploadFile(file) {
-      return new Promise(resolve => {
-        var credentials = {
-          accessKeyId: "AKIATLPEDU37QV5CHLMH",
-          secretAccessKey: "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"
-        }; //秘钥形式的登录上传
-        window.AWS.config.update(credentials);
-        window.AWS.config.region = "cn-northwest-1"; //设置区域
-
-        var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } }); //选择桶
-        var _this = this;
-
-        if (file) {
-          // this.loading = true;
-          var params = {
-            Key:
-              file.name.split(".")[0] +
-              new Date().getTime() +
-              "." +
-              file.name.split(".")[file.name.split(".").length - 1],
-            ContentType: file.type,
-            Body: file,
-            "Access-Control-Allow-Credentials": "*",
-            ACL: "public-read"
-          }; //key可以设置为桶的相抵路径,Body为文件, ACL最好要设置
-          var options = {
-            partSize: 2048 * 1024 * 1024,
-            queueSize: 2,
-            leavePartsOnError: true
-          };
-          bucket
-            .upload(params, options)
-            .on("httpUploadProgress", function(evt) {
-              //这里可以写进度条
-              // _this.progressData.value = parseInt((evt.loaded * 100) / evt.total);
-              // console.log("Uploaded : " + parseInt((evt.loaded * 80) / evt.total) + '%');
-            })
-            .send(function(err, data) {
-              if (err) {
-                _this.$message.error("上传失败");
-                resolve(0);
-              } else {
-                resolve(data.Location);
-              }
-            });
-        }
-      });
-    }
-  }
-};
-</script>
-
-<style scoped>
-.addNewAppDialog >>> .el-dialog {
-  min-width: 700px;
-
-  height: 1020px;
-	/* height: 780px; */
-  box-shadow: 0px 0 8px 0px #555555;
-  border-radius: 8px;
-  background-color: #fff;
-  /* top: 0px; */
-  /* margin: 0 auto; */
-  overflow: hidden;
-}
-.addNewAppDialog >>> .el-dialog__body {
-  height: 100%;
-  min-width: 700px;
-  flex-shrink: 0;
-  box-sizing: border-box;
-  padding-bottom: 50px;
-  padding-top: 10px;
-  overflow: auto;
-}
-.addNewAppDialog >>> .el-dialog__header {
-  display: none !important;
-}
-
-.a-d-top {
-  /* background: #adadad; */
-  display: flex;
-  flex-direction: row;
-  flex-wrap: nowrap;
-  align-items: center;
-  justify-content: space-between;
-  height: 54px;
-  border-radius: 8px 8px 0 0;
-  user-select: none;
-  border-bottom: 1px #ccc solid;
-}
-.a-d-top >>> .el-input__inner {
-  width: 320px;
-  height: 32px;
-}
-.a-d-top >>> .el-input__icon {
-  line-height: 32px;
-}
-
-.a-d-topTit {
-  /* width: 171px; */
-  /* margin-left: 20px; */
-  height: 32px;
-  display: flex;
-  font-weight: bold;
-  font-size: 20px;
-  align-items: center;
-  font-family: PingFang SC;
-  box-sizing: border-box;
-  padding: 5px;
-  line-height: 22px;
-  justify-content: center;
-  /* text-align: left; */
-}
-
-.a-d-t-right > span {
-  font-size: 18px;
-  font-weight: bold;
-  cursor: pointer;
-}
-
-.bfd_bottom {
-  display: flex;
-  justify-content: flex-end;
-}
-
-.bfd_icon {
-  width: 70px;
-  height: 70px;
-  box-sizing: border-box;
-  padding: 5px;
-  margin-right: 40px;
-  cursor: pointer;
-}
-
-.bfd_icon > svg {
-  width: 100%;
-  height: 100%;
-}
-
-.bfd_icon > span {
-  width: 100%;
-  height: 100%;
-
-  display: block;
-}
-
-.bfd_icon > span >>> svg {
-  width: 100%;
-  height: 100%;
-}
-
-.switchForm{
-	display: flex;
-	align-items: center;
-}
-
-.switchForm>span{
-	margin-left: 10px;
-}
-
-.radioItem{
-	margin-bottom: 10px;
-}
-</style>

+ 0 - 298
src/components/pages/appStore/dialog/releaseAppDialog.vue

@@ -1,298 +0,0 @@
-<template>
-  <div>
-    <el-dialog
-      :center="true"
-      :visible.sync="show"
-      :close-on-click-modal="false"
-      width="500px"
-      class="releaseAppDialog"
-    >
-      <div class="a-d-top">
-        <div class="a-d-topTit">
-          <div>发布应用</div>
-        </div>
-        <div class="a-d-t-right">
-          <span @click="close()">×</span>
-        </div>
-      </div>
-      <div class="bfd_box" v-loading="loading" label-position="top">
-        <el-form :model="form" :rules="rules" ref="ruleForm">
-
-          <el-form-item
-            label="选择模式"
-            style="display: flex;flex-direction: column;align-items: flex-start;"
-          >
-            <el-radio-group v-model="form.json.model">
-              <el-radio label="1">对话式</el-radio>
-              <el-radio label="2">卡片式</el-radio>
-              <el-radio label="3">沉浸式</el-radio>
-            </el-radio-group>
-          </el-form-item>
-
-          <el-form-item
-            label="可见范围"
-            style="display: flex;flex-direction: column;align-items: flex-start;"
-          >
-            <el-radio-group v-model="form.juri">
-              <el-radio label="3" v-show="oid==='45facc0a-1211-11ec-80ad-005056b86db5'">所有人可见</el-radio>
-              <el-radio label="2">组织内可见</el-radio>
-              <el-radio label="1">仅自己可见</el-radio>
-            </el-radio-group>
-          </el-form-item>
-
-
-					<el-form-item label="权限设置"  style="display: flex;flex-direction: column;align-items: flex-start;">
-						<el-radio-group v-model="form.json.copy" style="display: flex;flex-direction: column;">
-              <el-radio label="0" class="radioItem">仅体验(用户仅能使用,不可查看设置内容)</el-radio>
-              <el-radio label="1" class="radioItem">允许其他用户复制并进行二次创作</el-radio>
-            </el-radio-group>
-          </el-form-item>
-
-          <div
-            style="display: flex;width: 100%;justify-content: space-between;align-items: center;"
-          >
-            <el-form-item label="应用分类" prop="type">
-              <el-select
-                v-model="form.type"
-                placeholder="请选择应用类型"
-                style="width: 300px;"
-              >
-                <el-option
-                  v-for="item in typeList"
-                  :key="item.id"
-                  :label="item.name"
-                  :value="item.id"
-                >
-                </el-option>
-              </el-select>
-            </el-form-item>
-          </div>
-        </el-form>
-      </div>
-      <div class="bfd_bottom">
-        <el-button @click="close()">取消</el-button>
-        <el-button type="primary" @click="submitBtn('ruleForm')"
-          >确认发布</el-button
-        >
-      </div>
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-let validUrl = (rule, value, callback) => {
-  if (value) {
-    // 验证链接是否有效
-    try {
-      new URL(value);
-      callback();
-    } catch (error) {
-      return callback(new Error("请输入有效的链接"));
-    }
-  }
-};
-export default {
-  props: {
-    typeList: {
-      type: Array,
-      default: () => {
-        return [];
-      }
-    }
-  },
-  data() {
-    return {
-      oid: this.$route.query["oid"],
-      loading: false,
-      show: false,
-      form: {
-        name: "",
-        label: "",
-        detail: "",
-        url: "",
-        type: "",
-        juri: "1",
-        stand: "hk",
-        json: {
-          icon: "",
-          copy: "0"
-        }
-      },
-      rules: {
-
-        juri: [{ required: true, message: "请选择权限管理", trigger: "blur" }],
-        type: [{ required: true, message: "请选择应用类型", trigger: "blur" }],
-        url: [
-          { required: true, message: "请输入应用链接", trigger: "blur" },
-          { validator: validUrl, trigger: "blur" }
-        ]
-      }
-    };
-  },
-  methods: {
-    open(data) {
-      if (!data.form.json) {
-        data.form.json = { icon: "", copy: "0" };
-      }
-			if(!data.form.json.icon){
-				data.form.json.icon = ""
-			}
-			if(!data.form.json.copy){
-				data.form.json.copy = "0"
-			}
-      if(!data.form.json.model){
-        data.form.json.model = "1"
-      }
-
-      if(!data.form.type){
-        data.form.type = this.typeList[0].id?this.typeList[0].id:''
-      }
-
-      data.form.juri = '3'
-      this.form = data.form;
-      this.loading = false;
-      this.show = true;
-    },
-    close() {
-      this.show = false;
-      this.init();
-    },
-    init() {
-      this.form = {
-        name: "",
-        label: "",
-        detail: "",
-        url: "",
-        type: "",
-        juri: "1",
-        stand: "hk",
-        json: {
-          icon: "",
-          copy: "0"
-        }
-      };
-      this.loading = false;
-    },
-    submitBtn(ref) {
-      if (this.loading) return this.$message.info("请稍等...");
-      this.$refs[ref].validate(valid => {
-        if (valid) {
-          this.$emit("success", this.form);
-        }
-      });
-    },
-  }
-};
-</script>
-
-<style scoped>
-.releaseAppDialog >>> .el-dialog {
-  min-width: 700px;
-
-  height: 550px;
-	/* height: 780px; */
-  box-shadow: 0px 0 8px 0px #555555;
-  border-radius: 8px;
-  background-color: #fff;
-  /* top: 0px; */
-  /* margin: 0 auto; */
-  overflow: hidden;
-}
-.releaseAppDialog >>> .el-dialog__body {
-  height: 100%;
-  min-width: 550px;
-  flex-shrink: 0;
-  box-sizing: border-box;
-  padding-bottom: 50px;
-  padding-top: 10px;
-}
-.releaseAppDialog >>> .el-dialog__header {
-  display: none !important;
-}
-
-.a-d-top {
-  /* background: #adadad; */
-  display: flex;
-  flex-direction: row;
-  flex-wrap: nowrap;
-  align-items: center;
-  justify-content: space-between;
-  height: 54px;
-  border-radius: 8px 8px 0 0;
-  user-select: none;
-  border-bottom: 1px #ccc solid;
-}
-.a-d-top >>> .el-input__inner {
-  width: 320px;
-  height: 32px;
-}
-.a-d-top >>> .el-input__icon {
-  line-height: 32px;
-}
-
-.a-d-topTit {
-  /* width: 171px; */
-  /* margin-left: 20px; */
-  height: 32px;
-  display: flex;
-  font-weight: bold;
-  font-size: 20px;
-  align-items: center;
-  font-family: PingFang SC;
-  box-sizing: border-box;
-  padding: 5px;
-  line-height: 22px;
-  justify-content: center;
-  /* text-align: left; */
-}
-
-.a-d-t-right > span {
-  font-size: 18px;
-  font-weight: bold;
-  cursor: pointer;
-}
-
-.bfd_bottom {
-  display: flex;
-  justify-content: flex-end;
-}
-
-.bfd_icon {
-  width: 70px;
-  height: 70px;
-  box-sizing: border-box;
-  padding: 5px;
-  margin-right: 40px;
-  cursor: pointer;
-}
-
-.bfd_icon > svg {
-  width: 100%;
-  height: 100%;
-}
-
-.bfd_icon > span {
-  width: 100%;
-  height: 100%;
-
-  display: block;
-}
-
-.bfd_icon > span >>> svg {
-  width: 100%;
-  height: 100%;
-}
-
-.switchForm{
-	display: flex;
-	align-items: center;
-}
-
-.switchForm>span{
-	margin-left: 10px;
-}
-
-.radioItem{
-	margin-bottom: 10px;
-}
-</style>

+ 0 - 347
src/components/pages/appStore/dialog/selectAppDialog.vue

@@ -1,347 +0,0 @@
-<template>
-  <div>
-    <el-dialog
-      :center="true"
-      :visible.sync="show"
-      :close-on-click-modal="false"
-      width="500px"
-      class="addNewAppDialog"
-    >
-      <div class="a-d-top">
-        <div class="a-d-topTit">
-          <div>选择应用</div>
-        </div>
-        <div class="a-d-t-right">
-          <span @click="close()">×</span>
-        </div>
-      </div>
-      <div class="box" v-loading="loading">
-        <div class="b_search">
-          <el-input
-              v-model="search"
-              style="margin-right: 10px;"
-              placeholder="请输入应用名称"
-              @keyup.enter.native="getData"
-            >
-            <i
-                slot="suffix"
-                class="searchInputIcon el-icon-search"
-                @click="getData"
-              ></i>
-          </el-input>
-        </div>
-
-        <div class="b_list">
-          <div class="b_l_item" v-for="item in dataList" :key="item.id" @click="choseItem(item)">
-            <div class="b_l_i_icon">
-              <img v-if="item.json.icon" :src="item.json.icon" />
-              <svg
-                v-else
-                t="1732605901531"
-                class="icon"
-                viewBox="0 0 1024 1024"
-                version="1.1"
-                xmlns="http://www.w3.org/2000/svg"
-                p-id="4275"
-                width="200"
-                height="200"
-              >
-                <path
-                  d="M179.2 153.6a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V204.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V204.8a153.6 153.6 0 0 1 153.6-153.6z m0 614.4a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V716.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V716.8a153.6 153.6 0 0 1 153.6-153.6z m611.84-403.4048a51.2 51.2 0 0 0-72.3968 0L646.144 232.2432a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968L791.04 159.744z m72.3968-72.3968l72.3968 72.3968a153.6 153.6 0 0 1 0 217.2416l-72.3968 72.3968a153.6 153.6 0 0 1-217.2416 0l-72.3968-72.3968a153.6 153.6 0 0 1 0-217.2416l72.3968-72.3968a153.6 153.6 0 0 1 217.2416 0zM699.7504 896a51.2 51.2 0 0 1 0 102.4A162.1504 162.1504 0 0 1 537.6 836.2496v-110.8992A162.1504 162.1504 0 0 1 699.7504 563.2h110.8992a162.1504 162.1504 0 0 1 162.1504 162.1504v8.448a51.2 51.2 0 0 1-102.4 0v-8.448c0-33.024-26.7264-59.7504-59.7504-59.7504h-110.8992c-33.024 0-59.7504 26.7264-59.7504 59.7504v110.8992c0 33.024 26.7264 59.7504 59.7504 59.7504z"
-                  fill="#2C6DD2"
-                  p-id="4276"
-                ></path>
-                <path
-                  d="M791.4496 160a51.2 51.2 0 0 0-72.3968 0l-72.448 72.3968a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968l-72.3968-72.3968z"
-                  fill="#20C997"
-                  p-id="4277"
-                ></path>
-              </svg>
-            </div>
-            <div class="b_l_i_message">
-              <div>{{ item.name }}</div>
-              <span>{{ item.detail }}</span>
-            </div>
-          </div>
-        </div>
-
-      </div>
-      <div class="box_bottom">
-        <el-button @click="close()">取消</el-button>
-      </div>
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-export default {
-  props: {
-
-  },
-  data() {
-    return {
-      loading: false,
-      show: false,
-      search:'',
-      userId: this.$route.query["userid"],
-      org: this.$route.query["org"],
-      oid: this.$route.query["oid"],
-      dataList:[],
-    };
-  },
-  watch:{
-    search:{
-      immediate:false,
-      handler(){
-        if(this.search===""){
-          this.getData();
-        }
-      }
-    }
-  },
-  computed:{
-    region(){
-      let _result = "cn";
-      let query = this.$route.query["region"]
-      if(query && (query == "cn" || query == "hk" || query == "all")){
-        _result = query;
-      }
-      return _result;
-    }
-  },
-  methods: {
-    open() {
-      this.dataList = [];
-      this.search = ""
-      this.loading = false;
-      this.getData();
-      this.show = true;
-    },
-    close(flag = false) {
-      this.show = false;
-      this.init();
-    },
-    init() {
-      this.search = ""
-      this.loading = false;
-      this.dataList = [];
-    },
-    getData() {
-      this.loading = true;
-      let params = {
-        uid: this.userId, //用户ID
-        name: this.search, //应用名称搜索
-        label: "", //应用的标签搜索
-        type: "", //应用的类型
-        juri: 99, //应用权限 1:我的  2:组织内  3:所有人   99:未发布
-        stand: "hk", //cn站还是hk站
-        status:''
-      };
-
-      this.ajax
-        .get(this.$store.state.api + "select_appStore", params)
-        .then(res => {
-          let _data = res.data[0];
-          if (_data.length > 0) {
-            _data.forEach(i => {
-              if (i.json) {
-                i.json = JSON.parse(i.json);
-              }
-            });
-            this.dataList = _data;
-          } else {
-            this.dataList = [];
-          }
-          this.loading = false;
-        })
-        .catch(err => {
-          this.loading = false;
-          console.log(err);
-          this.$message.error("获取应用失败");
-        });
-    },
-    choseItem(item){
-      this.$emit("success",item)
-    }
-  }
-};
-</script>
-
-<style scoped>
-.addNewAppDialog >>> .el-dialog {
-  min-width: 500px;
-
-  height: 700px;
-	/* height: 780px; */
-  box-shadow: 0px 0 8px 0px #555555;
-  border-radius: 8px;
-  background-color: #fff;
-  /* top: 0px; */
-  /* margin: 0 auto; */
-  overflow: hidden;
-}
-.addNewAppDialog >>> .el-dialog__body {
-  height: 100%;
-  min-width: 500px;
-  flex-shrink: 0;
-  box-sizing: border-box;
-  padding-bottom: 50px;
-  padding-top: 10px;
-}
-.addNewAppDialog >>> .el-dialog__header {
-  display: none !important;
-}
-
-.a-d-top {
-  /* background: #adadad; */
-  display: flex;
-  flex-direction: row;
-  flex-wrap: nowrap;
-  align-items: center;
-  justify-content: space-between;
-  height: 54px;
-  border-radius: 8px 8px 0 0;
-  user-select: none;
-  border-bottom: 1px #ccc solid;
-}
-.a-d-top >>> .el-input__inner {
-  width: 320px;
-  height: 32px;
-}
-.a-d-top >>> .el-input__icon {
-  line-height: 32px;
-}
-
-.a-d-topTit {
-  /* width: 171px; */
-  /* margin-left: 20px; */
-  height: 32px;
-  display: flex;
-  font-weight: bold;
-  font-size: 20px;
-  align-items: center;
-  font-family: PingFang SC;
-  box-sizing: border-box;
-  padding: 5px;
-  line-height: 22px;
-  justify-content: center;
-  /* text-align: left; */
-}
-
-.a-d-t-right > span {
-  font-size: 18px;
-  font-weight: bold;
-  cursor: pointer;
-}
-
-.box{
-  width: 100%;
-  height: calc(100% - 60px - 20px);
-  display: flex;
-  flex-direction: column;
-}
-
-.box_bottom{
-  width: 100%;
-  height: 60px;
-  display: flex;
-  align-items: center;
-  justify-content: flex-end;
-}
-
-.b_search{
-  display: flex;
-  height: 40px;
-  margin-top: 10px;
-}
-
-.b_list{
-  width: 100%;
-  height: calc(100% - 40px);
-  overflow: auto;
-  box-sizing: border-box;
-  padding: 10px 0 10px 0;
-}
-
-.b_l_item{
-  width: 100%;
-  height: 100px;
-  display: flex;
-  align-items: center;
-  margin-bottom: 10px;
-  background-color: #fff;
-  transition: .2s;
-  border-radius: 4px;
-  cursor: pointer;
-}
-
-.b_l_item:hover{
-  background-color: #f2f4f7;
-}
-
-.b_l_item:hover .b_l_i_message>div{
-  color: #0354D7;
-}
-
-.b_l_item:hover .b_l_i_message>span{
-  color: #000000B8;
-}
-
-.b_l_i_icon{
-  width: 80px;
-  height: 80px;
-  margin-left: 10px;
-  box-sizing: border-box;
-  padding: 5px;
-  margin-right: 10px;
-}
-
-.b_l_i_icon>img{
-  width: 100%;
-  height: 100%;
-  border: 1px solid #E7E7E7;
-  border-radius: 4px;
-}
-
-.b_l_i_icon>svg{
-  width: 100%;
-  height: 100%;
-  border: 1px solid #E7E7E7;
-  border-radius: 4px;
-}
-
-.b_l_i_message{
-  width: calc(100% - 100px);
-  height: 80px;
-  box-sizing: border-box;
-  padding: 10px 0;
-}
-
-.b_l_i_message>div{
-  transition: .2s;
-  font-size: 1.4em;
-  color: #000;
-  /* font-weight: bold; */
-}
-
-.b_l_i_message>span{
-  font-size: 1.2em;
-  margin-top: 15px;
-  display: block;
-  max-width: 100%;
-  white-space: nowrap;
-  overflow: hidden;
-  text-overflow: ellipsis;
-}
-
-.searchInputIcon {
-  width: 20px;
-  height: 20px;
-  position: relative;
-  top: 10px;
-  right: 5px;
-  font-size: 19px;
-  cursor: pointer;
-  color: #666666;
-}
-</style>

+ 0 - 37
src/components/pages/appStore/index.vue

@@ -1,37 +0,0 @@
-<template>
-  <div class="appCenter">
-    <appManagement v-show="showCard === 0" ref="appManagementRef" @changeShowCard="changeShowCard"/>
-		<workSpace v-show="showCard === 1" ref="workSpaceRef" @changeShowCard="changeShowCard"/>
-  </div>
-</template>
-
-<script>
-import appManagement from './views/appManagement.vue';
-import workSpace from './views/workSpace.vue';
-export default {
-  components: {
-		appManagement,
-		workSpace
-  },
-
-  data() {
-		return{
-			showCard:0,//0 应用中心  1:工作空间
-		}
-  },
-	methods: {
-		changeShowCard(newValue){
-			this.showCard = newValue;
-		}
-	},
-};
-</script>
-
-<style scoped>
-.appCenter {
-  width: 100vw;
-  height: 100vh;
-  background-color: #f2f4f7;
-  overflow: auto;
-}
-</style>

+ 0 - 2375
src/components/pages/appStore/views/appManagement.vue

@@ -1,2375 +0,0 @@
-<template>
-  <div class="appManagement">
-    <div class="ac_left">
-      <div class="find">
-        <img src="../../../../assets/icon/appStore/find_icon.svg" />
-        <span>发现</span>
-      </div>
-      <saveCard
-        title="最近使用"
-        :data="recentUse"
-        :icon="require('../../../../assets/icon/appStore/history2_icon.svg')"
-        :type="1"
-        @saveClick="openApp"
-      />
-      <saveCard
-        title="我的收藏"
-        :icon="require('../../../../assets/icon/appStore/collect2_icon.svg')"
-        :data="collect"
-        :type="0"
-        @saveClick="openApp"
-      />
-    </div>
-    <div class="ac_right">
-      <div class="ac_header">
-        <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="controlsObj && controlsObj.bannerUrl">
-          <img :src="controlsObj.bannerUrl" alt="banner图" />
-        </div>
-        <div class="ac_h_bottom">
-
-          <div class="ac_h_b_selectList">
-            <div>
-              <el-select
-              v-model="selectJuri"
-              placeholder="请选择显示范围"
-              @change="changeSelectType"
-              style="width: 120px;margin-right: 10px;"
-            >
-              <el-option
-                v-for="item in selectList"
-                :key="item.index"
-                :label="item.label"
-                :value="item.index"
-              ></el-option>
-            </el-select>
-            <el-select
-              v-model="selectLabel"
-              placeholder="请选择类型"
-              @change="changeSelectType"
-              style="width: 110px;margin-right: 10px;"
-            >
-              <el-option
-                v-for="item in labelSelect"
-                :key="item.value"
-                :label="item.label"
-                :value="item.value"
-              ></el-option>
-            </el-select>
-
-            <el-select
-              v-model="statusType"
-              placeholder="请选择状态"
-              @change="changeSelectType"
-              style="width: 110px;margin-right: 10px;"
-            >
-              <el-option
-                v-for="item in statusList"
-                :key="item.value"
-                :label="item.label"
-                :value="item.value"
-              ></el-option>
-            </el-select>
-            </div>
-
-            <div><el-input
-              v-model="searchText"
-              style="width: 250px;margin-right: 10px;"
-              placeholder="请输入应用名称"
-              @keyup.enter.native="getData"
-            >
-              <i
-                slot="suffix"
-                class="searchInputIcon el-icon-search"
-                @click="getData"
-              ></i>
-            </el-input>
-            <!-- <el-button
-              type="primary"
-              style="margin-left: 10px;"
-              icon="el-icon-search"
-              @click="getData"
-            ></el-button> -->
-            <el-button type="primary" @click="selectApp()">发布应用</el-button></div>
-          </div>
-
-          <div class="ac_h_b_typeList">
-            <span
-              :class="{ ac_h_b_typeList_active: showType === '' }"
-              @click="changeType('')"
-              >全部</span
-            >
-            <span
-              v-for="item in typeList"
-              :key="item.id"
-              :class="{ ac_h_b_typeList_active: showType === item.id }"
-              @click="changeType(item.id)"
-              >{{ item.name }}</span
-            >
-          </div>
-        </div>
-      </div>
-
-      <div class="ac_content">
-        <div
-          class="ac_c_item"
-          v-if="showType !== '' && !getDataLoading"
-          v-for="(item, index) in dataList"
-          :key="item.id"
-        >
-          <div class="ac_c_i_top" @click="openApp(item)">
-            <div class="ac_c_i_t_left">
-              <img v-if="item.json.icon" :src="item.json.icon" />
-              <svg
-                v-else
-                t="1732605901531"
-                class="icon"
-                viewBox="0 0 1024 1024"
-                version="1.1"
-                xmlns="http://www.w3.org/2000/svg"
-                p-id="4275"
-                width="200"
-                height="200"
-              >
-                <path
-                  d="M179.2 153.6a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V204.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V204.8a153.6 153.6 0 0 1 153.6-153.6z m0 614.4a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V716.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V716.8a153.6 153.6 0 0 1 153.6-153.6z m611.84-403.4048a51.2 51.2 0 0 0-72.3968 0L646.144 232.2432a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968L791.04 159.744z m72.3968-72.3968l72.3968 72.3968a153.6 153.6 0 0 1 0 217.2416l-72.3968 72.3968a153.6 153.6 0 0 1-217.2416 0l-72.3968-72.3968a153.6 153.6 0 0 1 0-217.2416l72.3968-72.3968a153.6 153.6 0 0 1 217.2416 0zM699.7504 896a51.2 51.2 0 0 1 0 102.4A162.1504 162.1504 0 0 1 537.6 836.2496v-110.8992A162.1504 162.1504 0 0 1 699.7504 563.2h110.8992a162.1504 162.1504 0 0 1 162.1504 162.1504v8.448a51.2 51.2 0 0 1-102.4 0v-8.448c0-33.024-26.7264-59.7504-59.7504-59.7504h-110.8992c-33.024 0-59.7504 26.7264-59.7504 59.7504v110.8992c0 33.024 26.7264 59.7504 59.7504 59.7504z"
-                  fill="#2C6DD2"
-                  p-id="4276"
-                ></path>
-                <path
-                  d="M791.4496 160a51.2 51.2 0 0 0-72.3968 0l-72.448 72.3968a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968l-72.3968-72.3968z"
-                  fill="#20C997"
-                  p-id="4277"
-                ></path>
-              </svg>
-            </div>
-            <div class="ac_c_i_t_right">
-              <div class="ac_c_i_t_r_top">
-                <el-tooltip
-                  class="item"
-                  effect="light"
-                  :content="item.name"
-                  placement="top"
-                >
-                  <span>{{ item.name }}</span>
-                </el-tooltip>
-
-                <div class="ac_c_i_t_popover" v-if="showMenu(item)">
-                  <div
-                    class="ac_c_i_t_p_box"
-                    v-if="editAppCard === item.id"
-                    v-click-outside="handleBlur"
-                  >
-                    <div
-                      @click.stop="copyApp(item)"
-                      v-if="item.json && item.json.copy === '1'"
-                    >
-                      <img
-                        src="../../../../assets/icon/appStore/copy.svg"
-                        alt=""
-                      />
-                      <span>复制</span>
-                    </div>
-                    <div
-                      @click.stop="updateApp(item)"
-                      v-if="item.userid === userId"
-                    >
-                      <img
-                        src="../../../../assets/icon/appStore/edit.svg"
-                        alt=""
-                      />
-                      <span>修改</span>
-                    </div>
-                    <div
-                      @click.stop="delApp(item)"
-                      v-if="item.userid === userId"
-                    >
-                      <img
-                        src="../../../../assets/icon/appStore/del.svg"
-                        alt=""
-                      />
-                      <span>取消发布</span>
-                    </div>
-                  </div>
-                  <svg
-                    t="1732786015570"
-                    @click.stop="updateCard(item.id)"
-                    :style="
-                      `transform: rotate(${
-                        editAppCard === item.id ? '0deg' : '90deg'
-                      });background-color:${
-                        editAppCard === item.id ? '#F3F7FD' : '#fff'
-                      }`
-                    "
-                    class="icon"
-                    viewBox="0 0 1024 1024"
-                    version="1.1"
-                    xmlns="http://www.w3.org/2000/svg"
-                    p-id="9199"
-                    width="200"
-                    height="200"
-                  >
-                    <path
-                      d="M192 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-29.866667-68.266667-68.266667-68.266667zM512 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-29.866667-68.266667-68.266667-68.266667zM832 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-34.133333-68.266667-68.266667-68.266667z"
-                      fill="#111111"
-                      p-id="9200"
-                    ></path>
-                  </svg>
-                </div>
-              </div>
-              <div class="ac_c_i_t_r_center">
-                <span>@{{ item.username }}</span>
-                <div v-if="item.label === 'workflow'">
-                  <img
-                    src="../../../../assets/icon/appStore/workflow.svg"
-                    alt=""
-                  />
-                  工作流
-                </div>
-                <div v-if="item.label === 'agent'">
-                  <img
-                    src="../../../../assets/icon/appStore/agent.svg"
-                    alt=""
-                  />
-                  智能体
-                </div>
-              </div>
-              <div class="ac_c_i_t_r_bottom">
-                {{ item.detail }}
-              </div>
-            </div>
-          </div>
-          <div class="ac_c_i_bottom" @click="openApp(item)">
-            <div class="ac_c_i_b_left">
-              <el-tooltip
-                class="item"
-                effect="light"
-                content="被复制数"
-                placement="top"
-              >
-                <div>
-                  <img src="../../../../assets/icon/appStore/user_copy.svg" />
-                  <span>{{ item.copyCount }}</span>
-                </div>
-              </el-tooltip>
-              <el-tooltip
-                class="item"
-                effect="light"
-                :content="item.likeId ? '取消点赞' : '点赞'"
-                placement="top"
-              >
-                <div>
-                  <img
-                    :src="
-                      require('../../../../assets/icon/appStore/praise_default.svg')
-                    "
-                    v-if="!item.likeId"
-                    style="cursor: pointer;"
-                    @click.stop="praiseFn(item, 0)"
-                  />
-                  <img
-                    :src="
-                      require('../../../../assets/icon/appStore/praise_active.svg')
-                    "
-                    v-else
-                    style="cursor: pointer;"
-                    @click.stop="praiseFn(item, 1)"
-                  />
-                  <span>{{ item.likeCount }}</span>
-                </div>
-              </el-tooltip>
-              <el-tooltip
-                class="item"
-                effect="light"
-                :content="item.collectId ? '取消收藏' : '收藏'"
-                placement="top"
-              >
-                <div>
-                  <img
-                    src="../../../../assets/icon/appStore/collect_default.svg"
-                    v-if="!item.collectId"
-                    style="cursor: pointer;"
-                    @click.stop="collectFn(item, 0)"
-                  />
-                  <img
-                    src="../../../../assets/icon/appStore/collect_active.svg"
-                    v-else
-                    style="cursor: pointer;"
-                    @click.stop="collectFn(item, 1)"
-                  />
-                  <span>{{ item.collectCount }}</span>
-                </div>
-              </el-tooltip>
-            </div>
-            <div class="ac_c_i_b_right" v-if="item.json.status">
-              <span class="ac_c_i_b_r_type2" v-if="item.json.status === '1'"
-                >测试</span
-              >
-              <span class="ac_c_i_b_r_type1" v-if="item.json.status === '2'"
-                >稳定</span
-              >
-            </div>
-          </div>
-        </div>
-
-        <div class="ac_c_typeCard" v-if="showType == ''">
-          <div class="ac_c_tc_item" v-for="(item2, index2) in typeList">
-            <div class="ac_c_tc_i_top">
-              <div>{{ item2.name }}</div>
-
-              <span @click="changeType(item2.id)"
-                >查看更多
-                <img src="../../../../assets/icon/appStore/arrow.svg" />
-              </span>
-            </div>
-            <div class="ac_c_tc_i_bottom">
-              <div
-                class="ac_c_item"
-                v-if="index < 8"
-                v-for="(item, index) in dataList.filter(
-                  i => i.type == item2.id
-                )"
-                :key="item.id"
-              >
-                <div class="ac_c_i_top" @click="openApp(item)">
-                  <div class="ac_c_i_t_left">
-                    <img v-if="item.json.icon" :src="item.json.icon" />
-                    <svg
-                      v-else
-                      t="1732605901531"
-                      class="icon"
-                      viewBox="0 0 1024 1024"
-                      version="1.1"
-                      xmlns="http://www.w3.org/2000/svg"
-                      p-id="4275"
-                      width="200"
-                      height="200"
-                    >
-                      <path
-                        d="M179.2 153.6a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V204.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V204.8a153.6 153.6 0 0 1 153.6-153.6z m0 614.4a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V716.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V716.8a153.6 153.6 0 0 1 153.6-153.6z m611.84-403.4048a51.2 51.2 0 0 0-72.3968 0L646.144 232.2432a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968L791.04 159.744z m72.3968-72.3968l72.3968 72.3968a153.6 153.6 0 0 1 0 217.2416l-72.3968 72.3968a153.6 153.6 0 0 1-217.2416 0l-72.3968-72.3968a153.6 153.6 0 0 1 0-217.2416l72.3968-72.3968a153.6 153.6 0 0 1 217.2416 0zM699.7504 896a51.2 51.2 0 0 1 0 102.4A162.1504 162.1504 0 0 1 537.6 836.2496v-110.8992A162.1504 162.1504 0 0 1 699.7504 563.2h110.8992a162.1504 162.1504 0 0 1 162.1504 162.1504v8.448a51.2 51.2 0 0 1-102.4 0v-8.448c0-33.024-26.7264-59.7504-59.7504-59.7504h-110.8992c-33.024 0-59.7504 26.7264-59.7504 59.7504v110.8992c0 33.024 26.7264 59.7504 59.7504 59.7504z"
-                        fill="#2C6DD2"
-                        p-id="4276"
-                      ></path>
-                      <path
-                        d="M791.4496 160a51.2 51.2 0 0 0-72.3968 0l-72.448 72.3968a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968l-72.3968-72.3968z"
-                        fill="#20C997"
-                        p-id="4277"
-                      ></path>
-                    </svg>
-                  </div>
-                  <div class="ac_c_i_t_right">
-                    <div class="ac_c_i_t_r_top">
-                      <el-tooltip
-                        class="item"
-                        effect="light"
-                        :content="item.name"
-                        placement="top"
-                      >
-                        <span>{{ item.name }}</span>
-                      </el-tooltip>
-
-                      <div class="ac_c_i_t_popover" v-if="showMenu(item)">
-                        <div
-                          class="ac_c_i_t_p_box"
-                          v-if="editAppCard === item.id"
-                          v-click-outside="handleBlur"
-                        >
-                          <div
-                            @click.stop="copyApp(item)"
-                            v-if="item.json && item.json.copy === '1'"
-                          >
-                            <img
-                              src="../../../../assets/icon/appStore/copy.svg"
-                              alt=""
-                            />
-                            <span>复制</span>
-                          </div>
-                          <div
-                            @click.stop="updateApp(item)"
-                            v-if="item.userid === userId"
-                          >
-                            <img
-                              src="../../../../assets/icon/appStore/edit.svg"
-                              alt=""
-                            />
-                            <span>修改</span>
-                          </div>
-                          <div
-                            @click.stop="delApp(item)"
-                            v-if="item.userid === userId"
-                          >
-                            <img
-                              src="../../../../assets/icon/appStore/del.svg"
-                              alt=""
-                            />
-                            <span>取消发布</span>
-                          </div>
-                        </div>
-                        <svg
-                          t="1732786015570"
-                          @click.stop="updateCard(item.id)"
-                          :style="
-                            `transform: rotate(${
-                              editAppCard === item.id ? '0deg' : '90deg'
-                            });background-color:${
-                              editAppCard === item.id ? '#F3F7FD' : '#fff'
-                            }`
-                          "
-                          class="icon"
-                          viewBox="0 0 1024 1024"
-                          version="1.1"
-                          xmlns="http://www.w3.org/2000/svg"
-                          p-id="9199"
-                          width="200"
-                          height="200"
-                        >
-                          <path
-                            d="M192 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-29.866667-68.266667-68.266667-68.266667zM512 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-29.866667-68.266667-68.266667-68.266667zM832 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-34.133333-68.266667-68.266667-68.266667z"
-                            fill="#111111"
-                            p-id="9200"
-                          ></path>
-                        </svg>
-                      </div>
-                    </div>
-                    <div class="ac_c_i_t_r_center">
-                      <span>@{{ item.username }}</span>
-                      <div v-if="item.label === 'workflow'">
-                        <img
-                          src="../../../../assets/icon/appStore/workflow.svg"
-                          alt=""
-                        />
-                        工作流
-                      </div>
-                      <div v-if="item.label === 'agent'">
-                        <img
-                          src="../../../../assets/icon/appStore/agent.svg"
-                          alt=""
-                        />
-                        智能体
-                      </div>
-                    </div>
-                    <div class="ac_c_i_t_r_bottom">
-                      {{ item.detail }}
-                    </div>
-                  </div>
-                </div>
-                <div class="ac_c_i_bottom" @click="openApp(item)">
-                  <div class="ac_c_i_b_left">
-                    <el-tooltip
-                      class="item"
-                      effect="light"
-                      content="被复制数"
-                      placement="top"
-                    >
-                      <div>
-                        <img
-                          src="../../../../assets/icon/appStore/user_copy.svg"
-                        />
-                        <span>{{ item.copyCount }}</span>
-                      </div>
-                    </el-tooltip>
-                    <el-tooltip
-                      class="item"
-                      effect="light"
-                      :content="item.likeId ? '取消点赞' : '点赞'"
-                      placement="top"
-                    >
-                      <div>
-                        <img
-                          :src="
-                            require('../../../../assets/icon/appStore/praise_default.svg')
-                          "
-                          v-if="!item.likeId"
-                          style="cursor: pointer;"
-                          @click.stop="praiseFn(item, 0)"
-                        />
-                        <img
-                          :src="
-                            require('../../../../assets/icon/appStore/praise_active.svg')
-                          "
-                          v-else
-                          style="cursor: pointer;"
-                          @click.stop="praiseFn(item, 1)"
-                        />
-                        <span>{{ item.likeCount }}</span>
-                      </div>
-                    </el-tooltip>
-                    <el-tooltip
-                      class="item"
-                      effect="light"
-                      :content="item.collectId ? '取消收藏' : '收藏'"
-                      placement="top"
-                    >
-                      <div>
-                        <img
-                          src="../../../../assets/icon/appStore/collect_default.svg"
-                          v-if="!item.collectId"
-                          style="cursor: pointer;"
-                          @click="collectFn(item, 0)"
-                        />
-                        <img
-                          src="../../../../assets/icon/appStore/collect_active.svg"
-                          v-else
-                          style="cursor: pointer;"
-                          @click="collectFn(item, 1)"
-                        />
-                        <span>{{ item.collectCount }}</span>
-                      </div>
-                    </el-tooltip>
-                  </div>
-                  <div class="ac_c_i_b_right" v-if="item.json.status">
-                    <span
-                      class="ac_c_i_b_r_type2"
-                      v-if="item.json.status === '1'"
-                      >测试</span
-                    >
-                    <span
-                      class="ac_c_i_b_r_type1"
-                      v-if="item.json.status === '2'"
-                      >稳定</span
-                    >
-                  </div>
-                </div>
-              </div>
-              <div
-                class="ac_c_empty"
-                v-if="dataList.filter(i => i.type == item2.id).length === 0"
-              >
-                <span>暂无数据...</span>
-              </div>
-            </div>
-          </div>
-        </div>
-        <!-- <div
-          class="ac_c_item"
-          v-for="(item, index) in dataList"
-          :key="item.id"
-          @click="openApp(item)"
-        >
-          <div class="ac_c_i_top">
-            <div class="ac_c_i_t_left">
-              <svg
-                v-if="
-                  isImageOrSvg(
-                    typeof item.json == 'object' ? item.json.icon : ''
-                  ) === 0
-                "
-                t="1732605901531"
-                class="icon"
-                viewBox="0 0 1024 1024"
-                version="1.1"
-                xmlns="http://www.w3.org/2000/svg"
-                p-id="4275"
-                width="200"
-                height="200"
-              >
-                <path
-                  d="M179.2 153.6a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V204.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V204.8a153.6 153.6 0 0 1 153.6-153.6z m0 614.4a51.2 51.2 0 0 0-51.2 51.2v128a51.2 51.2 0 0 0 51.2 51.2h128a51.2 51.2 0 0 0 51.2-51.2V716.8a51.2 51.2 0 0 0-51.2-51.2H179.2z m0-102.4h128a153.6 153.6 0 0 1 153.6 153.6v128a153.6 153.6 0 0 1-153.6 153.6H179.2a153.6 153.6 0 0 1-153.6-153.6V716.8a153.6 153.6 0 0 1 153.6-153.6z m611.84-403.4048a51.2 51.2 0 0 0-72.3968 0L646.144 232.2432a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968L791.04 159.744z m72.3968-72.3968l72.3968 72.3968a153.6 153.6 0 0 1 0 217.2416l-72.3968 72.3968a153.6 153.6 0 0 1-217.2416 0l-72.3968-72.3968a153.6 153.6 0 0 1 0-217.2416l72.3968-72.3968a153.6 153.6 0 0 1 217.2416 0zM699.7504 896a51.2 51.2 0 0 1 0 102.4A162.1504 162.1504 0 0 1 537.6 836.2496v-110.8992A162.1504 162.1504 0 0 1 699.7504 563.2h110.8992a162.1504 162.1504 0 0 1 162.1504 162.1504v8.448a51.2 51.2 0 0 1-102.4 0v-8.448c0-33.024-26.7264-59.7504-59.7504-59.7504h-110.8992c-33.024 0-59.7504 26.7264-59.7504 59.7504v110.8992c0 33.024 26.7264 59.7504 59.7504 59.7504z"
-                  fill="#2C6DD2"
-                  p-id="4276"
-                ></path>
-                <path
-                  d="M791.4496 160a51.2 51.2 0 0 0-72.3968 0l-72.448 72.3968a51.2 51.2 0 0 0 0 72.3968l72.448 72.3968a51.2 51.2 0 0 0 72.3968 0l72.3968-72.3968a51.2 51.2 0 0 0 0-72.3968l-72.3968-72.3968z"
-                  fill="#20C997"
-                  p-id="4277"
-                ></path>
-              </svg>
-              <span
-                v-if="
-                  isImageOrSvg(
-                    typeof item.json == 'object' ? item.json.icon : ''
-                  ) === 1
-                "
-                v-html="item.json.icon"
-              ></span>
-              <el-image
-                v-if="
-                  isImageOrSvg(
-                    typeof item.json == 'object' ? item.json.icon : ''
-                  ) === 2
-                "
-                style="width: 100%; height: 100%"
-                :src="item.json.icon"
-                fit="cover"
-              ></el-image>
-            </div>
-            <div class="ac_c_i_t_right">
-              <div>{{ item.name }}</div>
-              <span>{{ item.label}}</span>
-            </div>
-            <div class="ac_c_i_t_popover">
-              <div
-                class="ac_c_i_t_p_box"
-                v-if="editAppCard === item.id"
-                v-click-outside="handleBlur"
-              >
-                <div
-                  @click.stop="cancelCollectApp(item)"
-                  v-if="collect.map(i => i.id).includes(item.id)"
-                >
-                  取消收藏
-                </div>
-                <div @click.stop="collectApp(item)" v-else>收藏</div>
-                <div
-                  @click.stop="copyApp(item)"
-                  v-if="item.json && item.json.copy === '1'"
-                >
-                  复制
-                </div>
-                <div
-                  @click.stop="updateApp(item)"
-                  v-if="item.userid === userId"
-                >
-                  修改
-                </div>
-                <div @click.stop="delApp(item)" v-if="item.userid === userId">
-                  删除
-                </div>
-              </div>
-              <svg
-                t="1732786015570"
-                @click.stop="updateCard(item.id)"
-                class="icon"
-                viewBox="0 0 1024 1024"
-                version="1.1"
-                xmlns="http://www.w3.org/2000/svg"
-                p-id="9199"
-                width="200"
-                height="200"
-              >
-                <path
-                  d="M192 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-29.866667-68.266667-68.266667-68.266667zM512 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-29.866667-68.266667-68.266667-68.266667zM832 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-34.133333-68.266667-68.266667-68.266667z"
-                  fill="#111111"
-                  p-id="9200"
-                ></path>
-              </svg>
-            </div>
-          </div>
-          <div class="ac_c_i_bottom">
-            <div>{{ item.detail }}</div>
-          </div>
-        </div> -->
-        <div class="ac_c_empty" v-if="dataList.length === 0 && showType !== ''">
-          <span>暂无数据...</span>
-        </div>
-      </div>
-    </div>
-    <addAppDialog
-      ref="addAppDialogRef"
-      :typeList="typeList"
-      @success="addAppSuccess"
-    />
-    <selectAppDialog ref="selectAppDialogRef" @success="selectAppSuccess" />
-    <releaseAppDialog
-      ref="releaseAppDialogRef"
-      :typeList="typeList"
-      @success="releaseAppSuccess"
-    />
-  </div>
-</template>
-
-<script>
-const clickOutside = {
-  bind(el, binding) {
-    // 在元素上绑定一个点击事件监听器
-    el.clickOutsideEvent = function(event) {
-      // 检查点击事件是否发生在元素的内部
-      if (!(el === event.target || el.contains(event.target))) {
-        // 如果点击事件发生在元素的外部,则触发指令绑定的方法,将点击的event数据传过去
-        binding.value(event);
-      }
-    };
-    // 在文档上添加点击事件监听器
-    document.addEventListener("click", el.clickOutsideEvent);
-  },
-  unbind(el) {
-    // 在元素上解除点击事件监听器
-    document.removeEventListener("click", el.clickOutsideEvent);
-  }
-};
-import addAppDialog from "../dialog/addAppDialog.vue";
-import saveCard from "../components/saveCard.vue";
-import selectAppDialog from "../dialog/selectAppDialog.vue";
-import releaseAppDialog from "../dialog/releaseAppDialog.vue";
-// import collectCard from "./dialog/collectCard.vue";
-// import recentUseCard from "./dialog/recentUseCard.vue";
-export default {
-  components: {
-    addAppDialog,
-    saveCard,
-    selectAppDialog,
-    releaseAppDialog
-    // collectCard,
-    // recentUseCard
-  },
-  directives: {
-    "click-outside": clickOutside // 注册自定义指令
-  },
-  data() {
-    return {
-      showType: "",
-      searchText: "",
-      selectJuri: 3,
-      selectLabel: "",
-      typeList: [],
-      selectList: [
-        { index: 3, label: "所有组织" },
-        { index: 2, label: "组织内" },
-        { index: 1, label: "我的" }
-        // { index: 98,label:"已发布"},
-        // { index: 99,label:"未发布"},
-      ],
-      statusList: [
-        { value: "", label: "所有状态" },
-        { value: 1, label: "测试" },
-        { value: 2, label: "稳定" }
-      ],
-      statusType: "",
-      labelSelect: [
-        { value: "", label: "所有类型" },
-        { value: "agent", label: "智能体" },
-        { value: "workflow", label: "工作流" }
-      ],
-      userId: this.$route.query["userid"],
-      org: this.$route.query["org"],
-      oid: this.$route.query["oid"],
-      getDataLoading: false,
-      dataList: [],
-      recentUse: [],
-      collect: [],
-      editAppCard: null,
-      bannerObj: null,
-      userName: null,
-      controlsObj: null
-      // region:this.$route.query["region"]
-    };
-  },
-  computed: {
-    showMenu() {
-      return data => {
-        let _result = false;
-        if (data && this.userId) {
-          if (
-            data.userid === this.userId ||
-            (data.json && data.json.copy === "1")
-          ) {
-            _result = true;
-          }
-        }
-        return _result;
-      };
-    },
-    region() {
-      let _result = "cn";
-      let query = this.$route.query["region"];
-      if (query && (query == "cn" || query == "hk" || query == "all")) {
-        _result = query;
-      }
-      return _result;
-    }
-  },
-  watch: {
-    searchText: {
-      immediate: false,
-      handler() {
-        if (this.searchText === "") {
-          this.getData();
-        }
-      }
-    }
-  },
-  methods: {
-    changeType(newIndex) {
-      let flag = this.showType === newIndex;
-      this.showType = newIndex;
-      if (!flag) {
-        this.getData();
-      }
-    },
-    changeSelectType() {
-      this.getData();
-    },
-    getData() {
-      this.getDataLoading = true;
-      let params = {
-        uid: this.userId, //用户ID
-        name: this.searchText, //应用名称搜索
-        label: this.selectLabel, //应用的标签搜索
-        type: this.showType, //应用的类型
-        juri: this.selectJuri, //应用权限 1:我的  2:组织内  3:所有人
-        stand: this.region ? this.region : "cn", //cn站还是hk站
-        status: this.statusType,
-        exportType:(this.controlsObj&&this.controlsObj.exportTypeList&&this.controlsObj.exportTypeList.length>0)?this.controlsObj.exportTypeList.join(','):"",
-      };
-
-      this.ajax
-        .get(this.$store.state.api + "select_appStore_exportType", params)
-        .then(res => {
-          this.getDataLoading = false;
-          let _data = res.data[0];
-          if (_data.length > 0) {
-            _data.forEach(i => {
-              if (i.json) {
-                i.json = JSON.parse(i.json);
-              }
-            });
-            this.dataList = _data;
-          } else {
-            this.dataList = [];
-          }
-        })
-        .catch(err => {
-          this.getDataLoading = false;
-          console.log(err);
-          this.$message.error("获取应用失败");
-        });
-    },
-    addApp() {
-      this.$refs.addAppDialogRef.open({ type: 1 });
-    },
-    selectApp() {
-      this.$refs.selectAppDialogRef.open();
-    },
-    selectAppSuccess(data) {
-      if (data) {
-        this.$refs.selectAppDialogRef.close();
-        this.$refs.releaseAppDialogRef.open({
-          form: {
-            id: data.id,
-            name: data.name,
-            label: data.label,
-            detail: data.detail,
-            url: data.url,
-            type: data.type,
-            juri: data.juri,
-            stand: data.stand,
-            json: data.json
-          }
-        });
-      }
-    },
-    updateApp(data) {
-      this.$refs.addAppDialogRef.open({
-        type: 2,
-        form: {
-          id: data.id,
-          name: data.name,
-          label: data.label,
-          detail: data.detail,
-          url: data.url,
-          type: data.type,
-          juri: data.juri,
-          stand: data.stand,
-          json: data.json
-        }
-      });
-    },
-    // 收藏APP
-    // collectApp(item) {
-    //   this.editAppCard = null;
-    //   this.insertSave(item, 0);
-    // },
-    //复制app
-    async copyApp(item) {
-      this.$confirm(`确定复制《${item.name}》这个应用至我的列表吗?`, "复制", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning"
-      })
-        .then(async e => {
-          let _status = await this.copyAgentOrWorkflow(item);
-          if (_status == 1) {
-            this.$message.success("复制成功,已添加至我的工作流列表。");
-          } else if (_status == 2) {
-            this.$message.success("复制成功,已添加至我的智能体列表。");
-          } else if (_status == 3) {
-            this.$message.error("复制失败,该应用无内容");
-          } else if (_status == 0) {
-            this.$message.error("复制失败");
-          }
-          // console.log(item);
-          // let url = item.url;
-          // let id =
-          //   this.queryURLParams(url, "id") ||
-          //   item.url.split("/")[item.url.split("/").length - 1];
-          // if (!id) return this.$message.error("复制失败,未找到对应id");
-          // if ((item.label = "workflow")) {
-          //   this.ajax
-          //     .get(`https://appapi.cocorobo.cn/api/agents/muti_agent/${id}`)
-          //     .then(res => {
-          //       let _data = res.data;
-          //       let _idList = [];
-          //       if (_data["dialoguePublishDataId"])
-          //         _idList.push(_data["dialoguePublishDataId"]);
-          //       if (_data["immersivePublishDataId"])
-          //         _idList.push(_data["immersivePublishDataId"]);
-          //       if (_data["cardPublishDataId"])
-          //         _idList.push(_data["cardPublishDataId"]);
-          //       if (_idList.length > 0) {
-          //       } else {
-          //         console.log("该应用无id");
-          //       }
-          //     });
-          // } else if ((item.label = "agent")) {
-          //   let _idList = [id];
-          // }
-          // this.ajax.get(`https://appapi.cocorobo.cn/api/agents/muti_agent/${id}`).then(res=>{
-          //   let _data = res.data;
-          //   console.log(_data)
-          //   let dialoguePublishDataId = _data['dialoguePublishDataId'];
-          //   let immersivePublishDataId = _data['immersivePublishDataId'];
-          //   let cardPublishDataId = _data['cardPublishDataId'];
-          //   console.log('dialoguePublishDataId',dialoguePublishDataId);
-          //   console.log('immersivePublishDataId',immersivePublishDataId);
-          //   console.log('cardPublishDataId',cardPublishDataId)
-          // })
-          // let params = [
-          //   {
-          //     name: `${item.name}_copy`, //app名称
-          //     userid: this.userId, //创建的用户ID
-          //     label: item.label, //app标签
-          //     detail: item.detail, //app简介
-          //     url: item.url, //app链接
-          //     type: item.type, //app类型
-          //     juri: "1", //app权限 1:我的 2:组织 3:所有人
-          //     stand: "cn", //语言
-          //     json: JSON.stringify(item.json) //其他信息
-          //   }
-          // ];
-          // this.ajax
-          //   .post(this.$store.state.api + "insert_appStore", params)
-          //   .then(res => {
-          //     if (res.data) {
-          //       this.$message.success("复制成功,已添加至我的列表。");
-          //       this.getData();
-          //       this.insertSave(item, 3);
-          //     } else {
-          //       this.$message.error("复制失败");
-          //     }
-          //   })
-          //   .catch(err => {
-          //     console.log(err);
-          //     this.$message.error("复制失败");
-          //   });
-        })
-        .catch(_ => {
-          console.log("取消复制");
-        });
-    },
-    async copyAgentOrWorkflow(item) {
-      return new Promise(async resolve => {
-        let url = item.url;
-        let id =
-          this.queryURLParams(url, "id") ||
-          item.url.split("/")[item.url.split("/").length - 1];
-        if (!id) {
-          console.log("该链接无对应id");
-          return resolve(3);
-          // return this.$message.error("复制失败,未找到对应id")
-        }
-        console.log(item);
-        if (item.label == "workflow") {
-          //复制工作流
-          console.log("复制工作流");
-          this.ajax
-            .get(`https://appapi.cocorobo.cn/api/agents/muti_agent/${id}`)
-            .then(async res => {
-              let _data = res.data;
-
-              let _modes = 'wu';
-
-              if(item.json.modes){
-                _modes = item.json.modes[0];
-              }
-
-              console.log(_data);
-              let _idList = [];
-              if (_data["dialoguePublishDataId"] && (_modes=='wu' || _modes == '0'))
-                _idList.push(_data["dialoguePublishDataId"]);
-              if (_data["immersivePublishDataId"] && (_modes=='wu' || _modes == '2'))
-                _idList.push(_data["immersivePublishDataId"]);
-              if (_data["cardPublishDataId"] && (_modes=='wu' || _modes == '1'))
-                _idList.push(_data["cardPublishDataId"]);
-              if (_idList.length <= 0) {
-                resolve(3);
-                return console.log("该应用无id");
-              }
-              // /api/agents/copy_mutiAgent
-              this.ajax
-                .post("https://appapi.cocorobo.cn/api/agents/copy_mutiAgent", {
-                  ids: _idList,
-                  userId: this.userId,
-                  username: this.userName
-                    ? this.userName
-                    : await this.getUserName(this.userId)
-                })
-                .then(_ => {
-                  resolve(1);
-                })
-                .catch(e => {
-                  console.log(e);
-                  resolve(0);
-                });
-            });
-        } else if (item.label == "agent") {
-          //复制智能体
-          console.log("复制智能体");
-          this.ajax
-            .get(`https://appapi.cocorobo.cn/api/agents/agent/parent/${id}`)
-            .then(async res => {
-              let _id = res.data.id;
-              if (_id) {
-                let _idList = [_id];
-                this.ajax
-                  .post("https://appapi.cocorobo.cn/api/agents/copy_agent", {
-                    ids: _idList,
-                    userId: this.userId,
-                    username: this.userName
-                      ? this.userName
-                      : await this.getUserName(this.userId)
-                  })
-                  .then(_ => {
-                    resolve(2);
-                  })
-                  .catch(e => {
-                    console.log(e);
-                    resolve(0);
-                  });
-              }
-              console.log(res);
-            })
-            .catch(e => {
-              console.log(e);
-              resolve(0);
-              // this.$message.error("")
-            });
-          // let _idList = [id];
-          // this.ajax.post('https://appapi.cocorobo.cn/api/agents/copy_agent',{
-          //   ids: _idList,
-          //   userId: this.userId,
-          //   username: this.userName?this.userName:await this.getUserName(this.userId),
-          // }).then(_=>{
-          //   resolve(2);
-          // }).catch(e=>{
-          //   console.log(e)
-          //   resolve(0)
-          // })
-        }
-      });
-    },
-    // 取消收藏
-    cancelCollectApp(item) {
-      this.editAppCard = null;
-      let _data = this.collect.find(i => i.id === item.id);
-      if (_data) {
-        let params = [
-          {
-            sid: _data.sid
-          }
-        ];
-        this.ajax
-          .post(this.$store.state.api + "delete_appStoreSave", params)
-          .then(res => {
-            if (res.data) {
-              this.$message.success("取消收藏成功");
-            }
-            this.getCollect();
-          })
-          .catch(e => {
-            console.log(e);
-            this.$message.error("取消收藏失败");
-            this.getCollect();
-          });
-      } else {
-        this.$message.error("取消收藏失败");
-        this.getCollect();
-      }
-    },
-    updateCard(id) {
-      if (this.editAppCard === id) return (this.editAppCard = null);
-      this.editAppCard = id;
-    },
-    handleBlur() {
-      this.updateCard(null);
-    },
-    addAppSuccess(data, type) {
-      if (type === 1) {
-        //添加
-        let params = [
-          {
-            name: data.name, //app名称
-            userid: this.userId, //创建的用户ID
-            label: data.label, //app标签
-            detail: data.detail, //app简介
-            url: data.url, //app链接
-            type: data.type, //app类型
-            juri: data.juri, //app权限 1:我的 2:组织 3:所有人
-            stand: this.region ? this.region : "cn", //语言
-            json: JSON.stringify(data.json) //其他信息
-          }
-        ];
-        this.ajax
-          .post(this.$store.state.api + "insert_appStore", params)
-          .then(res => {
-            if (res.data[0][0]["id"]) {
-              this.$message.success("添加成功");
-              this.$refs.addAppDialogRef.close(true);
-              this.getData();
-            } else {
-              this.$message.error("添加失败");
-              this.$refs.addAppDialogRef.loading = false;
-            }
-          })
-          .catch(err => {
-            console.log(err);
-            this.$message.error("添加失败");
-          });
-      } else if (type === 2) {
-        let params = [
-          {
-            aid: data.id,
-            name: data.name, //app名称
-            userid: this.userId, //创建的用户ID
-            label: data.label, //app标签
-            detail: data.detail, //app简介
-            url: data.url, //app链接
-            type: data.type, //app类型
-            juri: data.juri, //app权限 1:我的 2:组织 3:所有人
-            stand: this.region ? this.region : "cn", //语言
-            json: JSON.stringify(data.json) //其他信息
-          }
-        ];
-        this.ajax
-          .post(this.$store.state.api + "update_appStore", params)
-          .then(res => {
-            if (res.data) {
-              this.$message.success("修改成功");
-              this.$refs.addAppDialogRef.close(true);
-              this.getData();
-            } else {
-              this.$message.error("修改失败");
-              this.$refs.addAppDialogRef.loading = false;
-            }
-          })
-          .catch(err => {
-            console.log(err);
-            this.$message.error("修改失败");
-          });
-      }
-    },
-    releaseAppSuccess(data) {
-      this.$refs.releaseAppDialogRef.loading = true;
-      let params = [
-        {
-          aid: data.id,
-          name: data.name, //app名称
-          userid: this.userId, //创建的用户ID
-          label: data.label, //app标签
-          detail: data.detail, //app简介
-          url: data.url, //app链接
-          type: data.type, //app类型
-          juri: data.juri, //app权限 1:我的 2:组织 3:所有人
-          stand: this.region ? this.region : "cn", //语言
-          json: JSON.stringify(data.json) //其他信息
-        }
-      ];
-      this.ajax
-        .post(this.$store.state.api + "update_appStore", params)
-        .then(res => {
-          if (res.data) {
-            this.$message.success("发布成功");
-            this.$refs.releaseAppDialogRef.close(true);
-          } else {
-            this.$message.error("发布失败");
-            this.$refs.releaseAppDialogRef.loading = false;
-          }
-          this.getData();
-        })
-        .catch(err => {
-          console.log(err);
-          this.$message.error("修改失败");
-        });
-    },
-    getTypeList() {
-      let params = {
-        suserid: this.userId, //用户ID
-        sorg: this.org,
-        soid: this.oid,
-        sstand: this.region ? this.region : "cn",
-        exportType:(this.controlsObj&&this.controlsObj.exportTypeList&&this.controlsObj.exportTypeList.length>0)?this.controlsObj.exportTypeList.join(','):"",
-      };
-
-      this.ajax
-        .get(this.$store.state.api + "select_appStoreType_exceptType", params)
-        .then(res => {
-          let data = res.data[0];
-          if (data.length > 0) {
-            // data.forEach(i => {
-            //   if (i.open == undefined) {
-            //     i.open = true;
-            //   }
-            // });
-            this.typeList = data;
-          }
-        })
-        .catch(err => {
-          console.log(err);
-          this.$message.error("获取应用类型失败");
-        });
-    },
-    async openApp(item, type = 0) {
-      window.open(item.url, "_blank");
-      if (
-        !(this.recentUse.length > 0 && item.id === this.recentUse[0].id) &&
-        type === 0
-      ) {
-        await this.insertSave(item, 1);
-        this.getRecentUse();
-      }
-    },
-
-    resetData() {
-      this.searchText = "";
-      this.selectJuri = 3;
-      this.showType = "";
-      this.getData();
-    },
-    getRecentUse() {
-      let params = {
-        uid: this.userId,
-        type: 1,
-        limit: 10
-      };
-
-      this.ajax
-        .get(this.$store.state.api + "select_appStoreSave", params)
-        .then(res => {
-          let data = res.data[0];
-          if (data.length > 0) {
-            data.forEach(i => {
-              if (i.json) {
-                i.json = JSON.parse(i.json);
-              }
-            });
-            this.recentUse = data;
-          } else {
-            this.recentUse = [];
-          }
-        })
-        .catch(err => {
-          console.log(err);
-          console.log("获取最近使用失败");
-          // this.$message.error("获取收藏应用失败")
-        });
-    },
-    getCollect() {
-      let params = {
-        uid: this.userId,
-        type: 0,
-        limit: 0
-      };
-      this.ajax
-        .get(this.$store.state.api + "select_appStoreSave", params)
-        .then(res => {
-          let data = res.data[0];
-          if (data.length > 0) {
-            data.forEach(i => {
-              if (i.json) {
-                i.json = JSON.parse(i.json);
-              }
-            });
-            this.collect = data;
-          } else {
-            this.collect = [];
-          }
-        })
-        .catch(err => {
-          console.log(err);
-          this.$message.error("获取收藏应用失败");
-        });
-    },
-    insertSave(item, type) {
-      return new Promise(resolve => {
-        let params = [
-          {
-            uid: this.userId,
-            type: type,
-            aid: item.id,
-            json: ""
-          }
-        ];
-
-        this.ajax
-          .post(this.$store.state.api + "insert_appStoreSave", params)
-          .then(res => {
-            if (res.data) {
-              if (type === 1) {
-                resolve(1);
-              }
-            }
-          })
-          .catch(err => {
-            resolve(0);
-            console.log(err);
-          });
-      });
-    },
-    delApp(item) {
-      this.$confirm(
-        `确定要取消发布《${item.name}》这个应用吗?`,
-        `确定取消发布应用`,
-        {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }
-      )
-        .then(async() => {
-          console.log(item.json)
-          let status = await this.delAgentOrWorkflow(item);
-
-          if(status==0){
-            this.$message.success("取消发布成功");
-            this.getData();
-          }else if(status==1){
-            this.$message.error("取消发布失败");
-            this.getData();
-          }else if(status==2){
-  let params = [
-           {
-             uid: this.userId,
-             aid: item.id
-           }
-         ];
-         this.ajax
-           .post(this.$store.state.api + "delete_appStore", params)
-           .then(res => {
-             if (res.data) {
-               this.$message.success("取消发布成功");
-               this.getData();
-             } else {
-               this.$message.error("取消发布失败");
-             }
-             if (this.collect.findIndex(i => i.id == item.id) != -1) {
-               this.getCollect();
-             }
-           })
-           .catch(err => {
-             console.log(err);
-             this.$message.error("取消发布失败");
-           });
-          }
-
-        })
-        .catch(() => {
-          console.log("取消发布失败");
-        });
-    },
-    async delAgentOrWorkflow(item){
-      return new Promise(async resolve => {
-        let url = item.url;
-        let id =
-          this.queryURLParams(url, "id") ||
-          item.url.split("/")[item.url.split("/").length - 1];
-        if (!id) {
-          console.log("该链接无对应id");
-          return resolve(3);
-          // return this.$message.error("复制失败,未找到对应id")
-        }
-        if (item.label == "workflow") {
-          //复制工作流
-          if(item.json.modes){
-            let params = {
-              status:0,
-              modes:item.json.modes
-            }
-            this.ajax.post(`https://appapi.cocorobo.cn/api/agents/cancelPublishMutiAgent/${id}`,params).then(res=>{
-              let _msg = res.data.message;
-              if(_msg="MutiAgent unpublished successfully"){
-                resolve(0)
-              }else{
-                resolve(1)
-              }
-            }).catch(e=>{
-              console.log(e);
-              resolve(1)
-            })
-          }else{
-            resolve(2);
-          }
-
-        } else if (item.label == "agent") {
-          //复制智能体
-          let params = {
-            status: 0,
-            modes: ["0"]
-          }
-          this.ajax.post(`https://appapi.cocorobo.cn/api/agents/cancelPublishAgent/${id}`,params).then(res=>{
-            let _msg = res.data.message;
-            if(_msg=='Agent unpublished successfully'){
-              resolve(0)
-            }else{
-              resolve(1)
-            }
-          }).catch(e=>{
-            console.log(e);
-            resolve(1)
-          })
-
-        }
-      });
-    },
-    changeShowPage(newPage) {
-      this.$emit("changeShowCard", newPage);
-    },
-    getBanner() {
-      let params = {
-        uid: this.userId,
-        oid: this.oid,
-        org: this.org,
-        type: 4
-      };
-
-      this.ajax
-        .get(this.$store.state.api + "select_bannerByoidORorg", params)
-        .then(res => {
-          let _data = res.data[0];
-          if (_data[0]) {
-            this.bannerObj = _data[0];
-          } else {
-            this.bannerObj = null;
-          }
-        })
-        .catch(e => {
-          console.log("获取banner图失败");
-          console.log(e);
-        });
-    },
-    praiseFn(item, type = 0) {
-      //点赞
-      if (type === 0) {
-        //点赞
-        let params = [
-          {
-            uid: this.userId,
-            type: 2,
-            aid: item.id,
-            json: ""
-          }
-        ];
-        this.ajax
-          .post(this.$store.state.api + "insert_appStoreSave", params)
-          .then(res => {
-            if (res.data) {
-              let _likeId = res.data[0][0].id;
-              this.dataList.find(i => i.id === item.id).likeCount += 1;
-              this.dataList.find(i => i.id === item.id).likeId = _likeId;
-              this.$message.success("点赞成功");
-            }
-          })
-          .catch(e => {
-            this.$message.error("点赞失败");
-          });
-      } else if (type === 1) {
-        //取消点赞
-        console.log("取消点赞👉:", item);
-        let params = [
-          {
-            sid: item.likeId
-          }
-        ];
-        this.ajax
-          .post(this.$store.state.api + "delete_appStoreSave", params)
-          .then(res => {
-            if (res.data) {
-              this.dataList.find(i => i.id === item.id).likeCount -= 1;
-              this.dataList.find(i => i.id === item.id).likeId = "";
-              this.$message.success("取消点赞成功");
-            }
-          })
-          .catch(e => {
-            console.log(e);
-            this.$message.error("取消点赞失败");
-          });
-      }
-    },
-    collectFn(item, type = 0) {
-      //收藏
-      if (type === 0) {
-        //收藏
-        console.log("收藏👉:", item);
-        let params = [
-          {
-            uid: this.userId,
-            type: 0,
-            aid: item.id,
-            json: ""
-          }
-        ];
-        this.ajax
-          .post(this.$store.state.api + "insert_appStoreSave", params)
-          .then(res => {
-            if (res.data) {
-              let _colletId = res.data[0][0].id;
-              this.dataList.find(i => i.id === item.id).collectCount += 1;
-              this.dataList.find(i => i.id === item.id).collectId = _colletId;
-              this.$message.success("收藏成功");
-            }
-            this.getCollect();
-          })
-          .catch(e => {
-            console.log(e);
-            this.getCollect();
-            this.$message.error("收藏失败");
-          });
-      } else if (type === 1) {
-        //取消收藏
-        console.log("取消收藏👉:", item);
-        let params = [
-          {
-            sid: item.collectId
-          }
-        ];
-        this.ajax
-          .post(this.$store.state.api + "delete_appStoreSave", params)
-          .then(res => {
-            if (res.data) {
-              this.dataList.find(i => i.id === item.id).collectCount -= 1;
-              this.dataList.find(i => i.id === item.id).collectId = "";
-              this.$message.success("取消收藏成功");
-            }
-            this.getCollect();
-          })
-          .catch(e => {
-            console.log(e);
-            this.$message.error("取消收藏失败");
-            this.getCollect();
-          });
-      }
-    },
-    queryURLParams(url, paramName) {
-      // 正则表达式模式,用于匹配URL中的参数部分。正则表达式的含义是匹配不包含 ?、&、= 的字符作为参数名,之后是等号和不包含 & 的字符作为参数值
-      let pattern = /([^?&=]+)=([^&]+)/g;
-      let params = {};
-
-      // match用于存储正则匹配的结果
-      let match;
-      // while 循环和正则表达式 exec 方法来迭代匹配URL中的参数
-      while ((match = pattern.exec(url)) !== null) {
-        // 在字符串url中循环匹配pattern,并对每个匹配项进行解码操作,将解码后的键和值分别存储在key和value变量中
-        let key = decodeURIComponent(match[1]);
-        let value = decodeURIComponent(match[2]);
-
-        if (params[key]) {
-          if (Array.isArray(params[key])) {
-            params[key].push(value);
-          } else {
-            params[key] = [params[key], value];
-          }
-        } else {
-          // 参数名在 params 对象中不存在,将该参数名和对应的值添加到 params 对象中
-          params[key] = value;
-        }
-      }
-
-      if (!paramName) {
-        // 没有传入参数名称, 返回含有所有参数的对象params
-        return params;
-      } else {
-        if (params[paramName]) {
-          return params[paramName];
-        } else {
-          return "";
-        }
-      }
-    },
-    getUserName(uid) {
-      return new Promise(resolve => {
-        let params = { uid: uid };
-        this.ajax
-          .get(this.$store.state.api + "getUser", params)
-          .then(res => {
-            let data = res.data[0][0];
-            this.userName = data.username;
-            resolve(data.username);
-          })
-          .catch(err => {
-            console.error(err);
-          });
-      });
-    },
-    async getAppStoreControl() {
-      return new Promise(resolve => {
-        let params = {
-          uid: this.userId,
-          org: this.org,
-          oid: this.oid
-        };
-
-        let controlsObj = {
-          logoUrl: "",
-          bannerUrl:"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/default%2FFrame+30141733970358224.svg",
-          exportTypeList: []
-        };
-        this.ajax
-          .get(this.$store.state.api + "select_appStore_controls", params)
-          .then(res => {
-            let _data = res.data[0];
-            if (_data[0]) {
-              console.log(_data[0])
-              controlsObj = JSON.parse(_data[0].json);
-            }
-            this.controlsObj = controlsObj;
-            resolve();
-          })
-          .catch(err => {
-            console.log(err)
-            this.controlsObj = controlsObj;
-            resolve();
-          });
-      });
-    }
-  },
-  mounted() {
-    this.getAppStoreControl().then(_=>{
-      this.getTypeList();
-      this.getData();
-      this.getCollect();
-      this.getRecentUse();
-      // this.getBanner();
-    })
-  }
-};
-</script>
-
-<style scoped>
-.appManagement {
-  width: 100vw;
-  height: 100vh;
-  background-color: #f2f4f7;
-  margin: 0;
-  overflow: auto;
-  box-sizing: border-box;
-  /* padding: 20px; */
-  display: flex;
-  justify-content: space-between;
-}
-
-.ac_left {
-  /* width: 280px;
-  min-width: 280px; */
-  width: clamp(200px, 12vw, 280px);
-  min-width: 200px;
-  margin-right: 20px;
-  height: 100%;
-  /* border-radius: 5px; */
-  background-color: #fff;
-  /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
-  box-sizing: border-box;
-  padding: 10px;
-  padding-left: 20px;
-  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 0 10px;
-  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 {
-  flex: 1;
-  min-width: 800px;
-  height: 100%;
-  overflow: auto;
-  display: flex;
-  padding-right: 10px;
-  padding-top: 10px;
-  box-sizing: border-box;
-  flex-direction: column;
-}
-
-.ac_header {
-  width: 100%;
-  height: auto;
-  border-radius: 5px;
-  /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
-  background-color: none;
-}
-
-.ac_h_top {
-  width: 100%;
-  height: 50px;
-  display: flex;
-  align-items: center;
-  box-sizing: border-box;
-  padding: 0 15px;
-  border-bottom: 1px solid #eeeeee;
-
-  position: relative;
-  justify-content: center;
-}
-
-.ac_h_top > span {
-  font-size: 22px;
-  position: relative;
-  margin-right: 25px;
-  cursor: pointer;
-  display: flex;
-  align-items: center;
-}
-
-.ac_h_top > span > svg {
-  width: 22px;
-  height: 22px;
-  fill: #1a1a1a;
-  margin-right: 10px;
-}
-
-.ac_h_t_active {
-  color: #0354d7;
-}
-
-.ac_h_t_active > svg {
-  fill: #0354d7 !important;
-}
-
-/* .ac_h_t_active::after {
-  content: "";
-  position: absolute;
-  width: 100%;
-  height: 3px;
-  border-radius: 4px;
-  background-color: #409eff;
-  left: 0;
-  bottom: -5px;
-} */
-
-.ac_h_banner {
-  width: 100%;
-  height: clamp(100px, 25vh, 350px);
-  /* height: 400px; */
-  border-radius: 5px;
-  overflow: hidden;
-  box-sizing: border-box;
-  padding: 10px;
-}
-
-.ac_h_banner > img {
-  width: 100%;
-  height: 100%;
-  object-fit: cover;
-  border-radius: 5px;
-}
-
-.ac_h_bottom {
-  width: 100%;
-  height: auto;
-  padding: 10px 15px 10px 15px;
-  box-sizing: border-box;
-  display: flex;
-  flex-direction: column;
-  border-bottom: solid 1px #e7e7e7;
-}
-
-
-
-
-
-.ac_h_b_typeList {
-  width: 100%;
-  height: auto;
-  display: flex;
-  flex-wrap: wrap;
-  box-sizing: border-box;
-}
-
-.ac_h_b_typeList > span {
-  font-size: 16px;
-  margin-right: 30px;
-  margin-top: 10px;
-  margin-bottom: 5px;
-  cursor: pointer;
-}
-
-.ac_h_b_typeList_active {
-  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 {
-  /* margin-left: 15px; */
-  margin-bottom: 10px;
-  display: flex;
-  justify-content: space-between;
-  align-items: center;
-}
-/*
-@media screen and (max-width: 1200px) {
-  .ac_h_bottom{
-    flex-direction: column;
-  }
-
-  .ac_h_b_typeList{
-    width: 100%;
-    margin-bottom: 20px;
-  }
-
-  .ac_h_b_selectList{
-    width: 100%;
-    display: flex;
-    justify-content: flex-end;
-  }
-} */
-
-
-.ac_content {
-  width: 100%;
-  height: auto;
-  margin-top: 10px;
-  padding-bottom: 10px;
-}
-
-.ac_c_typeCard {
-  width: 100%;
-  height: auto;
-}
-
-.ac_c_item {
-  width: calc(100% / 4 - (15px * 4) / 4);
-  height: 260px;
-  background-color: #fff;
-  border-radius: 10px;
-  /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
-  box-sizing: border-box;
-  padding: 15px;
-  margin-right: 15px;
-  margin-bottom: 15px;
-  float: left;
-  border: solid 1px #e7e7e7;
-  transition: 0.2s;
-
-  /* cursor: pointer; */
-}
-
-.ac_c_item:hover {
-  box-shadow: 0px 8px 10px -5px #00000014;
-
-  box-shadow: 0px 16px 24px 2px #0000000a;
-
-  box-shadow: 0px 6px 30px 5px #0000000d;
-}
-
-@media screen and (min-width: 1400px) {
-  .ac_c_item {
-    width: calc(100% / 4 - (15px * 3) / 4) !important;
-  }
-  .ac_c_item:nth-child(4n) {
-    margin-right: 0px !important;
-    /* background-color: red; */
-  }
-}
-
-@media screen and (max-width: 1380px) {
-  .ac_c_item {
-    width: calc(100% / 4 - (15px * 3) / 4) !important;
-  }
-
-  .ac_c_item:nth-child(4n) {
-    margin-right: 0px !important;
-  }
-
-  /* .ac_c_item:nth-child(5n) {
-    margin-right: 0 !important;
-  } */
-}
-
-@media screen and (max-width: 1080px) {
-  .ac_c_item {
-    width: calc(100% / 3 - (15px * 2) / 3) !important;
-  }
-
-  .ac_c_item:nth-child(5n) {
-    margin-right: 15px !important;
-  }
-
-  .ac_c_item:nth-of-type(4n) {
-    margin-right: 15px !important;
-  }
-
-  .ac_c_item:nth-child(3n) {
-    margin-right: 0 !important;
-  }
-}
-
-.ac_c_empty {
-  width: 100%;
-  height: 40%;
-  display: flex;
-  box-sizing: border-box;
-  /* padding-top: 2%; */
-  justify-content: center;
-  color: #a1a1a1;
-  /* align-items: center; */
-}
-
-.ac_c_i_top {
-  width: 100%;
-  display: flex;
-  height: calc(100% - 40px - 10px);
-  cursor: pointer;
-}
-
-.ac_c_i_t_left {
-  width: 80px;
-  min-width: 80px;
-  height: 80px;
-  box-sizing: border-box;
-  display: flex;
-  align-items: flex-start;
-  box-sizing: border-box;
-  /* padding: 10px; */
-  margin-right: 10px;
-}
-
-.ac_c_i_t_left > svg {
-  width: 100%;
-  height: 80px;
-  border: 1px solid #e7e7e7;
-  border-radius: 4px;
-  box-sizing: border-box;
-}
-
-.ac_c_i_t_left > img {
-  width: 100%;
-  object-fit: cover;
-  height: 80px;
-  border: 1px solid #e7e7e7;
-  border-radius: 4px;
-  box-sizing: border-box;
-}
-
-.ac_c_i_t_right {
-  flex: 1;
-  width: calc(100% - 100px - 10px);
-  height: 100%;
-  display: flex;
-  flex-direction: column;
-}
-
-.ac_c_i_t_right > div {
-  width: 100%;
-}
-
-.ac_c_i_t_r_top {
-  height: 40px;
-  display: flex;
-  align-items: flex-end;
-  justify-content: space-between;
-  position: relative;
-  font-weight: bold;
-  box-sizing: border-box;
-  padding-bottom: 2px;
-}
-
-.ac_c_i_t_r_top > span {
-  display: block;
-  max-width: 100%;
-  white-space: nowrap;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  font-size: 18px;
-}
-
-.ac_c_i_t_popover {
-  width: 30px;
-  height: 30px;
-  /* position: absolute; */
-  /* right: 0;
-  top: 0; */
-  z-index: 3;
-}
-
-.ac_c_i_t_popover svg {
-  width: 30px;
-  height: 30px;
-  box-sizing: border-box;
-  padding: 2.5px;
-  /* transform: rotate(90deg); */
-  cursor: pointer;
-  transition: 0.3s;
-  border-radius: 4px;
-}
-
-.ac_c_i_t_p_box {
-  position: absolute;
-  height: auto;
-  top: 100%;
-  right: 0;
-  padding: 8px;
-  border-radius: 8px 8px 8px 8px;
-  background-color: #fff;
-  /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
-  width: auto;
-  border: 1px solid #e7e7e7;
-}
-
-.ac_c_i_t_p_box > div {
-  width: 80px;
-  height: 30px;
-  cursor: pointer;
-  transition: 0.3s;
-  font-size: 0.7em;
-  border-radius: 5px;
-  font-weight: 100;
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  position: relative;
-  box-sizing: border-box;
-}
-
-.ac_c_i_t_p_box > div > img {
-  width: 18px;
-  height: 18px;
-  margin-right: 10px;
-}
-
-.ac_c_i_t_p_box > div:hover {
-  background-color: #f2f4f7;
-}
-
-.ac_c_i_t_r_center {
-  height: 30px;
-  display: flex;
-  justify-content: space-between;
-  align-items: center;
-  margin: 10px 0;
-}
-
-.ac_c_i_t_r_center > span {
-  display: block;
-  max-width: calc(100% - 80px);
-  white-space: nowrap;
-  overflow: hidden;
-  font-size: 14px;
-  color: #00000066;
-  text-overflow: ellipsis;
-}
-
-.ac_c_i_t_r_center > div {
-  width: 75px;
-  height: 85%;
-  display: flex;
-  align-items: center;
-  justify-content: center;
-  font-size: 14px;
-  background-color: #f3f3f3;
-  color: #00000066;
-  border-radius: 3px;
-}
-
-.ac_c_i_t_r_center > div > img {
-  width: 16px;
-  height: 16px;
-  margin-right: 4px;
-}
-
-.ac_c_i_t_r_bottom {
-  max-width: 100%;
-  max-height: calc(100% - 30px - 40px - 20px - 10px + 5px);
-  margin-top: 5px;
-  margin-bottom: 10px;
-  font-size: 16px;
-  color: #00000099;
-  display: -webkit-box;
-  -webkit-box-orient: vertical;
-  -webkit-line-clamp: 4;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  font-size: 14px;
-}
-
-.ac_c_i_bottom {
-  width: 100%;
-  height: 60px;
-  box-sizing: border-box;
-  border-top: solid 1px #e7e7e7;
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-  cursor: pointer;
-}
-
-.ac_c_i_b_left {
-  width: calc(100% - 60px);
-  display: flex;
-  align-items: center;
-  /* justify-content: space-between; */
-  overflow: auto;
-  height: 100%;
-}
-
-.ac_c_i_b_left > div {
-  margin-right: 20px;
-  display: flex;
-  align-items: center;
-}
-
-.ac_c_i_b_left > div > img {
-  width: 22px;
-  height: 22px;
-}
-
-.ac_c_i_b_left > div > span {
-  margin-left: 5px;
-  color: #00000099;
-  cursor: default;
-}
-
-.ac_c_i_b_right {
-  display: flex;
-  align-items: center;
-  width: 70px;
-  height: 70%;
-  justify-content: flex-end;
-}
-
-.ac_c_i_b_right > span {
-  width: 60px;
-  height: 80%;
-  border-radius: 4px;
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  font-size: 14px;
-}
-
-.ac_c_i_b_r_type1 {
-  background-color: #17c469;
-  color: #fff;
-}
-
-.ac_c_i_b_r_type2 {
-  background-color: #ffcf33;
-  color: #000;
-}
-
-.searchInputIcon {
-  width: 20px;
-  height: 20px;
-  position: relative;
-  top: 10px;
-  right: 5px;
-  font-size: 19px;
-  cursor: pointer;
-}
-
-.ac_c_tc_item {
-  width: 100%;
-  height: auto;
-}
-
-.ac_c_tc_i_top {
-  width: 100%;
-  height: 40px;
-  display: flex;
-  justify-content: space-between;
-  align-items: center;
-  margin-bottom: 20px;
-  box-sizing: border-box;
-  padding: 0 20px;
-  /* background-color: red; */
-}
-
-.ac_c_tc_i_top > div {
-  font-size: 26px;
-}
-
-.ac_c_tc_i_top > span {
-  display: flex;
-  align-items: center;
-  color: #a2a2a2;
-  font-size: 16px;
-  cursor: pointer;
-}
-
-.ac_c_tc_i_top > span > img {
-  width: 18px;
-  height: 18px;
-  margin-left: 5px;
-  /*transform: rotate(90deg);*/
-  transition: 0.3s;
-}
-
-/* .ac_c_i_top {
-  width: 100%;
-  height: 50px;
-  display: flex;
-  position: relative;
-}
-
-.ac_c_i_t_popover {
-  width: 30px;
-  height: 30px;
-  position: absolute;
-  right: 0;
-  top: 0;
-}
-
-.ac_c_i_t_popover svg {
-  width: 25px;
-  height: 25px;
-  cursor: pointer;
-}
-
-.ac_c_i_t_p_box {
-  position: absolute;
-  height: auto;
-  top: 100%;
-  right: 0;
-  padding: 8px;
-  border-radius: 8px 0 8px 8px;
-  background-color: #fff;
-  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
-  width: auto;
-}
-
-.ac_c_i_t_p_box > div {
-  width: 80px;
-  height: 30px;
-  cursor: pointer;
-  transition: 0.3s;
-  font-weight: bold;
-  font-size: 0.9em;
-  border-radius: 5px;
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  position: relative;
-  box-sizing: border-box;
-}
-
-.ac_c_i_t_p_box > div:hover {
-  background-color: #f2f4f7;
-}
-
-.ac_c_i_t_left {
-  width: 50px;
-  height: 50px;
-  border-radius: 8px;
-  margin-right: 10px;
-  box-sizing: border-box;
-  padding: 5px;
-}
-
-.ac_c_i_t_left > svg {
-  width: 100%;
-  height: 100%;
-}
-
-.ac_c_i_t_left > span {
-  width: 100%;
-  height: 100%;
-  display: block;
-}
-
-.ac_c_i_t_left > span >>> svg {
-  width: 100%;
-  height: 100%;
-}
-
-.ac_c_i_t_right {
-  width: calc(100% - 60px);
-  height: 100%;
-  display: flex;
-  flex-direction: column;
-  justify-content: space-evenly;
-}
-
-.ac_c_i_t_right > div {
-  font-size: 1.4em;
-  font-weight: bold;
-  max-width: 100%;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  white-space: nowrap;
-}
-
-.ac_c_i_t_right > span {
-  font-size: 1.1em;
-  color: #8991a1;
-  display: block;
-  max-width: 100%;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  white-space: nowrap;
-}
-
-.ac_c_i_bottom {
-  width: 100%;
-  height: calc(100% - 60px);
-  margin-top: 15px;
-}
-
-.ac_c_i_bottom > div {
-  font-size: 1em;
-  color: #8991a1;
-  width: 100%;
-  height: calc(100%);
-  display: -webkit-box;
-  display: block;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  -webkit-line-clamp: 8;
-  -webkit-box-orient: vertical;
-}
-
-.ac_c_i_bottom > span {
-  margin-top: 5px;
-  font-size: 1em;
-  color: #409eff;
-  overflow: hidden;
-  display: block;
-  text-overflow: ellipsis;
-  white-space: nowrap;
-  cursor: pointer;
-} */
-</style>

+ 0 - 637
src/components/pages/appStore/views/workSpace.vue

@@ -1,637 +0,0 @@
-<template>
-  <div class="workSpace">
-    <div class="ac_left">
-      <saveCard
-        title="最近使用"
-        :data="recentUse"
-        :type="0"
-        @saveClick="openApp"
-      />
-      <saveCard title="收藏" :data="collect" :type="1" @saveClick="openApp" />
-    </div>
-    <div class="ac_right">
-      <div class="ac_header">
-        <div class="ac_h_top">
-          <span @click="changeShowPage(0)">
-            <svg
-              width="20"
-              height="20"
-              viewBox="0 0 20 20"
-              xmlns="http://www.w3.org/2000/svg"
-            >
-              <path
-                d="M14.0625 2.1875C11.9914 2.1875 10.3125 3.86643 10.3125 5.9375C10.3125 8.00857 11.9914 9.6875 14.0625 9.6875C16.1336 9.6875 17.8125 8.00857 17.8125 5.9375C17.8125 3.86643 16.1336 2.1875 14.0625 2.1875ZM11.5625 5.9375C11.5625 4.55679 12.6818 3.4375 14.0625 3.4375C15.4432 3.4375 16.5625 4.55679 16.5625 5.9375C16.5625 7.31821 15.4432 8.4375 14.0625 8.4375C12.6818 8.4375 11.5625 7.31821 11.5625 5.9375Z"
-              />
-              <path
-                d="M2.5 3.75C2.5 3.05964 3.05964 2.5 3.75 2.5H8.125C8.81536 2.5 9.375 3.05964 9.375 3.75V8.125C9.375 8.81536 8.81536 9.375 8.125 9.375H3.75C3.05964 9.375 2.5 8.81536 2.5 8.125V3.75ZM3.75 3.75V8.125H8.125V3.75H3.75Z"
-              />
-              <path
-                d="M2.5 11.875C2.5 11.1846 3.05964 10.625 3.75 10.625H8.125C8.81536 10.625 9.375 11.1846 9.375 11.875V16.25C9.375 16.9404 8.81536 17.5 8.125 17.5H3.75C3.05964 17.5 2.5 16.9404 2.5 16.25V11.875ZM3.75 11.875V16.25H8.125V11.875H3.75Z"
-              />
-              <path
-                d="M10.625 11.875C10.625 11.1846 11.1846 10.625 11.875 10.625H16.25C16.9404 10.625 17.5 11.1846 17.5 11.875V16.25C17.5 16.9404 16.9404 17.5 16.25 17.5H11.875C11.1846 17.5 10.625 16.9404 10.625 16.25V11.875ZM11.875 16.25H16.25V11.875H11.875V16.25Z"
-              />
-            </svg>
-            应用管理</span
-          >
-          <span class="ac_h_t_active">
-            <svg
-              width="20"
-              height="20"
-              viewBox="0 0 20 20"
-              xmlns="http://www.w3.org/2000/svg"
-            >
-              <rect width="20" height="20" fill="white" />
-              <path
-                fill-rule="evenodd"
-                clip-rule="evenodd"
-                d="M9.70072 1.32632C9.88727 1.22456 10.1127 1.22456 10.2993 1.32632L17.1743 5.07632C17.3751 5.18584 17.5 5.39628 17.5 5.625V14.375C17.5 14.6037 17.3751 14.8142 17.1743 14.9237L10.2993 18.6737C10.1127 18.7754 9.88727 18.7754 9.70072 18.6737L2.82572 14.9237C2.62493 14.8142 2.5 14.6037 2.5 14.375V5.625C2.5 5.39628 2.62493 5.18584 2.82572 5.07632L9.70072 1.32632ZM3.75 6.79282V14.004L9.375 17.0722V14.1039L6.55344 12.4109C6.36519 12.298 6.25 12.0945 6.25 11.875V8.45949L3.75 6.79282ZM7.5 8.47887V10.7711L9.375 9.64613V7.35387L7.5 8.47887ZM10.625 7.35387V9.64613L12.5 10.7711V8.47887L10.625 7.35387ZM13.75 8.45949V11.875C13.75 12.0945 13.6348 12.298 13.4466 12.4109L10.625 14.1039V17.0722L16.25 14.004V6.79282L13.75 8.45949ZM15.668 5.67854L10 2.58693L4.33205 5.67854L6.8926 7.38557L9.67844 5.71407C9.87637 5.59531 10.1236 5.59531 10.3216 5.71407L13.1074 7.38557L15.668 5.67854ZM10 13.0211L11.9102 11.875L10 10.7289L8.08978 11.875L10 13.0211Z"
-              />
-            </svg>
-            工作空间</span
-          >
-        </div>
-				<div class="ac_h_banner" v-if="bannerObj">
-          <img
-            :src="bannerObj.poster"
-            alt="banner图"
-          />
-        </div>
-        <div class="ac_h_bottom">
-          <div class="ac_h_b_typeList">
-            <span
-              :class="{ ac_h_b_typeList_active: showType === '' }"
-              @click="changeShowType('')"
-            >
-              全部
-            </span>
-            <span
-              :class="{ ac_h_b_typeList_active: showType === '1' }"
-              @click="changeShowType('1')"
-            >
-              智能体
-            </span>
-            <span
-              :class="{ ac_h_b_typeList_active: showType === '2' }"
-              @click="changeShowType('2')"
-            >
-              工作流
-            </span>
-          </div>
-          <div class="ac_h_b_selectList">
-            <el-select
-              v-model="statusSelect"
-              placeholder="请选择"
-              @change="changeSelectType"
-              style="width: 150px;margin-right: 10px;"
-            >
-              <el-option
-                v-for="item in statusSelectList"
-                :key="item.index"
-                :label="item.label"
-                :value="item.index"
-              ></el-option>
-            </el-select>
-
-            <el-select
-              v-model="tagSelect"
-              placeholder="请选择"
-              @change="changeSelectType"
-              style="width: 150px;margin-right: 10px;"
-            >
-              <el-option
-                v-for="item in tagSelectList"
-                :key="item.index"
-                :label="item.label"
-                :value="item.index"
-              ></el-option>
-            </el-select>
-
-            <el-input
-              v-model="searchText"
-              style="width: 200px;"
-              placeholder="请输入名称"
-              @keyup.enter.native="getData"
-              clearable
-            />
-            <el-button
-              type="primary"
-              style="margin-left: 10px;"
-              icon="el-icon-search"
-              @click="getData"
-              clearable
-            ></el-button>
-          </div>
-        </div>
-      </div>
-
-      <div class="ac_content">
-        <!-- <div class="ac_c_item" v-for="item in 0">
-          <div class="ac_c_i_top">
-            <img
-              src="https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/default%2F%E6%B5%8B%E8%AF%951733981587859.jpg"
-              alt="封面"
-            />
-            <div>
-              <div>名称名称名称名称名称名称名称名称</div>
-              <span class="ac_c_i_t_brief">简介简介简介简介简介</span>
-              <span class="ac_c_i_t_time">2024-12-12 10:22:04 编辑</span>
-            </div>
-          </div>
-          <div class="ac_c_i_t_popover">
-            <div
-              class="ac_c_i_t_p_box"
-              v-if="editAppCard"
-              v-click-outside="handleBlur"
-            >
-              <div>编辑</div>
-              <div>收藏</div>
-              <div>复制</div>
-              <div>删除</div>
-            </div>
-
-            <svg
-              t="1732786015570"
-              @click.stop="updateCard(!editAppCard)"
-              class="icon"
-              viewBox="0 0 1024 1024"
-              version="1.1"
-              xmlns="http://www.w3.org/2000/svg"
-              p-id="9199"
-              width="200"
-              height="200"
-            >
-              <path
-                d="M192 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-29.866667-68.266667-68.266667-68.266667zM512 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-29.866667-68.266667-68.266667-68.266667zM832 443.733333c-38.4 0-68.266667 29.866667-68.266667 68.266667 0 38.4 29.866667 68.266667 68.266667 68.266667s68.266667-29.866667 68.266667-68.266667c0-38.4-34.133333-68.266667-68.266667-68.266667z"
-                fill="#111111"
-                p-id="9200"
-              ></path>
-            </svg>
-          </div>
-          <div class="ac_c_i_bottom">
-            <div>标签</div>
-            <span>工作流</span>
-          </div>
-        </div> -->
-        <div class="ac_c_empty" v-if="dataList.length === 0">
-          <span>暂无数据...</span>
-        </div>
-      </div>
-    </div>
-    <!-- <addAppDialog
-      ref="addAppDialogRef"
-      :typeList="typeList"
-      @success="addAppSuccess"
-    />-->
-  </div>
-</template>
-
-<script>
-const clickOutside = {
-  bind(el, binding) {
-    // 在元素上绑定一个点击事件监听器
-    el.clickOutsideEvent = function(event) {
-      // 检查点击事件是否发生在元素的内部
-      if (!(el === event.target || el.contains(event.target))) {
-        // 如果点击事件发生在元素的外部,则触发指令绑定的方法,将点击的event数据传过去
-        binding.value(event);
-      }
-    };
-    // 在文档上添加点击事件监听器
-    document.addEventListener("click", el.clickOutsideEvent);
-  },
-  unbind(el) {
-    // 在元素上解除点击事件监听器
-    document.removeEventListener("click", el.clickOutsideEvent);
-  }
-};
-import saveCard from "../components/saveCard.vue";
-export default {
-  components: {
-    saveCard
-  },
-  directives: {
-    "click-outside": clickOutside // 注册自定义指令
-  },
-  data() {
-    return {
-      showType: "",
-      searchText: "",
-      statusSelect: "",
-      statusSelectList: [
-        { index: "", label: "全部状态" },
-        { index: 1, label: "未发布" },
-        { index: 2, label: "已发布" }
-      ],
-      tagSelect: "",
-      tagSelectList: [
-        { index: "", label: "全部标签" },
-        { index: 1, label: "标签1" },
-        { index: 2, label: "标签2" },
-        { index: 3, label: "标签3" },
-        { index: 4, label: "标签4" },
-        { index: 5, label: "标签5" }
-      ],
-      userId: this.$route.query["userid"],
-      org: this.$route.query["org"],
-      oid: this.$route.query["oid"],
-      getDataLoading: false,
-      dataList: [],
-      recentUse: [],
-      collect: [],
-      editAppCard: null,
-      bannerObj:null
-    };
-  },
-  computed: {},
-  methods: {
-    changeType(newIndex) {
-      let flag = this.showType === newIndex;
-      this.showType = newIndex;
-      if (!flag) {
-        this.getData();
-      }
-    },
-    changeShowType(newType) {
-      if (this.showType === newType) return;
-      this.showType = newType;
-      this.getData();
-    },
-    changeSelectType() {
-      this.getData();
-    },
-    getData() {
-      // this.$message.info("获取数据暂未开发...");
-    },
-    updateCard(newValue) {
-      // if (this.editAppCard === id) return (this.editAppCard = null);
-      this.editAppCard = newValue;
-    },
-    handleBlur() {
-      this.updateCard(null);
-    },
-    openApp(item, type = 0) {
-      console.log("👉", item);
-    },
-    resetData() {
-      this.searchText = "";
-      this.statusSelect = "";
-      this.tagSelectList = "";
-      this.showType = "";
-      this.getData();
-    },
-    changeShowPage(newPage) {
-      this.$emit("changeShowCard", newPage);
-    },
-    getBanner(){
-      let params = {
-        uid:this.userId,
-        oid:this.oid,
-        org:this.org,
-        type:4
-      }
-
-      this.ajax.get(this.$store.state.api+"select_bannerByoidORorg",params).then(res=>{
-        let _data = res.data[0];
-        if(_data[0]){
-          this.bannerObj = _data[0];
-        }else{
-          this.bannerObj = null
-        }
-      }).catch(e=>{
-        console.log("获取banner图失败")
-        console.log(e)
-      })
-    }
-  },
-  mounted() {
-    this.getBanner()
-  }
-};
-</script>
-
-<style scoped>
-.workSpace {
-  width: 100vw;
-  height: 100vh;
-  background-color: #f2f4f7;
-  margin: 0;
-  overflow: auto;
-  box-sizing: border-box;
-  padding: 20px;
-  display: flex;
-  justify-content: space-between;
-}
-
-.ac_left {
-  width: clamp(150px,12vw,280px);
-  min-width: 150px;
-  margin-right: 20px;
-  height: 100%;
-  border-radius: 5px;
-  background-color: #fff;
-  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
-  box-sizing: border-box;
-  padding: 10px;
-  overflow: auto;
-}
-
-.ac_right {
-  flex: 1;
-  min-width: 800px;
-  height: 100%;
-  overflow-y: hidden;
-  display: flex;
-  flex-direction: column;
-}
-
-.ac_header {
-  width: 100%;
-  height: auto;
-  border-radius: 5px;
-  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
-  background-color: #fff;
-}
-
-.ac_h_top {
-  width: 100%;
-  height: 50px;
-  display: flex;
-  align-items: center;
-  box-sizing: border-box;
-  padding: 0 15px;
-  border-bottom: 1px solid #eeeeee;
-
-  position: relative;
-  justify-content: center;
-}
-
-.ac_h_top > span {
-  font-size: 22px;
-  position: relative;
-  margin-right: 25px;
-  cursor: pointer;
-  display: flex;
-  align-items: center;
-}
-
-.ac_h_top > span > svg {
-  width: 22px;
-  height: 22px;
-  fill: #1a1a1a;
-  margin-right: 10px;
-}
-
-.ac_h_t_active {
-  color: #0354d7;
-}
-
-.ac_h_t_active > svg {
-  fill: #0354d7 !important;
-}
-
-.ac_h_banner {
-  width: 100%;
-  height: clamp(100px,20vh,300px);
-  border-radius: 5px;
-  overflow: hidden;
-  box-sizing: border-box;
-  padding: 10px;
-}
-
-.ac_h_banner > img {
-  width: 100%;
-  height: 100%;
-  object-fit: cover;
-  border-radius: 5px;
-}
-
-.ac_h_bottom {
-  width: 100%;
-  height: auto;
-  padding: 10px 15px 10px 15px;
-  box-sizing: border-box;
-  display: flex;
-  justify-content: space-between;
-  align-items: center;
-}
-
-.ac_h_b_typeList {
-  width: calc(100% - 666px);
-  height: auto;
-  display: flex;
-  flex-wrap: wrap;
-  box-sizing: border-box;
-  align-items: center;
-}
-
-.ac_h_b_typeList > span {
-  font-size: 18px;
-  margin-right: 20px;
-  margin-top: 10px;
-  margin-bottom: 5px;
-  cursor: pointer;
-}
-
-.ac_h_b_typeList_active {
-  color: #007aff;
-}
-
-.ac_h_b_selectList {
-  margin-left: 15px;
-  margin-bottom: 10px;
-  display: flex;
-  align-items: center;
-}
-
-.ac_content {
-  width: 100%;
-  flex: 1;
-  height: auto;
-  margin-top: 10px;
-  overflow: auto;
-	min-height: 200px;
-}
-
-.ac_c_item {
-  width: calc(100% / 5 - (15px * 4) / 5);
-  height: auto;
-  background-color: #fff;
-  border-radius: 10px;
-  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
-  box-sizing: border-box;
-  padding: 15px;
-  margin-right: 15px;
-  margin-bottom: 15px;
-  float: left;
-  position: relative;
-  overflow: hidden;
-  /* cursor: pointer; */
-}
-
-@media screen and (min-width: 1400px) {
-  .ac_c_item {
-    width: calc(100% / 5 - (15px * 4) / 5) !important;
-  }
-  .ac_c_item:nth-child(5n) {
-    margin-right: 0px !important;
-    /* background-color: red; */
-  }
-}
-
-@media screen and (max-width: 1380px) {
-  .ac_c_item {
-    width: calc(100% / 4 - (15px * 3) / 4) !important;
-  }
-
-  .ac_c_item:nth-child(4n) {
-    margin-right: 0px !important;
-  }
-  /* .ac_c_item:nth-child(5n) {
-    margin-right: 0 !important;
-  } */
-}
-
-@media screen and (max-width: 1080px) {
-  .ac_c_item {
-    width: calc(100% / 3 - (15px * 2) / 3) !important;
-  }
-
-  .ac_c_item:nth-child(5n) {
-    margin-right: 15px !important;
-  }
-
-  .ac_c_item:nth-of-type(4n) {
-    margin-right: 15px !important;
-  }
-
-  .ac_c_item:nth-child(3n) {
-    margin-right: 0 !important;
-  }
-}
-
-.ac_c_i_top {
-  width: 100%;
-  height: clamp(100px,10vw,180px);
-  display: flex;
-  justify-content: space-between;
-  position: relative;
-}
-
-.ac_c_i_top > img {
-  width: clamp(80px,8vw,130px);
-  height:clamp(80px,8vw,130px);
-  object-fit: cover;
-  border-radius: 10px;
-  margin: 10px 15px 10px 10px;
-}
-
-.ac_c_i_top > div {
-  box-sizing: border-box;
-  padding: 20px 0px 10px 0px;
-  flex: 1;
-  height: 100%;
-  width: calc(100% - 130px - 10px - 15px);
-}
-
-.ac_c_i_top > div > div {
-  font-size: 18px;
-  width: calc(100%);
-  overflow: hidden;
-  text-overflow: ellipsis;
-  white-space: nowrap;
-}
-
-.ac_c_i_t_brief {
-  margin: 5px 0;
-  font-size: 1em;
-  color: #8991a1;
-  width: calc(100%);
-  height: clamp(2em,7vh,4em);
-  /* 第四行溢出显示... */
-  display: -webkit-box;
-  display: block;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  -webkit-line-clamp: 4;
-  -webkit-box-orient: vertical;
-}
-
-.ac_c_i_t_time {
-  margin: 5px 0;
-  font-size: .9em !important;
-  color: #8991a1;
-  width: 100%;
-  height: auto;
-	white-space: nowrap;
-	overflow: hidden;
-	text-overflow: ellipsis;
-}
-
-.ac_c_i_bottom {
-  width: 100%;
-  height: 30px;
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-  box-sizing: border-box;
-  padding: 0 10px;
-}
-
-.ac_c_empty {
-  width: 100%;
-  height: 40%;
-  display: flex;
-  box-sizing: border-box;
-  padding-top: 2%;
-  justify-content: center;
-  /* align-items: center; */
-}
-
-.ac_c_i_t_popover {
-  width: 30px;
-  height: 30px;
-  position: absolute;
-  right: 10px;
-  top: 10px;
-}
-
-.ac_c_i_t_popover svg {
-  width: 30px;
-  height: 25px;
-  cursor: pointer;
-  background-color: #f2f2f2;
-  border-radius: 4px;
-}
-
-.ac_c_i_t_p_box {
-  position: absolute;
-  height: auto;
-  top: 100%;
-  right: 0;
-  padding: 8px;
-  border-radius: 8px 0 8px 8px;
-  background-color: #fff;
-  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
-  width: auto;
-}
-
-.ac_c_i_t_p_box > div {
-  width: 80px;
-  height: 30px;
-  cursor: pointer;
-  transition: 0.3s;
-  font-weight: bold;
-  font-size: 0.9em;
-  border-radius: 5px;
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  position: relative;
-  box-sizing: border-box;
-}
-
-.ac_c_i_t_p_box > div:hover {
-  background-color: #f2f4f7;
-}
-</style>

+ 0 - 9
src/router/index.js

@@ -142,7 +142,6 @@ import pocClass from '@/components/pages/pocAiClassroom/pocClass'
 import choseCheckTest from '@/components/pages/test/choseCheck'
 import testAi from '@/components/pages/testAi'
 import cocoroboffmpeg from '@/components/pages/cocoroboffmpeg'
-import appStore from '@/components/pages/appStore'
 import knowledge from '@/components/pages/knowledge/index'
 import sassPlatform from '@/components/pages/sassPlatform/index'
 // 全局修改默认配置,点击空白处不能关闭弹窗
@@ -1227,14 +1226,6 @@ export default new Router({
 						requireAuth:''//不需要鉴权
 					}
 				},
-				{
-					path:"/appStore",
-					name:"appStore",
-					component:appStore,
-					meta:{
-						requireAuth:''//不需要鉴权
-					}
-				},
 				{
 					path:"/knowledge",
 					name:"knowledge",