Commit 78313f6f authored by 高滢's avatar 高滢

feat(详情): 加一个类型

parent 61eb75a4
......@@ -185,7 +185,8 @@ function getFillDetails(){
openFillDetailModel(true,{
data:mothCycle.value,
url:'/pro/monthEngineer/businessComDetails',
module:'Engineering'
module:'Engineering',
planType:planType.value
})
}
async function getSetCycle() {
......
......@@ -21,7 +21,7 @@
import { useModalInner } from '@/components/Modal';
import BasicModal from '@/components/Modal/src/BasicModal.vue';
import { ref } from 'vue';
import {Table, Tag} from 'ant-design-vue';
import { Table, Tag } from 'ant-design-vue';
import { getFillComDetails } from '@/api/project/monthlyPlan';
const loadingRef = ref(false);
......@@ -46,11 +46,14 @@
},
];
const getTitle = ref('');
const params = ref({ mothCycle: '',module:'Month' });
const params = ref({ mothCycle: '', module: 'Month', planType: '' });
const [register, { closeModal }] = useModalInner(async (data) => {
params.value.mothCycle = data.data.fillCycle;
params.value.module = data.module;
if (data.planType) {
params.value.planType = data.planType;
}
dataSource.value = await getFillComDetails(params.value, data.url);
});
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment