|
|
|
@ -124,22 +124,7 @@
|
|
|
|
|
<div class="btns">
|
|
|
|
|
<div class="select-btn" @click="filtrate">搜索</div>
|
|
|
|
|
<div class="select-btn reset" @click="reset">重置</div>
|
|
|
|
|
<div class="select-btn select-btn1">导入</div>
|
|
|
|
|
<!-- <el-upload
|
|
|
|
|
class="upload-demo"
|
|
|
|
|
action="1"
|
|
|
|
|
ref="uploadOver"
|
|
|
|
|
:http-request="exportFile"
|
|
|
|
|
:on-success="handleSuccess"
|
|
|
|
|
:multiple="false"
|
|
|
|
|
:show-file-list="false"
|
|
|
|
|
:limit="1"
|
|
|
|
|
:file-list="fileList"
|
|
|
|
|
>
|
|
|
|
|
<div class="export export1">
|
|
|
|
|
导入
|
|
|
|
|
</div>
|
|
|
|
|
</el-upload> -->
|
|
|
|
|
<!-- <div class="select-btn select-btn1">导入</div> -->
|
|
|
|
|
</div>
|
|
|
|
|
<!-- </div> -->
|
|
|
|
|
</div>
|
|
|
|
@ -157,6 +142,7 @@
|
|
|
|
|
<el-table-column
|
|
|
|
|
type="selection"
|
|
|
|
|
reserve-selection
|
|
|
|
|
:selectable="checkSelectable"
|
|
|
|
|
width="55"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
@ -338,6 +324,7 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// 搜索
|
|
|
|
|
filtrate(){
|
|
|
|
|
if(this.form.subdistrict) {
|
|
|
|
|
this.form.subdistrict = this.form.subdistrict[1]
|
|
|
|
@ -345,12 +332,18 @@ export default {
|
|
|
|
|
let obj = {...this.pages,...this.form}
|
|
|
|
|
this.getTable(obj);
|
|
|
|
|
},
|
|
|
|
|
// 重置
|
|
|
|
|
reset(){
|
|
|
|
|
Object.keys(this.form).forEach(key=>this.form[key]='');
|
|
|
|
|
this.pages.pageNum = 1;
|
|
|
|
|
this.pages.pageSize = 10;
|
|
|
|
|
this.getTable(this.pages);
|
|
|
|
|
},
|
|
|
|
|
// 当前行的checkBox是否可以勾选
|
|
|
|
|
checkSelectable(row){
|
|
|
|
|
console.log(row)
|
|
|
|
|
},
|
|
|
|
|
// 打开
|
|
|
|
|
async open(item) {
|
|
|
|
|
this.dialogVisible = true;
|
|
|
|
|
if(item == 'newlyIncreased') {
|
|
|
|
@ -362,6 +355,7 @@ export default {
|
|
|
|
|
this.getTable(this.pages);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 关闭
|
|
|
|
|
Close(item) {
|
|
|
|
|
this.dialogVisible = false;
|
|
|
|
|
this.isamend = false;
|
|
|
|
@ -492,32 +486,6 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
return "";
|
|
|
|
|
},
|
|
|
|
|
// handleSuccess() {},
|
|
|
|
|
// // 导入
|
|
|
|
|
// exportFile(e) {
|
|
|
|
|
// let downloadLoadingInstance = Loading.service({
|
|
|
|
|
// text: "正在导入数据,请稍候",
|
|
|
|
|
// spinner: "el-icon-loading",
|
|
|
|
|
// background: "rgba(0, 0, 0, 0.7)",
|
|
|
|
|
// });
|
|
|
|
|
// let a = new FormData();
|
|
|
|
|
// a.append("file", e.file);
|
|
|
|
|
// exportEnterprise(a)
|
|
|
|
|
// .then((res) => {
|
|
|
|
|
// downloadLoadingInstance.close();
|
|
|
|
|
// this.queryParms.year = "";
|
|
|
|
|
// this.searchBefore = {
|
|
|
|
|
// pageSize: 10,
|
|
|
|
|
// pageNum: 1,
|
|
|
|
|
// };
|
|
|
|
|
// this.getList();
|
|
|
|
|
// this.$refs.uploadOver.clearFiles();
|
|
|
|
|
// })
|
|
|
|
|
// .catch(() => {
|
|
|
|
|
// downloadLoadingInstance.close();
|
|
|
|
|
// this.$model.msgError("导入失败");
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
commentData(item){
|
|
|
|
|
if(item instanceof Array) {
|
|
|
|
|
item.map((item)=>{
|
|
|
|
@ -743,26 +711,10 @@ export default {
|
|
|
|
|
background: #FDAB5B;
|
|
|
|
|
margin-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
.select-btn1 {
|
|
|
|
|
background: #28b384;
|
|
|
|
|
margin-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
.export {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 80px;
|
|
|
|
|
height: 33px;
|
|
|
|
|
// padding: 6px 19px;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
background-color: #28b384;
|
|
|
|
|
margin:20px 0 0 20px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
// .select-btn1 {
|
|
|
|
|
// background: #28b384;
|
|
|
|
|
// margin-left: 20px;
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
.tables {
|
|
|
|
|
background-color: #eaf2fd;
|
|
|
|
|