修改上传接口及tab切换样式

prod
吕天方 9 months ago
parent 03e1f06c5c
commit 46ae546fd1

@ -29,7 +29,7 @@
}
.mb8 {
margin-bottom: 8px;
margin-bottom: 0px;
}
.ml5 {

@ -1826,7 +1826,7 @@ export default {
let data = {};
data.name = response.originalFilename;
data.url = response.url;
this.uploadList.push(data)
this.uploadListOne.push(data)
// this.form.fileListOne = this.fileListOne
this.$set(this.form, 'fileListOne', this.fileListOne)
// console.log('this.fileListOne: ', this.fileListOne);

@ -31,7 +31,12 @@
</el-form-item>
</el-form>
<el-row class="mb8" id="I-rowOne">
<el-col :span="1.5">
<el-radio-group v-model="radio" @change="toggleOptions">
<el-radio-button label="">全部</el-radio-button>
<el-radio-button label="0">待审批</el-radio-button>
<el-radio-button label="1,2">已审批</el-radio-button>
</el-radio-group>
<!-- <el-col :span="1.5">
<el-button
type="info"
plain
@ -54,7 +59,7 @@
size="mini"
@click="toggleOptions('1,2')"
>已审批</el-button>
</el-col>
</el-col> -->
</el-row>
<el-table
@ -229,10 +234,12 @@ export default {
fileList: [],
uploadList: [],
tabHeader: undefined,
radio: '',
};
},
mounted() {
this.cancalDebounce();
// console.log(this.deptId,"deptId");
window.addEventListener('resize', this.cancalDebounce);
},
destroyed() {
@ -283,6 +290,7 @@ export default {
},
/** 切换审批项 */
toggleOptions(value) {
console.log(value);
this.queryParams.approvalStatusStr = value
this.handleQuery();
},
@ -383,21 +391,21 @@ list-style: none; /* 清除列表项前的标记 */
</style>
<style lang="scss" scoped>
.search_btn {
position: absolute;
top: 20px;
right: 18px;
.btn {
background-color: #f1d78c;
border: none;
color: #000;
}
}
.btn {
background-color: #f1d78c;
border: none;
color: #000;
}
// .search_btn {
// position: absolute;
// top: 20px;
// right: 18px;
// .btn {
// background-color: #f1d78c;
// border: none;
// color: #000;
// }
// }
// .btn {
// background-color: #f1d78c;
// border: none;
// color: #000;
// }
/* 悬浮 */
// ::v-deep .el-button:hover {
// /* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */

Loading…
Cancel
Save