SanHQin hace 3 meses
padre
commit
2654bae668

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.3ea2a41081d41caa9ed8bd6b0ff043dd.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.c046dd5e92c8da101466.js></script><script type=text/javascript src=./static/js/app.df9b519eb582d7239db7.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.a03750a5be2c470998bc52e1d0190fd9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.c046dd5e92c8da101466.js></script><script type=text/javascript src=./static/js/app.185898037fcd60eecab1.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/static/css/app.a03750a5be2c470998bc52e1d0190fd9.css


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/static/css/app.a03750a5be2c470998bc52e1d0190fd9.css.map


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/static/js/app.185898037fcd60eecab1.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/static/js/app.185898037fcd60eecab1.js.map


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


+ 9 - 2
src/components/pages/appStore/dialog/addAppDialog.vue

@@ -210,7 +210,7 @@ export default {
         url: "",
         type: "",
         juri: "1",
-        stand: "cn",
+        stand: this.region,
         json: {
           icon: "",
           copy: "0",
@@ -251,7 +251,14 @@ export default {
         }
         return _result;
       };
-    }
+    },
+    region(){
+      let _result = 'cn';
+      let region = this.$route.query["region"];
+      _result = region?region:'cn';
+
+      return _result;
+    },
   },
   methods: {
     open(data) {

+ 2 - 1
src/components/pages/appStore/dialog/selectAppDialog.vue

@@ -86,6 +86,7 @@ export default {
       userId: this.$route.query["userid"],
       org: this.$route.query["org"],
       oid: this.$route.query["oid"],
+      region:this.$route.query["region"],
       dataList:[],
     };
   },
@@ -124,7 +125,7 @@ export default {
         label: "", //应用的标签搜索
         type: "", //应用的类型
         juri: 99, //应用权限 1:我的  2:组织内  3:所有人   99:未发布
-        stand: "cn", //cn站还是hk站
+        stand: this.region?this.region:'cn', //cn站还是hk站
         status:''
       };
 

+ 7 - 6
src/components/pages/appStore/views/appManagement.vue

@@ -784,7 +784,8 @@ export default {
       collect: [],
       editAppCard: null,
       bannerObj: null,
-      userName: null
+      userName: null,
+      region:this.$route.query["region"]
     };
   },
   computed: {
@@ -849,7 +850,7 @@ export default {
         label: this.selectLabel, //应用的标签搜索
         type: this.showType, //应用的类型
         juri: this.selectJuri, //应用权限 1:我的  2:组织内  3:所有人
-        stand: "cn", //cn站还是hk站
+        stand: this.region?this.region:'cn', //cn站还是hk站
         status: this.statusType
       };
 
@@ -1112,7 +1113,7 @@ export default {
             url: data.url, //app链接
             type: data.type, //app类型
             juri: data.juri, //app权限 1:我的 2:组织 3:所有人
-            stand: "cn", //语言
+            stand: this.region?this.region:'cn', //语言
             json: JSON.stringify(data.json) //其他信息
           }
         ];
@@ -1143,7 +1144,7 @@ export default {
             url: data.url, //app链接
             type: data.type, //app类型
             juri: data.juri, //app权限 1:我的 2:组织 3:所有人
-            stand: "cn", //语言
+            stand: this.region?this.region:'cn', //语言
             json: JSON.stringify(data.json) //其他信息
           }
         ];
@@ -1177,7 +1178,7 @@ export default {
           url: data.url, //app链接
           type: data.type, //app类型
           juri: data.juri, //app权限 1:我的 2:组织 3:所有人
-          stand: "cn", //语言
+          stand: this.region?this.region:'cn', //语言
           json: JSON.stringify(data.json) //其他信息
         }
       ];
@@ -1203,7 +1204,7 @@ export default {
         suserid: this.userId, //用户ID
         sorg: this.org,
         soid: this.oid,
-        sstand: "cn"
+        sstand: this.region?this.region:'cn'
       };
 
       this.ajax

+ 224 - 0
src/components/pages/sassPlatform/index.vue

