lijinlong
杜函宇 1 year ago
parent 5085d718e0
commit 3cdc45d82d

@ -30,7 +30,7 @@
<div class="export" @click="exportFile"> <div class="export" @click="exportFile">
<span>搜索</span> <span>搜索</span>
</div> </div>
<div class="export" @click="exportFile"> <div class="export" @click="chongzhiList">
<span>重置</span> <span>重置</span>
</div> </div>
<div class="export export1" @click="exportFile"> <div class="export export1" @click="exportFile">
@ -85,7 +85,7 @@
</el-table> </el-table>
</div> </div>
<div class="pagination"> <div class="pagination">
<my-pagination :total="28" @pagesChange="pagesChange"></my-pagination> <my-pagination :total="total" @pagesChange="pagesChange"></my-pagination>
</div> </div>
<!-- 新增 --> <!-- 新增 -->
<el-dialog <el-dialog
@ -235,6 +235,7 @@ import {
exportEnterprise, exportEnterprise,
getEnterprise, getEnterprise,
} from "@/api/yingji/keyEnterprise.js"; } from "@/api/yingji/keyEnterprise.js";
import resetPwdVue from '../system/user/profile/resetPwd.vue';
export default { export default {
components: { myPagination }, components: { myPagination },
name: "Article", name: "Article",
@ -270,6 +271,8 @@ export default {
type: [{ required: true, message: "请输入大类", trigger: "change" }], type: [{ required: true, message: "请输入大类", trigger: "change" }],
year: [{ required: true, message: "请选择年份", trigger: "change" }], year: [{ required: true, message: "请选择年份", trigger: "change" }],
}, },
//
total:0,
}; };
}, },
// watch: { // watch: {
@ -286,10 +289,22 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
reset(){ reset() {
this.form={ this.form = {
//
} entCode: "",
//
remark: "",
//
type: "",
//
year: "",
};
},
//
chongzhiList(){
this.reset()
this.getList()
}, },
getList() { getList() {
this.loading = true; this.loading = true;
@ -345,7 +360,9 @@ export default {
}); });
}, },
// //
deleteItem(e) {}, deleteItem(e) {
},
// //
Close() { Close() {
this.dialogVisible = false; this.dialogVisible = false;

Loading…
Cancel
Save