Commit 12c8bc91 authored by 周远喜's avatar 周远喜

ok

parent 2297d1bc
......@@ -1818,9 +1818,8 @@ export default {
type: '类型',
attachment: '附件',
executor: '执行人',
}
,
project_main: {
},
project_main: {
creationTime: '创建时间',
creatorUserId: '创建人',
lastModificationTime: '更新时间',
......@@ -1838,7 +1837,5 @@ project_main: {
startDate: '开始日期',
endDate: '结束日期',
businessUnits: '业务单位',
}
}
}
......@@ -155,23 +155,24 @@ export default {
},
mounted() {
console.log(this);
this.search();
},
async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典
},
methods: {
ok() {
// this.$refs.grid.load();
this.search();
this.modal = false;
this.curId = 0;
},
search() {
this.$refs.grid.reload(this.easySearch);
// this.$refs.grid.reload(this.easySearch);
var params={
conditions:[]
}
Api.list(params).then(r=>{
this.list=r.result;
})
},
add() {
......@@ -201,7 +202,7 @@ export default {
remove(id) {
Api.delete(id).then((r) => {
if (r.success) {
this.$refs.grid.load();
this.search();
this.$Message.success("删除成功");
}
});
......
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