@@ -0,0 +1,224 @@
+<template>
+  <div class="sassPlatform">
+    <div class="sp_header">
+      <!-- <div class="sp_h_logo">
+
+      </div> -->
+      <div class="sp_h_tagArea">
+        <span :class="{tagActive:tagIndex==0}" @click="tagIndex = 0">应用中心</span>
+        <span :class="{tagActive:tagIndex==1}" @click="tagIndex = 1">智能分析</span>
+      </div>
+    </div>
+    <div class="sp_bottom">
+      <div class="sp_b_left">
+        <div class="sp_b_l_form" v-for="(item,index) in formTypeList" :key="item.index">
+          <span @click="item.open = !item.open">{{ item.name }}<svg :style="`transform: rotate(${item.open?'180':'0'}deg);`" t="1739262423649" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7079" width="200" height="200"><path d="M52.335 261.072c-31.269 30.397-31.269 79.722 0 110.194l403.212 391.718c31.325 30.382 82.114 30.382 113.377 0l403.197-391.718c31.325-30.466 31.325-79.793 0-110.194-31.28-30.449-82.058-30.449-113.39 0l-346.497 336.64-346.457-336.64c-31.325-30.448-82.105-30.448-113.446 0l0 0z" p-id="7080"></path></svg></span>
+          <div v-show="item.open" v-if="item.children.length>0">
+            <span v-for="(item2,index2) in item.children" :key="item2.index" @click="formTypeTag=item2.index" :class="{formActive:item2.index==formTypeTag}">{{ item2.name }}</span>
+          </div>
+        </div>
+      </div>
+      <div class="sp_b_right">
+        <tableView/>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+import tableView from './view/tableView.vue';
+export default {
+  components:{
+    tableView
+  },
+  data(){
+    return{
+      tagIndex:0,
+      formTypeList:[
+        {
+          index:"0",
+          name:"教师管理",
+          open:false,
+          children:[{
+            index:'0-0',
+            type:"form",
+            name:"表单管理",
+          },{
+            index:'0-1',
+            type:"card",
+            name:"年度考核",
+          },{
+            index:'0-2',
+            type:"card",
+            name:"考核数据可视化",
+          }]
+        },
+        {
+          index:"1",
+          name:"校园安全",
+          open:false,
+          children:[{
+            index:'1-0',
+            type:"form",
+            name:"表单管理",
+          }]
+        },
+        {
+          index:"2",
+          name:"成绩管理",
+          open:false,
+          children:[{
+            index:'2-0',
+            type:"form",
+            name:"表单管理",
+          }]
+        },
+        {
+          index:"3",
+          name:"后勤管理",
+          open:false,
+          children:[{
+            index:'3-0',
+            type:"form",
+            name:"表单管理",
+          }]
+        },
+      ],
+      formTypeTag:'',
+    }
+  },
+  methods: {
+
+  },
+}
+</script>
+
+<style scoped>
+.sassPlatform{
+  width: 100vw;
+  height: 100vh;
+  margin: 0;
+  box-sizing: border-box;
+  background-color: white;
+}
+
+.sp_header{
+  width: 100%;
+  height: 100px;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  box-sizing: border-box;
+  border-bottom: solid 1px #BBBBBB;
+}
+
+.sp_h_tagArea{
+  width: auto;
+  height: auto;
+  display: flex;
+  align-items: center;
+}
+
+.sp_h_tagArea>span{
+  margin-right: 40px;
+  cursor: pointer;
+  font-size: 20px;
+  transition: .2s;
+  position: relative;
+}
+
+.sp_h_tagArea>span:hover{
+  color: #1684FC;
+}
+
+.tagActive{
+  color: #1684FC;
+}
+
+.tagActive::after{
+  content: '';
+  width: 100%;
+  height: 4px;
+  background-color: #1684FC;
+  position: absolute;
+  bottom: -10px;
+  left: 0;
+  border-radius: 4px;
+}
+
+.sp_bottom{
+  width: 100%;
+  height: calc(100% - 100px);
+  display: flex;
+}
+
+.sp_b_left{
+  width: 15%;
+  min-width: 200px;
+  height: 100%;
+  box-sizing: border-box;
+  border-right:solid 1px #D5D5D5;
+}
+
+.sp_b_l_form{
+  width: 100%;
+  height: auto;
+  background-color: white;
+}
+
+.sp_b_l_form>span{
+  width: 100%;
+  height: 60px;
+  box-sizing: border-box;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  background-color: white;
+  padding: 0 30px;
+  cursor: pointer;
+  transition: .3s;
+}
+
+.sp_b_l_form>span:hover{
+  color: #1684FC;
+}
+
+.sp_b_l_form>span>svg{
+  width: 15px;
+  height: 15px;
+}
+
+.sp_b_l_form>div{
+  width: 100%;
+  height: auto;
+  box-sizing: border-box;
+  background-color: #F7F7F7;
+}
+
+.sp_b_l_form>div>span{
+  width: 100%;
+  height: 60px;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  box-sizing: border-box;
+  padding: 0 40px;
+  cursor: pointer;
+  transition: .3s;
+}
+
+.sp_b_l_form>div>span:hover{
+  color: #1684FC;
+}
+
+.formActive{
+  color: #1684FC;
+}
+
+.sp_b_right{
+  flex: 1;
+  height: 100%;
+}
+
+
+</style>

+ 183 - 0
src/components/pages/sassPlatform/view/tableView.vue

