diff --git a/src/api/system/log.js b/src/api/system/log.js new file mode 100644 index 0000000..c3033aa --- /dev/null +++ b/src/api/system/log.js @@ -0,0 +1,9 @@ +import request from "@/utils/request"; + +export function index(data){ + return request({ + method:'post', + url:'/api/admin/operate-log/index', + data + }) +} diff --git a/src/views/contract/seeContract.vue b/src/views/contract/seeContract.vue index 25fb2c7..e484b2f 100644 --- a/src/views/contract/seeContract.vue +++ b/src/views/contract/seeContract.vue @@ -777,43 +777,10 @@ export default { } }) }, - //提交新建 - submit(){ - addContrant({ - type:this.form.type, - is_plan:this.form.isBudget ? 1 : 0, - purchase_type_id:this.form.methods, - purchase_way_id:this.form.modality, - money_way_id:`${this.form.fundingChannels.toString()}`, - plan_price:this.form.price, - name:this.form.name, - contract_plan_links:this.form.plan.map(item=>{ - return item.value - }) - }).then(res=>{ - this.isShowAdd = false - Message({ - type:'success', - message:'操作成功' - }) - this.$refs['addContract'].reset() - this.$refs['planTable'].clearSelection() - this.getContracts() - }) - }, - //删除合同 - deleteContract(id){ - delContract({id}).then(res=>{ - Message({ - type:'success', - message:'操作成功' - }) - this.getContracts() - }) - }, }, mounted() { + this.window.width = screen.availWidth * 0.95 this.window.height = screen.availHeight * 0.95 this.window.top = (window.screen.height - 30 - this.window.height)/2 diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 3862281..1c70436 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -16,22 +16,30 @@ - + + + +
+ + diff --git a/src/views/system/log.vue b/src/views/system/log.vue new file mode 100644 index 0000000..c89073f --- /dev/null +++ b/src/views/system/log.vue @@ -0,0 +1,75 @@ + + + + +