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

ok

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