value
2023-09-13 28d38f132ff7c6a1239df6c56f2da0a021bd4e96
销售订单bug修复
已修改4个文件
68 ■■■■ 文件已修改
src/components/view/laboratoryManagement.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/technical.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/technology.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/laboratoryManagement.vue
@@ -1,8 +1,8 @@
<template>
  <div>
  <div class="laboratoryMangement">
    <el-row>
      <el-col :span="12" class="top_left_name">设备维护</el-col>
      <el-col :span="12" style="text-align: right;">
      <el-col :span="12" style="text-align: right;" class="title">
        <el-button
          @click="testItem()"
          type="primary"
@@ -995,3 +995,25 @@
  line-height: 14px;
}
</style>
<style>
    .laboratoryMangement .title *{
        font-size: 14px;
    }
    .laboratoryMangement .table_top_div *{
        font-size: 14px;
    }
    .laboratoryMangement .title .el-button {
      height: 32px;
      border: 1px solid rgba(190, 190, 190, 0.44);
      box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41);
      padding: 0 12px;
    }
    .laboratoryMangement .table_top_div .el-button {
      height: 32px;
      border: 1px solid rgba(190, 190, 190, 0.44);
      box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41);
      padding: 0 12px;
    }
</style>
src/components/view/technical.vue
@@ -4,7 +4,7 @@
      <el-row>
        <el-col :span="12">技术文件</el-col>
        <el-col :span="12" style="text-align: right;">
          <el-button  icon="el-icon-plus">生成项目书</el-button>
          <el-button icon="el-icon-plus">生成项目书</el-button>
        </el-col>
      </el-row>
    </div>
@@ -25,14 +25,14 @@
          <el-input v-model="searchData.name" @input="query"></el-input>
        </el-form-item>
        <el-form-item label="编制状态:" >
          <el-select v-model="searchData.type" placeholder="全部" style="width: 310px;">
          <el-select v-model="searchData.type" size="small" placeholder="全部" style="width: 250px;">
              <el-option label="待编制" :value="0"></el-option>
                            <el-option label="已编制" :value="1"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item >
                <el-button  plain @click="resetBtn">重 置</el-button>
                <el-button  @click="searchTechnical">查 询</el-button>
        <el-form-item>
              <el-button plain @click="resetBtn" style="margin-left: 12px;">重 置</el-button>
              <el-button @click="searchTechnical">查 询</el-button>
        </el-form-item>
      </el-form>
    </div>
@@ -335,6 +335,7 @@
  background: #fff;
  padding: 24px 32px;
}
.search-header .el-form-item__label{
  padding: 0 30px 0 0;
}
@@ -416,3 +417,12 @@
}
</style>
<style>
    .technical .title *{
        font-size: 14px;
    }
    .technical .search-header *{
        font-size: 14px;
    }
</style>
src/components/view/technology.vue
@@ -602,7 +602,7 @@
          }
        )
        .then((res) => {
          console.log(res);
                    this.$parent.removeAllTab()
          this.selectAllTechNam();
          this.form = {};
        });
@@ -640,17 +640,17 @@
            },
    //批量删除
    delAllTech() {
      console.log(this.delete);
      this.$axios.post(this.$api.url.delAllTech, {
        ids: this.delete,
        ids: this.delete
      });
            this.$parent.removeAllTab()
    },
    //删除
    delTechById() {
      console.log(this.$api.url.delTechById, this.upData.id);
      this.$axios.post(this.$api.url.delTechById, {
        id: this.upData.id,
        id: this.upData.id
      });
            this.$parent.removeAllTab()
    },
    //编辑
    writeTechById() {
@@ -677,7 +677,7 @@
          }
        )
        .then((res) => {
          console.log(res);
                    this.$parent.removeAllTab()
        });
    },
@@ -789,7 +789,6 @@
        return el.id;
      });
      this.delete = cc.join(",");
      console.log(this.delete);
      this.delAllTech();
      this.$message.success("删除完成");
    },
src/view/index.vue
@@ -91,7 +91,7 @@
    }
    .left .box i {
        font-size: 32px;
        font-size: 24px;
        margin-bottom: 8px;
    }
@@ -209,7 +209,6 @@
        height: 100%;
    }
</style>
<style></style>
<template>
    <div class="all">
        <div class="title">
@@ -260,7 +259,7 @@
            </div>
            <div class="component_view">
                <component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="upIndex + '|' + index"
                    v-show="com.k == tabActive">
                    v-show="com.k == tabActive" @removeAllTab="removeAllTab">
                </component>
            </div>
        </div>
@@ -560,6 +559,7 @@
                    u: "index-index"
                }]
            },
            upTabActive(num) {
                this.tabActive = num;
                this.activeP = num;
@@ -576,6 +576,9 @@
                sessionStorage.clear();
                localStorage.removeItem("autoenter");
                this.$router.push("/enter");
            },
            removeAllTab(){
                this.upIndex++
            }
        }
    };