feature (办公作价): 成功导入办公作价

1. 修复Boolean名称赋值问题
2. 修复BigDecimal类型赋值问题
3. 优化导入逻辑
4. 优化弹窗关闭友好提示
This commit is contained in:
purple
2020-07-08 15:58:59 +08:00
parent 00d6aedf39
commit 991f21a96d
15 changed files with 898 additions and 60 deletions

View File

@ -1,6 +1,7 @@
server {
listen 80;
server_name localhost;
client_max_body_size 20m;
location / {
root /home/ruoyi/projects/ruoyi-ui;

View File

@ -127,7 +127,7 @@
v-hasPermi="['system:user:edit']"
>修改</el-button>
</template>
</el-table-column> -->
</el-table-column>-->
</el-table>
<pagination
@ -291,9 +291,15 @@
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog> -->
</el-dialog>-->
<el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
<el-dialog
:title="upload.title"
:visible.sync="upload.open"
width="400px"
append-to-body
:before-close="handleClose"
>
<el-upload
ref="upload"
:limit="1"
@ -600,6 +606,14 @@ export default {
// 提交上传文件
submitFileForm() {
this.$refs.upload.submit();
},
handleClose: function(done) {
this
.$confirm("确认关闭?")
.then(_ => {
done();
})
.catch(_ => {});
}
}
};