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-input v-model.trim="formData.name" maxlength="255" show-word-limit></el-input>
</el-form-item> </el-form-item>
<el-form-item label="资料" prop="materialsId"> <el-form-item label="资料" prop="materialsId">
<el-row :gutter="12"> <div style="display:flex; gap:12px; width:100%; align-items:flex-start;">
<el-col :span="17"> <el-select v-model="formData.materialsId" filterable style="flex:1;"
<el-select v-model="formData.materialsId" filterable style="width:100%"
:disabled="materialUploadDisabled"> :disabled="materialUploadDisabled">
<el-option v-for="item in materialOptions" :key="item.id" <el-option v-for="item in materialOptions" :key="item.id"
:label="item.name" :value="item.id"></el-option> :label="item.name" :value="item.id"></el-option>
</el-select> </el-select>
</el-col>
<el-col :span="7">
<el-upload action="/platform/sys/file/uploadDynamicReturnUrl" :show-file-list="false" <el-upload action="/platform/sys/file/uploadDynamicReturnUrl" :show-file-list="false"
style="width:180px; flex:0 0 180px;"
:disabled="materialUploadDisabled || materialUploadLoading" :disabled="materialUploadDisabled || materialUploadLoading"
:before-upload="beforeMaterialUpload" :before-upload="beforeMaterialUpload"
:on-success="uploadMaterialSuccess" :on-success="uploadMaterialSuccess"
:on-error="uploadMaterialError" :on-error="uploadMaterialError"
accept=".pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx"> accept=".pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx">
<el-button type="primary" icon="el-icon-upload" style="width:100%" <el-button type="primary" icon="el-icon-upload" style="width:180px"
:loading="materialUploadLoading" :loading="materialUploadLoading"
:disabled="materialUploadDisabled || materialUploadLoading">上传资料</el-button> :disabled="materialUploadDisabled || materialUploadLoading">上传资料</el-button>
</el-upload> </el-upload>
</el-col> </div>
</el-row>
</el-form-item> </el-form-item>
<el-row :gutter="16"> <el-row :gutter="16">
<el-col :span="12"> <el-col :span="12">