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-upload action="/platform/sys/file/uploadDynamicReturnUrl" :show-file-list="false"
</el-col> style="width:180px; flex:0 0 180px;"
<el-col :span="7"> :disabled="materialUploadDisabled || materialUploadLoading"
<el-upload action="/platform/sys/file/uploadDynamicReturnUrl" :show-file-list="false" :before-upload="beforeMaterialUpload"
:disabled="materialUploadDisabled || materialUploadLoading" :on-success="uploadMaterialSuccess"
:before-upload="beforeMaterialUpload" :on-error="uploadMaterialError"
:on-success="uploadMaterialSuccess" accept=".pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx">
:on-error="uploadMaterialError" <el-button type="primary" icon="el-icon-upload" style="width:180px"
accept=".pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx"> :loading="materialUploadLoading"
<el-button type="primary" icon="el-icon-upload" style="width:100%" :disabled="materialUploadDisabled || materialUploadLoading">上传资料</el-button>
:loading="materialUploadLoading" </el-upload>
:disabled="materialUploadDisabled || materialUploadLoading">上传资料</el-button> </div>
</el-upload>
</el-col>
</el-row>
</el-form-item> </el-form-item>
<el-row :gutter="16"> <el-row :gutter="16">
<el-col :span="12"> <el-col :span="12">