zhanghao 2 місяців тому
батько
коміт
7274db6911

+ 2 - 2
src/api/monitor/operlog.js

@@ -13,7 +13,7 @@ export function list(query) {
 export function delOperlog(operId) {
   return request({
     url: '/monitor/operlog/remove/' + operId,
-    method: 'get'
+    method: 'delete'
   })
 }
 
@@ -21,6 +21,6 @@ export function delOperlog(operId) {
 export function cleanOperlog() {
   return request({
     url: '/monitor/operlog/clean',
-    method: 'get'
+    method: 'delete'
   })
 }

+ 6 - 1
src/views/screen/engineering/unitAccess.vue

@@ -47,7 +47,7 @@
           <span class="title">施工阶段数量</span>
         </div>
         <div class="box-big">
-          <div class="box-smalls" v-for="(item, index) in parest" :key="index">
+          <div class="box-smalls" v-for="(item, index) in parest1" :key="index">
             <div class="box-above">
               <img src="@/assets/images/main/choose_bg12.png" />
               <div class="name-white">{{item.name}}</div>
@@ -99,6 +99,10 @@ export default {
         {name:"设计招标",num:0},{name:"施工招标",num:0},
         {name:"监理招标",num:0},{name:"施工许可",num:0},
       ],
+      parest1:[
+        {name:"基础施工",num:0},{name:"主体工程",num:0},
+        {name:"室内外装修",num:0},{name:"室外工程",num:0},
+      ],
       catePieData: [
         { value: 40, name: "新能源汽车" },
         { value: 20, name: "燃油汽车" },
@@ -552,6 +556,7 @@ export default {
     .dialog-left {
       width: 520px;
       float: left;
+      margin-left: 15px;
     }
     .dialog-right {
       width: 520px;

+ 5 - 1
src/views/screen/engineering/unitAccessDialog.vue

@@ -54,7 +54,7 @@
           <span class="title">施工阶段数量</span>
         </div>
         <div class="box-big">
-          <div class="box-smalls" v-for="(item, index) in parest" :key="index">
+          <div class="box-smalls" v-for="(item, index) in parest1" :key="index">
             <div class="box-above">
               <img src="@/assets/images/main/choose_bg12.png" />
               <div class="name-white">{{item.name}}</div>
@@ -95,6 +95,10 @@ export default {
         {name:"设计招标",num:0},{name:"施工招标",num:0},
         {name:"监理招标",num:0},{name:"施工许可",num:0},
       ],
+      parest1:[
+        {name:"基础施工",num:0},{name:"主体工程",num:0},
+        {name:"室内外装修",num:0},{name:"室外工程",num:0},
+      ],
       catePieData: [
         { value: 40, name: "新能源汽车" },
         { value: 20, name: "燃油汽车" },

+ 0 - 15
src/views/zcustom/camera/index.vue

@@ -35,15 +35,6 @@
           v-hasPermi="['zcustom:camera:remove']"
         >删除</el-button>
       </el-col>
-      <el-col :span="1.5">
-        <el-button
-          type="warning"
-          icon="el-icon-download"
-          size="mini"
-          @click="handleExport"
-          v-hasPermi="['zcustom:camera:export']"
-        >导出</el-button>
-      </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -297,12 +288,6 @@ export default {
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {});
     },
-    /** 导出按钮操作 */
-    handleExport() {
-      this.download('zcustom/camera/export', {
-        ...this.queryParams
-      }, `camera_${new Date().getTime()}.xlsx`)
-    }
   }
 };
 </script>

+ 0 - 15
src/views/zcustom/config/index.vue

@@ -64,15 +64,6 @@
           v-hasPermi="['zcustom:config:remove']"
         >删除</el-button>
       </el-col>
-      <el-col :span="1.5">
-        <el-button
-          type="warning"
-          icon="el-icon-download"
-          size="mini"
-          @click="handleExport"
-          v-hasPermi="['zcustom:config:export']"
-        >导出</el-button>
-      </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -337,12 +328,6 @@ export default {
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {});
     },
-    /** 导出按钮操作 */
-    handleExport() {
-      this.download('zcustom/config/export', {
-        ...this.queryParams
-      }, `config_${new Date().getTime()}.xlsx`)
-    }
   }
 };
 </script>

+ 0 - 15
src/views/zcustom/issue/index.vue

@@ -35,15 +35,6 @@
           v-hasPermi="['zcustom:issue:remove']"
         >删除</el-button>
       </el-col>
-      <el-col :span="1.5">
-        <el-button
-          type="warning"
-          icon="el-icon-download"
-          size="mini"
-          @click="handleExport"
-          v-hasPermi="['zcustom:issue:export']"
-        >导出</el-button>
-      </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -273,12 +264,6 @@ export default {
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {});
     },
-    /** 导出按钮操作 */
-    handleExport() {
-      this.download('zcustom/issue/export', {
-        ...this.queryParams
-      }, `issue_${new Date().getTime()}.xlsx`)
-    }
   }
 };
 </script>

+ 0 - 15
src/views/zcustom/plan/index.vue

@@ -51,15 +51,6 @@
           v-hasPermi="['zcustom:plan:remove']"
         >删除</el-button>
       </el-col>
-      <el-col :span="1.5">
-        <el-button
-          type="warning"
-          icon="el-icon-download"
-          size="mini"
-          @click="handleExport"
-          v-hasPermi="['zcustom:plan:export']"
-        >导出</el-button>
-      </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -328,12 +319,6 @@ export default {
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {});
     },
-    /** 导出按钮操作 */
-    handleExport() {
-      this.download('zcustom/plan/export', {
-        ...this.queryParams
-      }, `plan_${new Date().getTime()}.xlsx`)
-    }
   }
 };
 </script>

+ 0 - 15
src/views/zcustom/platAppOrg/index.vue

@@ -43,15 +43,6 @@
           v-hasPermi="['zcustom:platAppOrg:remove']"
         >删除</el-button>
       </el-col>
-      <el-col :span="1.5">
-        <el-button
-          type="warning"
-          icon="el-icon-download"
-          size="mini"
-          @click="handleExport"
-          v-hasPermi="['zcustom:platAppOrg:export']"
-        >导出</el-button>
-      </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -273,12 +264,6 @@ export default {
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {});
     },
-    /** 导出按钮操作 */
-    handleExport() {
-      this.download('zcustom/platAppOrg/export', {
-        ...this.queryParams
-      }, `platAppOrg_${new Date().getTime()}.xlsx`)
-    }
   }
 };
 </script>

+ 0 - 15
src/views/zcustom/project/index.vue

@@ -43,15 +43,6 @@
           v-hasPermi="['zcustom:project:remove']"
         >删除</el-button>
       </el-col>
-      <el-col :span="1.5">
-        <el-button
-          type="warning"
-          icon="el-icon-download"
-          size="mini"
-          @click="handleExport"
-          v-hasPermi="['zcustom:project:export']"
-        >导出</el-button>
-      </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -367,12 +358,6 @@ export default {
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {});
     },
-    /** 导出按钮操作 */
-    handleExport() {
-      this.download('zcustom/project/export', {
-        ...this.queryParams
-      }, `project_${new Date().getTime()}.xlsx`)
-    }
   }
 };
 </script>