gaoshp
2024-05-26 82a5da6bbeeadf1c5f448158dae7d1838efc9d2e
src/views/configuration/custom/setField.vue
@@ -8,7 +8,7 @@
-->
<template>
   <div class="aposcope-main">
       <div class="title">计划字段</div>
       <div class="title">{{$route.query.type == 1?"计划":"产品"}}字段</div>
      <el-button type="primary" @click="addField" style="margin: 4px 0px 10px;">添加自定义字段</el-button>
      <div class="field-table">
         <el-table ref="multipleTableRef" :data="tableData" border style="width: 100%" class="multipleTableRef">
@@ -65,7 +65,7 @@
         },
         getTableData() {
            this.$HTTP.get(`/api/blade-system/custom-template-field/list?businessType=1`).then(res=> {
            this.$HTTP.get(`/api/blade-system/custom-template-field/list?businessType=${this.$route.query.type}`).then(res=> {
               if(res.code == 200) {
                  this.tableData = res.data;
               }