gaoluyang
35 分钟以前 7c863257d23fd7f01c84a8996677e682d9d50b07
src/views/qualityManagement/metricMaintenance/index.vue
@@ -19,9 +19,7 @@
            :data="list"
            @node-click="handleNodeClick"
            :expand-on-click-node="false"
            default-expand-all
            :default-expanded-keys="expandedKeys"
            :draggable="true"
            :filter-node-method="filterNode"
            :props="{ children: 'children', label: 'label' }"
            highlight-current
@@ -221,7 +219,7 @@
// 查询产品树
const getProductTreeList = () => {
  treeLoad.value = true;
  productTreeList().then((res) => {
  productTreeList({productName: '质量'}).then((res) => {
    list.value = res;
    list.value.forEach((a) => {
      expandedKeys.value.push(a.label);
@@ -317,14 +315,13 @@
    confirmButtonText: "确认",
    cancelButtonText: "取消",
    type: "warning",
  })
      .then(() => {
        proxy.download("/quality/qualityTestStandard/export", {}, "检测指标.xlsx");
      })
      .catch(() => {
        proxy.$modal.msg("已取消");
      });
  }).then(() => {
    proxy.download("/quality/qualityTestStandard/export", {}, "检测指标.xlsx");
  }).catch(() => {
    proxy.$modal.msg("已取消");
  });
};
// 删除指标
const handleDelete = () => {
  let ids = [];