Commit 025485fb authored by Hagsn3's avatar Hagsn3

修改代码

parent 8ea3868d
......@@ -295,40 +295,40 @@
<!-- 导入配置对话框 -->
<el-dialog class="importDialog" :title="importControls.title" :visible="importControls.open" width="700px" append-to-body :close-on-click-modal="false" @close="cancelFileFrom">
<el-form :model="typeFrom">
<el-form-item >
<el-input
<el-form-item>
<!-- <el-input-->
<!-- v-model="typeFrom.type"-->
<!-- placeholder="typeFrom"-->
<!-- :maxlength="2"-->
<!-- size="small"-->
<!-- disabled-->
<!-- style="width: 150px"-->
<!-- >-->
<!-- </el-input>-->
<el-select
v-model="typeFrom.type"
placeholder="typeFrom"
:maxlength="2"
size="small"
disabled
style="width: 150px"
>
</el-input>
<!-- <el-select-->
<!-- v-model="typeFrom.type"-->
<!-- placeholder="typeFrom"-->
<!-- :maxlength="2"-->
<!-- size="small"-->
<!-- disabled-->
<!-- style="width: 150px"-->
<!-- >-->
<!-- <el-option-->
<!-- v-for="(dict,index) in typeList"-->
<!-- :key="index"-->
<!-- :label="dict.label"-->
<!-- :value="dict.value"-->
<!-- />-->
<!-- </el-select>-->
>
<el-option
v-for="(dict,index) in typeList"
:key="index"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
</el-form>
<div class="importOne">
<div class="importOne">
<div>
<!-- 下载模型按钮 -->
<div class="downloadTemplateDiv">
<el-button class="downloadTemplateDivButton" type="primary" :loading="downloadTemplateLoading" size="small" @click="downloadTemplate">下载模板</el-button>
</div>
<div class="uploadCont">
<div v-if="typeFrom.type === '1'" class="uploadCont">
<el-upload
accept=".xlsx, .xls"
:headers="importControls.headers"
......@@ -469,13 +469,17 @@ export default {
return {
// 类型表单
typeFrom: {
type: 'jb'
type: '1'
},
// 类型下拉框
typeList: [
{
label: 'jb',
value: '1'
},
{
label: 'jl',
value: '20'
}
],
// 导入列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment