zengyicheng 1 year ago
parent
commit
50a7cf53d3

+ 0 - 0
dist/css/78.42a0e45c.css → dist/css/791.42a0e45c.css


+ 0 - 0
dist/css/791.4f034e44.css


+ 1 - 0
dist/css/802.7a9062cd.css

@@ -0,0 +1 @@
+.projectApplication .btnClass[data-v-518e370d]{width:70px!important;max-width:70px;min-width:70px}

+ 1 - 1
dist/index.html

@@ -1 +1 @@
-<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>双创学院管理系统</title><script defer="defer" src="/js/chunk-vendors.6fb7b4fe.js"></script><script defer="defer" src="/js/app.a38cc442.js"></script><link href="/css/chunk-vendors.ab49d789.css" rel="stylesheet"><link href="/css/app.878f2d55.css" rel="stylesheet"></head><body><div id="app"></div></body></html>
+<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>双创学院管理系统</title><script defer="defer" src="/js/chunk-vendors.6fb7b4fe.js"></script><script defer="defer" src="/js/app.08efba5f.js"></script><link href="/css/chunk-vendors.ab49d789.css" rel="stylesheet"><link href="/css/app.878f2d55.css" rel="stylesheet"></head><body><div id="app"></div></body></html>

File diff suppressed because it is too large
+ 0 - 0
dist/js/78.b0c1e323.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/78.b0c1e323.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/791.0f76fac7.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/791.0f76fac7.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/791.7e231570.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/791.7e231570.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/802.83437ccc.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/802.83437ccc.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/955.a86038b6.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/955.a86038b6.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.08efba5f.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.08efba5f.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.a38cc442.js


+ 62 - 39
src/views/projectApply/projectApplication.vue

@@ -235,6 +235,7 @@
                 type="primary"
                 size="mini"
                 @click="lookDetail(scope.row.courseId, scope.row.typeid)"
+                class="btnClass"
                 >查看详情</el-button
               >
 
@@ -242,81 +243,98 @@
                 type="primary"
                 v-if="scope.row.isupload == 0"
                 @click="audit(scope.row, 0)"
+                class="btnClass"
                 >提交</el-button
               >
               <!--0申请人审核 -->
               <el-button
                 type="primary"
                 v-if="scope.row.isupload == 1"
-                class="disa"
+                class="disa btnClass"
                 >已提交</el-button
               >
               <el-button
                 type="primary"
-                v-if="scope.row.isupload == 2&& $store.state.userInfo.type!=0"
-                class="disa"
+                v-if="
+                  scope.row.isupload == 2 && $store.state.userInfo.type != 0
+                "
+                class="disa btnClass"
                 size="mini"
                 >已审核</el-button
               >
               <el-button
                 type="primary"
-                v-if="scope.row.isupload == 3&& $store.state.userInfo.type!=0"
-                class="disa"
+                v-if="
+                  scope.row.isupload == 3 && $store.state.userInfo.type != 0
+                "
+                class="disa btnClass"
                 size="mini"
                 >待结项</el-button
               >
               <el-button
                 type="primary"
-                v-if="scope.row.isupload == 4&& $store.state.userInfo.type!=0"
-                class="disa"
+                v-if="
+                  scope.row.isupload == 4 && $store.state.userInfo.type != 0
+                "
+                class="disa btnClass"
                 size="mini"
                 >已结项</el-button
               >
 
               <!--1管理员审核 -->
               <el-button
-                v-if="scope.row.isupload == 0&& $store.state.userInfo.type==0"
+                v-if="
+                  scope.row.isupload == 0 && $store.state.userInfo.type == 0
+                "
                 type="primary"
-                class="disa"
+                class="disa btnClass"
                 size="mini"
                 >审核</el-button
               >
 
-
-
               <el-button
-                v-if="scope.row.isupload == 1 && $store.state.userInfo.type==0"
+                v-if="
+                  scope.row.isupload == 1 && $store.state.userInfo.type == 0
+                "
                 type="primary"
                 size="mini"
+                class="btnClass"
                 @click="audit(scope.row, 1)"
                 >审核</el-button
               >
 
               <el-button
-                v-if="scope.row.isupload == 2 && $store.state.userInfo.type==0"
+                v-if="
+                  scope.row.isupload == 2 && $store.state.userInfo.type == 0
+                "
                 type="primary"
-                class="disa"
+                class="disa btnClass"
                 size="mini"
                 >已审核</el-button
               >
               <el-button
-                v-if="scope.row.isupload == 3 && $store.state.userInfo.type==0"
+                v-if="
+                  scope.row.isupload == 3 && $store.state.userInfo.type == 0
+                "
                 type="primary"
-                class="disa"
+                class="disa btnClass"
                 size="mini"
                 >待结项</el-button
               >
               <el-button
-                v-if="scope.row.isupload == 4 && $store.state.userInfo.type==0"
+                v-if="
+                  scope.row.isupload == 4 && $store.state.userInfo.type == 0
+                "
                 type="primary"
-                class="disa"
+                class="disa btnClass"
                 size="mini"
                 >已结项</el-button
               >
 
               <!-- <el-button type="primary"  size="mini" @click="appTable(scope.row.typeid,scope.row.courseId)" >申请表</el-button> -->
 
-              <el-button type="primary" size="mini" @click="del(scope.row)">删除</el-button
+              <el-button type="primary" class="btnClass" size="mini" @click="del(scope.row)"
+                >删除</el-button
               >
             </div>
           </template>
@@ -729,26 +747,26 @@ export default {
     dialogDel() {
       //确定删除这个项目
       // if (this.iid.userid == this.$store.state.userInfo.userid) {
-        let param = {
-          uid: this.$store.state.userInfo.userid,
-          pid: this.iid.courseId,
-        };
-        this.ajax.post(this.$store.state.api + "/DeleteProject", param).then(
-          (res) => {
-            console.log(res);
-            if (res.data) {
-              this.$message.success("删除成功");
-              this.getData();
-              this.dialogVisible2 = false;
-              return;
-            } else {
-              this.$message.error("删除失败");
-            }
-          },
-          (err) => {
-            console.log(err);
+      let param = {
+        uid: this.$store.state.userInfo.userid,
+        pid: this.iid.courseId,
+      };
+      this.ajax.post(this.$store.state.api + "/DeleteProject", param).then(
+        (res) => {
+          console.log(res);
+          if (res.data) {
+            this.$message.success("删除成功");
+            this.getData();
+            this.dialogVisible2 = false;
+            return;
+          } else {
+            this.$message.error("删除失败");
           }
-        );
+        },
+        (err) => {
+          console.log(err);
+        }
+      );
       // }
     },
     handleCurrentChange(val) {
@@ -783,7 +801,6 @@ export default {
     this.getData(); //获取表格数据
     // this.getUser();
     // console.log(this.$store.state.userInfo.type);
-
   },
 };
 </script>
@@ -793,5 +810,11 @@ export default {
   // .el-table::before{
   //   height: 0;
   // }
+
+  .btnClass{
+    width: 70px !important;
+    max-width: 70px;
+    min-width: 70px;
+  }
 }
 </style>

Some files were not shown because too many files changed in this diff