Compare commits
2 Commits
b4411d0941
...
88128a7fae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88128a7fae | ||
|
|
86e6f7605a |
@@ -6,7 +6,11 @@
|
|||||||
v-model:data="demandInfo"
|
v-model:data="demandInfo"
|
||||||
:show-disabled="true"
|
:show-disabled="true"
|
||||||
ref="tableFormRef"
|
ref="tableFormRef"
|
||||||
:tableName="demandFormName"
|
:tableName="
|
||||||
|
demandInfo.demandType === '工业设计'
|
||||||
|
? 'SIMULATION_TASK_DEMAND_INDUSTRIAL_CREATE'
|
||||||
|
: 'SIMULATION_TASK_DEMAND_CREATE'
|
||||||
|
"
|
||||||
:colNum="3"
|
:colNum="3"
|
||||||
:hideKeys="hideKeys"
|
:hideKeys="hideKeys"
|
||||||
>
|
>
|
||||||
@@ -59,12 +63,6 @@ const tableFormRef = ref();
|
|||||||
|
|
||||||
const hideKeys = ref(['attachments']);
|
const hideKeys = ref(['attachments']);
|
||||||
|
|
||||||
const demandFormName = computed(() => {
|
|
||||||
return demandInfo.value.demandType === '工业设计'
|
|
||||||
? 'SIMULATION_TASK_DEMAND_INDUSTRIAL_CREATE'
|
|
||||||
: 'SIMULATION_TASK_DEMAND_CREATE';
|
|
||||||
});
|
|
||||||
|
|
||||||
const getDemandInfoFun = async () => {
|
const getDemandInfoFun = async () => {
|
||||||
const res: any = await getDemandDetailApi({ demandId: props.demandUid });
|
const res: any = await getDemandDetailApi({ demandId: props.demandUid });
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user