Эх сурвалжийг харах

完成了规章制度左面按钮掉下来的现象

sunyanqiang 3 жил өмнө
parent
commit
26fa98901b

+ 13 - 5
src/api/medicalhealth/consumeputin.js

@@ -63,17 +63,25 @@ export function exportYaoPing(query) {
 // 药品销毁
 // 药品销毁
 export function exportYaoPingXiaoHui(query) {
 export function exportYaoPingXiaoHui(query) {
   return request({
   return request({
-    url: '/medicalhealth/yaopinguoqi/eidtguoqi',
+    url: '/medicalhealth/yaopinguoqi/edit',
     method: 'get',
     method: 'get',
     params: { id: query }
     params: { id: query }
   })
   })
 }
 }
 
 
-// 查询耗材入库列表
+// 获取耗材名称列表
 export function exportHaoCai(query) {
 export function exportHaoCai(query) {
   return request({
   return request({
-    url: '/medicalhealth/consumeputin/getHaoCaiList',
+    url: '/medicalhealth/consumeputin',
     method: 'get',
     method: 'get',
-    params: { id: query }
+    params: query
   })
   })
-}
+}
+// //  获取药品列表
+// export function exportYao(query) {
+//   return request({
+//     url: '/medicalhealth/bdgldurgputin/getYaoPingList',
+//     method: 'get',
+//     params: query
+//   })
+// }

+ 16 - 18
src/views/regulations/fileinfo/index.vue

@@ -747,13 +747,12 @@ export default {
       }).then((res) => {
       }).then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           if (item.subclassification == 0) {
           if (item.subclassification == 0) {
-
             this.directory = res.rows;
             this.directory = res.rows;
             this.total1 = res.total;
             this.total1 = res.total;
             this.addbtn = false;
             this.addbtn = false;
           } else {
           } else {
             // this.addbtn = true;
             // this.addbtn = true;
-            this.queryParams1.pageNum=1;
+            this.queryParams1.pageNum = 1;
             return;
             return;
           }
           }
         });
         });
@@ -923,11 +922,11 @@ export default {
             pageSize: this.queryParams1.pageSize,
             pageSize: this.queryParams1.pageSize,
             //  common: this.queryParams1.common,
             //  common: this.queryParams1.common,
           }).then((res) => {
           }).then((res) => {
-            console.log(res)
+            console.log(res);
             this.directory = res.rows;
             this.directory = res.rows;
-            this.total1=res.total;
-           
-            if (this.parentId==0) {
+            this.total1 = res.total;
+
+            if (this.parentId == 0) {
               this.addbtn = true;
               this.addbtn = true;
               this.RankList();
               this.RankList();
 
 
@@ -935,7 +934,6 @@ export default {
               this.loading1 = false;
               this.loading1 = false;
               this.$modal.msgSuccess("删除成功");
               this.$modal.msgSuccess("删除成功");
             } else {
             } else {
-             
               this.addbtn = false;
               this.addbtn = false;
               this.RankList();
               this.RankList();
 
 
@@ -1012,10 +1010,10 @@ export default {
 </script>
 </script>
 
 
 <style scoped>
 <style scoped>
-::v-deep .vue-treeselect__placeholder{
+::v-deep .vue-treeselect__placeholder {
   color: #bdbdbd4f !important;
   color: #bdbdbd4f !important;
 }
 }
-::v-deep .el-table__row .el-table__cell{
+::v-deep .el-table__row .el-table__cell {
   text-align: center !important;
   text-align: center !important;
 }
 }
 .jichu {
 .jichu {
@@ -1101,12 +1099,12 @@ export default {
 /* 阅读按钮1样式 */
 /* 阅读按钮1样式 */
 .el-button--reads {
 .el-button--reads {
   color: #ffffff;
   color: #ffffff;
-  width: 67px;
+  width: 50px;
   height: 30px;
   height: 30px;
   background-color: #1d96ff;
   background-color: #1d96ff;
   border-radius: 4px;
   border-radius: 4px;
   font-size: 14px;
   font-size: 14px;
-  background-image: url("../../../images/uploads.png");
+  /* background-image: url("../../../images/uploads.png"); */
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   background-position: 8px 6px;
   background-position: 8px 6px;
   /* text-align: center; */
   /* text-align: center; */
@@ -1116,7 +1114,7 @@ export default {
 /* 删除按钮样式 */
 /* 删除按钮样式 */
 .el-button--dels {
 .el-button--dels {
   color: #ffffff;
   color: #ffffff;
-  width: 60px;
+  width: 50px;
   height: 30px;
   height: 30px;
   background-color: #ff4949;
   background-color: #ff4949;
   border-radius: 4px;
   border-radius: 4px;
@@ -1125,7 +1123,7 @@ export default {
   background-position: 8px 6px;
   background-position: 8px 6px;
   /* text-align: center; */
   /* text-align: center; */
   line-height: 5px;
   line-height: 5px;
-  margin-right: 10px;
+  /* margin-right: 10px; */
 }
 }
 /* 查看按钮样式 */
 /* 查看按钮样式 */
 .el-button--reads .chakan {
 .el-button--reads .chakan {
@@ -1134,7 +1132,7 @@ export default {
 /* 阅读按钮样式 */
 /* 阅读按钮样式 */
 .el-button--reads .chakan1 {
 .el-button--reads .chakan1 {
   padding-top: 2px;
   padding-top: 2px;
-  margin-left: 7px;
+  /* margin-left: 7px; */
 }
 }
 /* 表格 */
 /* 表格 */
 .tdfirst {
 .tdfirst {
@@ -1333,7 +1331,7 @@ table {
 .undeline {
 .undeline {
   /* text-decoration: underline; */
   /* text-decoration: underline; */
   /* text-align: start; */
   /* text-align: start; */
-  color: #00F0FF;
+  color: #00f0ff;
   cursor: pointer;
   cursor: pointer;
 }
 }
 /* 序号居中 */
 /* 序号居中 */
@@ -1401,17 +1399,17 @@ body,
   right: 5px;
   right: 5px;
 }
 }
 ::v-deep .el-pager li.active {
 ::v-deep .el-pager li.active {
-  background-color: #1D96FF;
+  background-color: #1d96ff;
   color: white;
   color: white;
 }
 }
 ::v-deep .el-pager .number {
 ::v-deep .el-pager .number {
   background-color: #196299;
   background-color: #196299;
   color: white;
   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 ;
   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 ;
   background-color: #196299 !important ;
 }
 }
 ::v-deep .btn-prev {
 ::v-deep .btn-prev {