daiqisheng 3 rokov pred
rodič
commit
53e8128f68

+ 6 - 7
src/pages/main/performance/components/sheet.vue

@@ -2,7 +2,7 @@
  * @Author       : yuanrunwei
  * @Date         : 2021-12-04 14:23:58
  * @LastEditors: daiqisheng
- * @LastEditTime: 2022-02-16 15:25:40
+ * @LastEditTime: 2022-03-03 12:00:50
  * @FilePath     : \spfm-market-front\src\pages\main\performance\components\sheet.vue
 -->
 <template>
@@ -435,10 +435,6 @@ export default {
         type: "json",
       });
     },
-    // formateNumber(String) {
-    //   console.log(String, "daa");
-    //   if(String.split(','))
-    // },
     handleForbid() {
       // const object = {};
       const { permission_type } = this.form;
@@ -669,7 +665,7 @@ export default {
             this.$emit("save");
             return;
           }
-           // 员工提交
+          // 员工提交
           this.rowList.shift();
           let reqdata = {
             rowIndex: [...new Set(this.rowList)]
@@ -931,10 +927,13 @@ export default {
     },
   },
   mounted() {
-    console.log(this.status, "s");
+    console.log(this.destroy, "destroy");
     this.handleInit();
     this.handleChargeList();
   },
+  destroyed() {
+    window.luckysheet.destroy();
+  },
 };
 </script>
 

+ 1 - 48
src/pages/main/performance/department.vue

@@ -1,12 +1,7 @@
 <template>
   <div>
     <div class="simple-container">
-      <simple-form :form="table_form" @search="handleSearch">
-        <!-- :handle="table_handle"
-      @add="handleRulesVisible"
-      @class="handleDrawer('class')"
-      @download="handleDownload" -->
-      </simple-form>
+      <simple-form :form="table_form" @search="handleSearch"> </simple-form>
       <simple-table
         :list="table_list"
         :config="table_config"
@@ -46,13 +41,6 @@
                 @click="handleTransfer"
                 >转派</el-button
               >
-              <!-- 提交按钮 科员可见 9  -->
-              <!-- <el-button
-                type="primary"
-                v-if="edit_form.status === '1' && duty === '9'"
-                @click="handleSubmit"
-                >提交</el-button
-              > -->
               <!-- 审批按钮 科室经理、分管副总、总经理可见  -->
               <el-button
                 type="primary"
@@ -65,14 +53,7 @@
                 >审批</el-button
               >
             </template>
-            <!-- <el-button type="primary" @click="handleTrack">流程跟踪</el-button>
-            <el-button type="primary">导出</el-button> -->
           </div>
-          <!-- <div>
-            <el-button @click="handleCancel('visible')" type="primary"
-              >返回</el-button
-            >
-          </div> -->
         </div>
         <!-- 主体部分 -->
         <simple-sheet
@@ -288,34 +269,6 @@
         </el-form-item>
       </el-form>
     </simple-dialog>
-    <!-- <simple-dialog
-      title="流程跟踪"
-      :visible="track_visible"
-      :reload="reload"
-      width="600px"
-      props="track_visible"
-      @confirm="handleConfirm"
-      @cancel="handleCancel('track_visible')"
-    >
-      <el-table :data="trackList" border>
-        <el-table-column
-          prop="link"
-          label="流程环节"
-          align="center"
-          width="180"
-        >
-        </el-table-column>
-        <el-table-column
-          prop="creatperson"
-          label="处理人"
-          align="center"
-          width="180"
-        >
-        </el-table-column>
-        <el-table-column prop="explain" label="审批说明" align="center">
-        </el-table-column>
-      </el-table>
-    </simple-dialog> -->
   </div>
 </template>