| | |
| | | @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" |
| | |
| | | @click="handleDelete" |
| | | v-hasPermi="['tms:tmsCustomerInfo:remove']" |
| | | >删除 |
| | | </el-button> |
| | | </el-button> --> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | |
| | | 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> |
| | |
| | | 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(); |
| | | |
| | |
| | | pageKey: 'TmsCustomerInfo', |
| | | rowKey: 'id', |
| | | labelWidth: 150, |
| | | addBtn: false, |
| | | viewBtn: false, |
| | | searchLabelWidth: 150, |
| | | group:[ |
| | | { |
| | |
| | | label: '更新时间', minWidth: 180, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | // search: true, |
| | | }, |
| | | } |
| | | }) |
| | |
| | | } |
| | | }) |
| | | |
| | | |
| | | const handleAdd = () => { |
| | | router.push('/customer/tmsCustomerInfo-info?formDisabled='+false) |
| | | } |
| | | const handleFy = (row) => { |
| | | router.push('/customer/tmsCustomerInfo-info?id=' + row.id+'&formDisabled='+true) |
| | | } |
| | | </script> |