瀏覽代碼

更改规章制度文件记录掉下来的样子

sunyanqiang 3 年之前
父節點
當前提交
f65660cdef
共有 1 個文件被更改,包括 22 次插入20 次删除
  1. 22 20
      src/views/regulations/fileinfo/index.vue

+ 22 - 20
src/views/regulations/fileinfo/index.vue

@@ -139,7 +139,11 @@
               @click="handleupLoad(scope.row)"
             >
               <span class="chakan1">
-                <a :href="'http://192.168.2.250:8089' + scope.row.parentDirName" download>下载</a>
+                <a
+                  :href="'http://192.168.2.250:8089' + scope.row.parentDirName"
+                  download
+                  >下载</a
+                >
               </span>
             </el-button>
             <el-button size="dels" type="text" @click="handledels(scope.row)">
@@ -646,7 +650,7 @@ export default {
         //   item.parentDirName='http://localhost:8089'+item.parentDirName;
 
         // })
-       console.log(1)
+        console.log(1);
         this.total = res.total;
       });
     },
@@ -756,13 +760,12 @@ export default {
       }).then((res) => {
         res.rows.forEach((item) => {
           if (item.subclassification == 0) {
-
             this.directory = res.rows;
             this.total1 = res.total;
             this.addbtn = false;
           } else {
             // this.addbtn = true;
-            this.queryParams1.pageNum=1;
+            this.queryParams1.pageNum = 1;
             return;
           }
         });
@@ -795,7 +798,7 @@ export default {
         //   item.parentDirName='http://localhost:8089'+item.parentDirName;
 
         // })
-       
+
         console.log(this.fileinfoList);
         this.total = response.total;
         this.loading = false;
@@ -937,11 +940,11 @@ export default {
             pageSize: this.queryParams1.pageSize,
             //  common: this.queryParams1.common,
           }).then((res) => {
-            console.log(res)
+            console.log(res);
             this.directory = res.rows;
-            this.total1=res.total;
-           
-            if (this.parentId==0) {
+            this.total1 = res.total;
+
+            if (this.parentId == 0) {
               this.addbtn = true;
               this.RankList();
 
@@ -949,7 +952,6 @@ export default {
               this.loading1 = false;
               this.$modal.msgSuccess("删除成功");
             } else {
-             
               this.addbtn = false;
               this.RankList();
 
@@ -1026,10 +1028,10 @@ export default {
 </script>
 
 <style scoped>
-::v-deep .vue-treeselect__placeholder{
+::v-deep .vue-treeselect__placeholder {
   color: #bdbdbd4f !important;
 }
-::v-deep .el-table__row .el-table__cell{
+::v-deep .el-table__row .el-table__cell {
   text-align: center !important;
 }
 .jichu {
@@ -1115,12 +1117,12 @@ export default {
 /* 阅读按钮1样式 */
 .el-button--reads {
   color: #ffffff;
-  width: 67px;
+  width: 50px;
   height: 30px;
   background-color: #1d96ff;
   border-radius: 4px;
   font-size: 14px;
-  background-image: url("../../../images/uploads.png");
+  /* background-image: url("../../../images/uploads.png"); */
   background-repeat: no-repeat;
   background-position: 8px 6px;
   /* text-align: center; */
@@ -1130,7 +1132,7 @@ export default {
 /* 删除按钮样式 */
 .el-button--dels {
   color: #ffffff;
-  width: 60px;
+  width: 50px;
   height: 30px;
   background-color: #ff4949;
   border-radius: 4px;
@@ -1148,7 +1150,7 @@ export default {
 /* 阅读按钮样式 */
 .el-button--reads .chakan1 {
   padding-top: 2px;
-  margin-left: 7px;
+  /* margin-left: 7px; */
 }
 /* 表格 */
 .tdfirst {
@@ -1347,7 +1349,7 @@ table {
 .undeline {
   /* text-decoration: underline; */
   /* text-align: start; */
-  color: #00F0FF;
+  color: #00f0ff;
   cursor: pointer;
 }
 /* 序号居中 */
@@ -1415,17 +1417,17 @@ body,
   right: 5px;
 }
 ::v-deep .el-pager li.active {
-  background-color: #1D96FF;
+  background-color: #1d96ff;
   color: white;
 }
 ::v-deep .el-pager .number {
   background-color: #196299;
   color: white;
 }
-::v-deep .el-pagination .el-select .el-input .el-input__inner{
+::v-deep .el-pagination .el-select .el-input .el-input__inner {
   background-color: #196299 !important ;
 }
-::v-deep .el-pagination__editor.el-input .el-input__inner{
+::v-deep .el-pagination__editor.el-input .el-input__inner {
   background-color: #196299 !important ;
 }
 ::v-deep .btn-prev {