CD配唱片
2025-05-07 1b56e5ca59f20aebc5add65a6a76d9a5f2b1b03b
src/views/basicData/processRouteDataPreparate/index.vue
@@ -95,11 +95,16 @@
          link
          @click="handleCheckView(row)"
          v-hasPermi="['aps:calendar:update']"
          >查看</el-button
          >{{ $t("common.common.view") }}</el-button
        >
      </template>
    </HxlhTable>
    <el-dialog :title="title" v-model="openDialog" width="900px" append-to-body>
    <el-dialog
      :title="$t('common.common.viewDetails')"
      v-model="openDialog"
      width="900px"
      append-to-body
    >
      <HxlhTable
        style="width: 100%"
        :columns="subGridOptions"
@@ -108,6 +113,13 @@
        :height="heightSub"
      >
      </HxlhTable>
      <template #footer>
        <span class="dialog-footer">
          <el-button @click="openDialog = false">{{
            $t("common.common.cancel")
          }}</el-button>
        </span>
      </template>
    </el-dialog>
  </div>
</template>
@@ -142,7 +154,7 @@
const single = ref(true);
const total = ref(0);
const height = ref(document.documentElement.clientHeight - 270 + "px;");
const height = ref(document.documentElement.clientHeight - 210 + "px;");
const heightSub = ref(document.documentElement.clientHeight - 320 + "px;");
// 表格配置
const columns = ref([]);
@@ -155,8 +167,7 @@
    itemCode: null,
  },
  rules: {
    itemCode: [
    ],
    itemCode: [],
  },
});
@@ -164,7 +175,7 @@
watch(
  locale,
  (newLocale) => {
     rules.value = {
    rules.value = {
      itemCode: [
        {
          required: true,
@@ -329,12 +340,14 @@
function getList() {
  loading.value = true;
  queryParams.value.params = {};
  apsStandardProcessRouteHeaderList(queryParams.value).then((response) => {
    processRouteList.value = response.rows;
    loading.value = false;
  }).catch(()=>{
    loading.value = false;
  });
  apsStandardProcessRouteHeaderList(queryParams.value)
    .then((response) => {
      processRouteList.value = response.rows;
      loading.value = false;
    })
    .catch(() => {
      loading.value = false;
    });
}
/** 搜索按钮操作 */