ltao 3 年之前
父節點
當前提交
9f20cce545

+ 10 - 6
src/views/bdglregular/regularcountinfo/index.vue

@@ -406,6 +406,7 @@ export default {
     },
     //饼状图点击事件
     eConsole(param) {
+      console.log(param);
       if (param.data.id) {
         this.$router
           .push({
@@ -417,12 +418,15 @@ export default {
     },
     // 整体情况跳转
     eConsole1(param) {
-      this.$router
-        .push({
-          path: "/bdglregular/regularinfo",
-          query: {obj:param.data},
-        })
-        .catch(() => {});
+      console.log(param);
+      if (param.data.name != "无") {
+        this.$router
+          .push({
+            path: "/bdglregular/regularinfo",
+            query: { obj: param.data },
+          })
+          .catch(() => {});
+      }
     },
   },
 };

+ 4 - 2
src/views/bdglregular/specialcountinfo/index.vue

@@ -398,6 +398,7 @@ export default {
     },
     //饼状图点击事件
     eConsole(param) {
+      console.log(param);
       if (param.data.id) {
         this.$router
           .push({
@@ -409,11 +410,12 @@ export default {
     },
     //全部饼状图点击事件
     eConsole1(param) {
-      if (param.data) {
+      console.log(param);
+      if (param.data.name != "无") {
         this.$router
           .push({
             path: "/bdglregular/specialinfo",
-            query: {obj: param.data},
+            query: { obj: param.data },
           })
           .catch(() => {});
       }

+ 11 - 7
src/views/medicalhealth/examine/index.vue

@@ -320,11 +320,11 @@
         >
           <div class="jiben">
             体检信息
-            <span style="margin-left: 100px">
-              时间 : {{ item.createTime }}
+            <span style="margin-left: 226px;">
+              时间 : <span>{{ item.createTime }}</span>
             </span>
             <el-button
-              style="margin-left: 450px"
+              style="margin-left: 326px"
               size="btd"
               type="text"
               @click="shanchus(item, index)"
@@ -632,8 +632,8 @@ export default {
     },
     /** 提交按钮 */
     submitForm() {
-      this.$refs["form"].validate((valid) => {
-        if (valid) {
+      // this.$refs["form"].validate((valid) => {
+        // if (valid) {
           if (this.form.id != null) {
             updateExamine(this.form).then((response) => {
               this.$modal.msgSuccess("修改成功");
@@ -648,8 +648,8 @@ export default {
               this.getList();
             });
           }
-        }
-      });
+        // }
+      // });
     },
     /** 删除按钮操作 */
     handleDelete(row) {
@@ -690,6 +690,10 @@ export default {
 };
 </script>
 <style scoped>
+/* 单位树形下拉框 */
+::v-deep .vue-treeselect{
+  width: 280px !important;
+}
 ::v-deep .upload-file-list{
   width: 540px !important;
 }