fix: UPLOAD page UI done.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<div>
|
||||
<div v-if="!isDisabled"></div>
|
||||
<div v-else class="flex justify-start items-center space-x-2 duration-700">
|
||||
<p class="text-primary text-sm">
|
||||
<p v-if="informData.length !== 0" class="text-primary text-sm">
|
||||
Need to select
|
||||
<span v-for="(item, index) in informData" :key="index">{{ item.label }}<span v-if="index !== informData.length - 1">, </span></span>.
|
||||
</p>
|
||||
@@ -45,7 +45,7 @@
|
||||
:options="columnType"
|
||||
optionLabel="name"
|
||||
placeholder=""
|
||||
class="w-full !border-neutral-500"
|
||||
class="w-[180px] !border-neutral-500 "
|
||||
:data-type="item"
|
||||
:inputId="index.toString()"
|
||||
:inputClass="[selectedColumns[index]?.color, 'text-sm']"
|
||||
@@ -261,6 +261,7 @@ export default {
|
||||
this.uploadFileName = this.fileName;
|
||||
// 設定第二階段上傳的 data
|
||||
haveValueData.forEach(column => {
|
||||
if(column !== undefined) {
|
||||
switch (column.code) {
|
||||
case 'timestamp':
|
||||
fetchData.timestamp = column.value;
|
||||
@@ -283,6 +284,7 @@ export default {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
this.uploadConfirm(fetchData);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user