zhuf 1 year ago
parent
commit
92c795a2a7
1 changed files with 16 additions and 13 deletions
  1. 16 13
      src/pages/xdjx/tdkgl/wdtdk.vue

+ 16 - 13
src/pages/xdjx/tdkgl/wdtdk.vue

@@ -295,12 +295,7 @@ const API_MAP = {
 }
 // #endregion
 
-// #region (page init)
-function init() {
-  queryApi()
-}
-init()
-// #endregion
+
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -311,7 +306,7 @@ init()
 const activeName = ref('first')
 
 function handleTabChange(n) {
-  if(n === 'second') {
+  if(n === 'first') {
     queryApi2()
   }else {
     queryApi()
@@ -381,6 +376,14 @@ function getLabel({ xjj_xm, skzc, skxq, skjc, subject_name }: any) {
   return `${xjj_xm} / 第${skzc}周 星期${WeekMap[skxq - 1]} 第${skjc}节 / ${subject_name}`
 }
 
+
+// #region (page init)
+function init() {
+  queryApi2()
+}
+init()
+// #endregion
+
 </script>
 
 <template>
@@ -606,17 +609,17 @@ function getLabel({ xjj_xm, skzc, skxq, skjc, subject_name }: any) {
                 <span v-if="scope.row.xtw_shzt === '3'">待审核</span>
                 <span v-else>{{ scope.row.xtw_shzt }}</span>
               </template></el-table-column>
-            <el-table-column label="操作" fixed="right" width="120">
+           <!-- <el-table-column label="操作" fixed="right" width="120">
               <template #default="scope">
                 <el-button link :disabled="scope.row.xtw_shzt_option_k !== '3'" :auto-insert-space="false"
                   @click="handleTableColBtn_edit(scope)" type="primary">编辑
                 </el-button>
-                <!-- <el-button link :auto-insert-space="false" @click="handleTableColBtn_audit(scope)" type="primary" >审核</el-button> -->
-                <!-- <el-button link :auto-insert-space="false" @click="handleTableColBtn_detail(scope)" type="primary" >详情</el-button> -->
-                <!-- <el-button link :auto-insert-space="false" @click="handleTableColBtn_delete(scope)" type="primary">删除
-                </el-button> -->
+                <!~~ <el-button link :auto-insert-space="false" @click="handleTableColBtn_audit(scope)" type="primary" >审核</el-button> ~~>
+                <!~~ <el-button link :auto-insert-space="false" @click="handleTableColBtn_detail(scope)" type="primary" >详情</el-button> ~~>
+                <!~~ <el-button link :auto-insert-space="false" @click="handleTableColBtn_delete(scope)" type="primary">删除
+                </el-button> ~~>
               </template>
-            </el-table-column>
+            </el-table-column>-->
           </el-table>
         </div>