@@ -0,0 +1,183 @@
+<template>
+  <div class="tableView">
+    <div class="tv_header">
+      <div class="tv_h_left">
+        <span :class="{ tagActive: tagIndex == 0 }" @click="tagIndex = 0"
+          >按表单查看</span
+        >
+        <span :class="{ tagActive: tagIndex == 1 }" @click="tagIndex = 1"
+          >按人员查看</span
+        >
+      </div>
+      <div class="tv_h_right">
+        <el-input
+          placeholder="请输入内容"
+          style="width: 300px;margin-right: 30px;"
+          v-model="searchValue"
+          class="input-with-select"
+        >
+          <el-button slot="append" icon="el-icon-search"></el-button>
+        </el-input>
+
+        <el-button type="primary">创建表单</el-button>
+
+        <!-- <el-button type="primary">数据导入</el-button> -->
+      </div>
+    </div>
+    <div class="tv_bottom">
+      <el-table
+        v-show="tagIndex == 0"
+        :data="showTableData"
+        border
+        style="width: 100%"
+      >
+        <el-table-column type="index" width="80" label="序号"></el-table-column>
+        <el-table-column
+          type="title"
+          width="400"
+          label="表单名称"
+        ></el-table-column>
+        <el-table-column
+          type="type"
+          width="200"
+          label="所属栏目"
+        ></el-table-column>
+        <el-table-column
+          type="creator"
+          width="150"
+          label="创建人"
+        ></el-table-column>
+        <el-table-column
+          type="status"
+          width="150"
+          label="表单状态"
+        ></el-table-column>
+        <el-table-column
+          type="num"
+          width="150"
+          label="提交数量"
+        ></el-table-column>
+        <el-table-column fixed="right" label="操作">
+          <template slot-scope="scope">
+            <el-button type="text" size="small">编辑</el-button>
+            <el-button type="text" size="small">查看</el-button>
+            <el-button type="text" size="small">复制</el-button>
+            <el-button type="text" size="small">提醒</el-button>
+            <el-button type="text" size="small">删除</el-button>
+          </template>
+        </el-table-column>
+      </el-table>
+      <el-table
+        v-show="tagIndex == 1"
+        :data="showTableData"
+        border
+        style="width: 100%"
+      >
+        <el-table-column type="index" width="80" label="序号"></el-table-column>
+        <el-table-column type="name" width="200" label="姓名"></el-table-column>
+        <el-table-column
+          type="subject"
+          width="200"
+          label="学科"
+        ></el-table-column>
+        <el-table-column
+          type="class"
+          width="200"
+          label="年级"
+        ></el-table-column>
+        <el-table-column
+          type="teachingAge"
+          width="200"
+          label="教龄"
+        ></el-table-column>
+        <el-table-column
+          type="submitted"
+          width="200"
+          label="已提交数量"
+        ></el-table-column>
+        <el-table-column
+          type="completed"
+          width="200"
+          label="已完成表单"
+        ></el-table-column>
+        <el-table-column fixed="right" label="操作">
+          <template slot-scope="scope">
+            <el-button type="text" size="small">详细</el-button>
+          </template>
+        </el-table-column>
+      </el-table>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      tableData: [],
+      tableData2: [],
+      tagIndex: 0,
+      searchValue: "",
+      showTableData: []
+    };
+  }
+};
+</script>
+
+<style scoped>
+.tableView {
+  width: 100%;
+  height: 100%;
+  box-sizing: border-box;
+  padding: 20px;
+}
+
+.tv_header {
+  width: 100%;
+  height: 100px;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  box-sizing: border-box;
+  padding: 0 20px;
+}
+
+.tv_h_left > span {
+  margin-right: 30px;
+  cursor: pointer;
+  transition: 0.3s;
+  position: relative;
+}
+
+.tv_h_left > span:hover {
+  color: #1684fc;
+}
+
+.tagActive {
+  color: #1684fc;
+}
+
+.tagActive::after {
+  content: "";
+  width: 100%;
+  height: 2px;
+  position: absolute;
+  bottom: -5px;
+  left: 0;
+  background-color: #1684fc;
+}
+
+.tv_h_right {
+  width: auto;
+  height: auto;
+  display: flex;
+}
+
+.tv_bottom {
+  width: 100%;
+  height: calc(100% - 100px);
+  overflow: auto;
+  padding: 0 20px;
+  box-sizing: border-box;
+}
+</style>

+ 10 - 2
src/router/index.js

@@ -144,6 +144,7 @@ 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'
 // 全局修改默认配置,点击空白处不能关闭弹窗
 ElementUI.Dialog.props.closeOnClickModal.default = false
 Vue.use(Router).use(ElementUI)
@@ -1241,6 +1242,13 @@ export default new Router({
 					meta:{
 						requireAuth:''//不需要鉴权
 					}
-				}
+				},{
+          path:"/sassPlatform",
+          name:"sassPlatform",
+          component:sassPlatform,
+          meta:{
+            requireAuth:""//不需要鉴权
+          }
+        }
     ]
-})
+})

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio