sen
2025-12-17 3937e75a534deaa2a27b7fce8553b0b1d55827b5
ui/admin-ui3/src/views/tms/tmsCustomerInfo/index.vue
@@ -21,7 +21,9 @@
        @on-load="onLoad"
    >
      <template #menu-left>
        <el-button
         <el-button type="primary" icon="Plus" v-hasPermi="['tms:tmsCustomerInfo:add']" @click="handleAdd">新增
        </el-button>
        <!-- <el-button
            type="success"
            icon="Edit"
            :disabled="pageF.single"
@@ -35,7 +37,7 @@
            @click="handleDelete"
            v-hasPermi="['tms:tmsCustomerInfo:remove']"
        >删除
        </el-button>
        </el-button> -->
        <el-button
            type="warning"
            plain
@@ -44,6 +46,12 @@
            v-hasPermi="['tms:tmsCustomerInfo:export']"
        >导出
        </el-button>
      </template>
         <template #menu="{ size, row, index }">
        <el-link class="link-btn" type="primary" :underline="false" plain :size="size" icon="View"
          @click="handleFy(row)" v-hasPermi="['tms:tmsCustomerInfo:edit']"> 查看
        </el-link>
      </template>
    </avue-crud>
  </basicContainer>
@@ -66,7 +74,7 @@
import {hasPermission} from "@/utils/permissionUtils";
import {getTmsProject, listTmsProject} from "@/api/tms/tmsProject";
import {getTmsSettlementEntity, listTmsSettlementEntity} from "@/api/tms/tmsSettlementEntity";
import router from "@/router";
const {proxy} = useCurrentInstance();
const crudRef = ref();
@@ -94,6 +102,8 @@
  pageKey: 'TmsCustomerInfo',
  rowKey: 'id',
  labelWidth: 150,
  addBtn: false,
   viewBtn: false,
  searchLabelWidth: 150,
  group:[
    {
@@ -652,5 +662,10 @@
  }
})
const handleAdd = () => {
  router.push('/customer/tmsCustomerInfo-info?formDisabled='+false)
}
const handleFy = (row) => {
  router.push('/customer/tmsCustomerInfo-info?id=' + row.id+'&formDisabled='+true)
}
</script>