SanHQin 1 week ago
parent
commit
1048ad3cb3

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.699284376ff9593918d328d772cf457b.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.f9ff2b765f1d1bc6e047.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.a02c4662293571487fb01097d2a18c31.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.1dac2308200344da2b25.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.a02c4662293571487fb01097d2a18c31.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.a02c4662293571487fb01097d2a18c31.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.1dac2308200344da2b25.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.1dac2308200344da2b25.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


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

@@ -139,7 +139,7 @@
             <el-radio-group v-model="form.juri">
               <el-radio label="1">私有</el-radio>
               <el-radio label="2">公开组织</el-radio>
-              <el-radio label="3">公开所有人</el-radio>
+              <el-radio label="3" v-show="oid ==='45facc0a-1211-11ec-80ad-005056b86db5'">公开所有人</el-radio>
             </el-radio-group>
           </el-form-item>
 
@@ -195,6 +195,7 @@ export default {
   },
   data() {
     return {
+      oid: this.$route.query["oid"],
       loading: false,
       show: false,
       uploadIconLoading: false,

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

@@ -34,7 +34,7 @@
             style="display: flex;flex-direction: column;align-items: flex-start;"
           >
             <el-radio-group v-model="form.juri">
-              <el-radio label="3">所有人可见</el-radio>
+              <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>
@@ -102,6 +102,7 @@ export default {
   },
   data() {
     return {
+      oid: this.$route.query["oid"],
       loading: false,
       show: false,
       form: {

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

@@ -1836,6 +1836,10 @@ export default {
   border-bottom: solid 1px #e7e7e7;
 }
 
+
+
+
+
 .ac_h_b_typeList {
   width: calc(100% - 400px);
   height: auto;
@@ -1875,6 +1879,24 @@ export default {
   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;

+ 107 - 8
src/components/pages/sassPlatform/view/tableView.vue

@@ -63,7 +63,86 @@
         ></el-table-column>
         <el-table-column fixed="right" label="操作" min-width="300">
           <template slot-scope="scope">
-            <el-button
+           <div class="tableBtnArea">
+            <el-tooltip
+              class="item"
+              effect="light"
+              content="编辑"
+              placement="top"
+              v-if="
+                scope.row.userid == userId ||
+                  (scope.row.course_teacher &&
+                    scope.row.course_teacher.indexOf(userId) !== -1) ||
+                  role == '1'
+              "
+            >
+              <img
+                 @click="editForm(scope.row)"
+                src="../../../../assets/icon/test/edit_test_icon.png"
+                alt=""
+              />
+            </el-tooltip>
+
+            <el-tooltip
+              class="item"
+              effect="light"
+              content="查看"
+              placement="top"
+            >
+              <img
+               @click="checkForm(scope.row.courseId)"
+                src="../../../../assets/icon/test/check_test_icon.png"
+                alt=""
+              />
+            </el-tooltip>
+
+            <el-tooltip
+              class="item"
+              effect="light"
+              content="复制"
+              placement="top"
+            >
+              <img  @click="copyForm(scope.row.courseId)" src="../../../../assets/icon/test/paste-icon.png" alt="" />
+            </el-tooltip>
+            <el-tooltip
+              class="item"
+              effect="light"
+              content="提醒"
+              placement="top"
+              v-if="
+                scope.row.userid == userId ||
+                  (scope.row.course_teacher &&
+                    scope.row.course_teacher.indexOf(userId) !== -1) ||
+                  role == '1'
+              "
+            >
+              <img
+               @click="warnForm(scope.row)"
+                src="../../../../assets/icon/test/share_test_icon.png"
+                alt=""
+              />
+            </el-tooltip>
+
+            <el-tooltip
+              class="item"
+              effect="light"
+              content="删除"
+              placement="top"
+              v-if="
+                scope.row.userid == userId ||
+                  (scope.row.course_teacher &&
+                    scope.row.course_teacher.indexOf(userId) !== -1) ||
+                  role == '1'
+              "
+            >
+              <img
+               @click="deleteForm(scope.row.courseId)"
+                src="../../../../assets/icon/test/delete_test_icon.png"
+                alt=""
+              />
+            </el-tooltip>
+           </div>
+            <!--<el-button
               type="text"
               size="small"
               @click="editForm(scope.row)"
@@ -110,7 +189,7 @@
                   role == '1'
               "
               >删除</el-button
-            >
+            >-->
           </template>
         </el-table-column>
       </el-table>
@@ -175,12 +254,19 @@
 
         <el-table-column fixed="right" label="操作" min-width="100">
           <template slot-scope="scope">
-            <el-button
-              type="text"
-              size="small"
-              @click="checkPerson(scope.row.userid)"
-              >详细</el-button
+            <div class="tableBtnArea"> <el-tooltip
+              class="item"
+              effect="light"
+              content="删除"
+              placement="top"
             >
+              <img
+                @click="checkPerson(scope.row.userid)"
+                src="../../../../assets/icon/test/check_test_icon.png"
+                alt=""
+              />
+            </el-tooltip></div>
+
           </template>
         </el-table-column>
       </el-table>
@@ -533,7 +619,8 @@ export default {
           this.org +
           "&role=" +
           this.role +
-          "&typeId1="+ this.typeId
+          "&typeId1=" +
+          this.typeId
       );
     }
   },
@@ -599,4 +686,16 @@ export default {
   padding: 0 20px;
   box-sizing: border-box;
 }
+
+.tableBtnArea{
+  width: auto;
+  display: flex;
+}
+
+.tableBtnArea>img{
+  width: 18px;
+  height: 18px;
+  margin-right: 25px;
+  cursor: pointer;
+}
 </style>

Some files were not shown because too many files changed in this diff