新增跳转

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

@ -72,7 +72,7 @@
v-hasPermi="['xxjj:subject-basic:export']">
<Icon icon="ep:upload" class="mr-5px" /> 导入
</el-button>
</el-form-item>
</el-col>
</el-row>
@ -93,7 +93,8 @@
<el-col :span="18">
<el-row>
<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-col>
</el-row>
@ -121,7 +122,7 @@
</el-table-column>
<el-table-column label="客户星级" prop="customerStarrating" width="150px">
<template #default="scope">
<el-rate v-model="scope.row.customerStarrating" :disabled="true"/>
<el-rate v-model="scope.row.customerStarrating" :disabled="true" />
</template>
</el-table-column>
<el-table-column label="业务进度" prop="industrySchedule" width="120px">
@ -197,7 +198,7 @@ const { t } = useI18n() // 国际化
const loading = ref(true) //
const total = ref(0) //
const list = ref([]) //
let queryParams : any = reactive({
let queryParams: any = reactive({
pageNo: 1,
pageSize: 10,
businessType: null,
@ -311,8 +312,10 @@ const resetQuery = () => {
/** 添加/修改操作 */
const formRef = ref()
const router = useRouter()
const openForm = (type: string, id?: number) => {
formRef.value.open(type, id)
router.push({ path: '/customer/customer-add' })
//formRef.value.open(type, id)
}
/** 新建任务操作 */
@ -322,12 +325,12 @@ const openForm2 = (type: string, id?: number) => {
}
const subjectTransferFormRef = ref()
const openForm3 = (type: string, id?: number) => {
if(multipleSelection.value == undefined || multipleSelection.value.length <= 0){
if (multipleSelection.value == undefined || multipleSelection.value.length <= 0) {
message.error(t('请选择需要转移的客户'))
return
}
let customerIds : any = ref([])
let belongingPeoples : any = ref([])
let customerIds: any = ref([])
let belongingPeoples: any = ref([])
multipleSelection.value.forEach(element => {
customerIds.value.push(element.id);
belongingPeoples.value.push(element.belongingPeople);

Loading…
Cancel
Save