web端-职代会管理-投票管理: 页面样式调整;

This commit is contained in:
2026-07-29 16:08:05 +08:00
parent bff78c6ced
commit 058f6b2563
@@ -77,27 +77,24 @@ layout("/layouts/platform.html"){
<el-input v-model.trim="formData.name" maxlength="255" show-word-limit></el-input>
</el-form-item>
<el-form-item label="资料" prop="materialsId">
<el-row :gutter="12">
<el-col :span="17">
<el-select v-model="formData.materialsId" filterable style="width:100%"
:disabled="materialUploadDisabled">
<el-option v-for="item in materialOptions" :key="item.id"
:label="item.name" :value="item.id"></el-option>
</el-select>
</el-col>
<el-col :span="7">
<el-upload action="/platform/sys/file/uploadDynamicReturnUrl" :show-file-list="false"
:disabled="materialUploadDisabled || materialUploadLoading"
:before-upload="beforeMaterialUpload"
:on-success="uploadMaterialSuccess"
:on-error="uploadMaterialError"
accept=".pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx">
<el-button type="primary" icon="el-icon-upload" style="width:100%"
:loading="materialUploadLoading"
:disabled="materialUploadDisabled || materialUploadLoading">上传资料</el-button>
</el-upload>
</el-col>
</el-row>
<div style="display:flex; gap:12px; width:100%; align-items:flex-start;">
<el-select v-model="formData.materialsId" filterable style="flex:1;"
:disabled="materialUploadDisabled">
<el-option v-for="item in materialOptions" :key="item.id"
:label="item.name" :value="item.id"></el-option>
</el-select>
<el-upload action="/platform/sys/file/uploadDynamicReturnUrl" :show-file-list="false"
style="width:180px; flex:0 0 180px;"
:disabled="materialUploadDisabled || materialUploadLoading"
:before-upload="beforeMaterialUpload"
:on-success="uploadMaterialSuccess"
:on-error="uploadMaterialError"
accept=".pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx">
<el-button type="primary" icon="el-icon-upload" style="width:180px"
:loading="materialUploadLoading"
:disabled="materialUploadDisabled || materialUploadLoading">上传资料</el-button>
</el-upload>
</div>
</el-form-item>
<el-row :gutter="16">
<el-col :span="12">