mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 06:13:35 +09:00
fix : 파일업로드 style 수정 및 input box 크기 조정
This commit is contained in:
@@ -75,7 +75,6 @@ const params = reactive({
|
||||
const pbAtts = ref<iPbAtt[]>(params.prcsAtts)
|
||||
|
||||
function getDetailList(arg){
|
||||
console.log("arg",arg)
|
||||
params.prcsNo = arg.prcsNo
|
||||
params.stCd = arg.stCd
|
||||
params.cateSelect = arg.cateCd
|
||||
@@ -146,8 +145,6 @@ const updatePriceOne = async () => {
|
||||
data: req.data})),//첨부파일 데이터,
|
||||
apprReqs: apprLine.value.map(({ deptNm, ...rest }) => rest), //결재선 데이터
|
||||
}
|
||||
console.log("pbAtts.value",pbAtts.value)
|
||||
console.log("paramsPrice",paramsPrice)
|
||||
res = await updatePrice(paramsPrice)
|
||||
notyf.dismissAll()
|
||||
if(res.request.status == '200'){
|
||||
@@ -482,34 +479,38 @@ const onPrcsFileDownload = async (prcsNo: string, fileOrd: number, logiFnm: stri
|
||||
<td>첨부파일</td>
|
||||
<td colspan="4">
|
||||
<VField>
|
||||
<input
|
||||
class="file-input hide"
|
||||
type="file"
|
||||
multiple
|
||||
@change="(e) => onFileChange(e)"
|
||||
>
|
||||
<VLabel>
|
||||
<VButton icon="fas fa-plus" color="info" class="file-trigger" @click="onFileClick" >
|
||||
<span>파일업로드</span>
|
||||
</VButton>
|
||||
</VLabel>
|
||||
<VControl>
|
||||
<div
|
||||
v-for="(f, i) in pbAtts"
|
||||
:key="f.logiFnm"
|
||||
class="content estimate-file-wrapper"
|
||||
<div class="column is-6 form-label">
|
||||
<div class="file has-name is-fullwidth">
|
||||
<input
|
||||
class="file-input hide"
|
||||
type="file"
|
||||
multiple
|
||||
@change="(e) => onFileChange(e)"
|
||||
>
|
||||
<div class="estimate-file-name">
|
||||
{{ f.logiFnm }}
|
||||
</div>
|
||||
<div class="estimate-file-size">
|
||||
{{ Math.ceil(f.size / 1024) }}kb
|
||||
</div>
|
||||
<div>
|
||||
<i class="fa fa-trash estimate-file-delete" @click="onFilDelete(f.bizNo, i, f.fileOrd)" />
|
||||
</div>
|
||||
<VLabel>
|
||||
<VButton icon="fas fa-plus" color="info" class="file-trigger" @click="onFileClick" >
|
||||
<span>파일업로드</span>
|
||||
</VButton>
|
||||
</VLabel>
|
||||
</div>
|
||||
</VControl>
|
||||
</div>
|
||||
<VControl>
|
||||
<div
|
||||
v-for="(f, i) in pbAtts"
|
||||
:key="f.logiFnm"
|
||||
class="content estimate-file-wrapper"
|
||||
>
|
||||
<div class="estimate-file-name">
|
||||
{{ f.logiFnm }}
|
||||
</div>
|
||||
<div class="estimate-file-size">
|
||||
{{ Math.ceil(f.size / 1024) }}kb
|
||||
</div>
|
||||
<div>
|
||||
<i class="fa fa-trash estimate-file-delete" @click="onFilDelete(f.bizNo, i, f.fileOrd)" />
|
||||
</div>
|
||||
</div>
|
||||
</VControl>
|
||||
</VField>
|
||||
<div class="column is-12">
|
||||
<VField>
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
}
|
||||
|
||||
.file-trigger {
|
||||
margin-left: 10px;
|
||||
height:15px;
|
||||
padding:10px 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user