新增跳转

pull/1/head
mhsnet 1 year ago
parent 5c88b27d42
commit 67d45f8e72

@ -93,7 +93,8 @@
<el-col :span="18"> <el-col :span="18">
<el-row> <el-row>
<el-col :span="24">{{ scope.row.name }}</el-col> <el-col :span="24">{{ scope.row.name }}</el-col>
<el-col :span="24"><dict-tag :type="DICT_TYPE.customer_type" :value="scope.row.reservedFields1" /></el-col> <el-col :span="24"><dict-tag :type="DICT_TYPE.customer_type"
:value="scope.row.reservedFields1" /></el-col>
</el-row> </el-row>
</el-col> </el-col>
</el-row> </el-row>
@ -311,8 +312,10 @@ const resetQuery = () => {
/** 添加/修改操作 */ /** 添加/修改操作 */
const formRef = ref() const formRef = ref()
const router = useRouter()
const openForm = (type: string, id?: number) => { const openForm = (type: string, id?: number) => {
formRef.value.open(type, id) router.push({ path: '/customer/customer-add' })
//formRef.value.open(type, id)
} }
/** 新建任务操作 */ /** 新建任务操作 */

Loading…
Cancel
Save