+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -205,11 +215,19 @@
{ required: true, message: "通知内容不能为空", trigger: "blur" }
]
},
+ leaseList:[],//租赁费用列表
+ repairList:[],//维修费用列表
+ scrapList:[],//报废费用列表
+ loseList:[],//丢失费用列表
deptName: undefined,
+ applyVisible:false,
+ applyList:[]
};
},
created() {
- this.getList();
+ this.rowData = this.$route.query.rowData;
+ console.log(this.rowData)
+ this.getDataAll();
// this.getUnitList();
// this.getProjectList();
@@ -227,16 +245,28 @@
})
},
- /** 查询字典类型列表 */
- getList() {
+ /** 查询列表 */
+ getDataAll() {
this.loading = true;
- getAgreementList(this.queryParams).then(response => {
- this.agreementList = response.rows;
- this.total = response.total;
+ getSltInfo(this.rowData).then(response => {
+ // this.agreementList = response.rows;
+ this.leaseList = response.data.leaseList;//租赁费用列表
+
+ this.repairList = response.data.repairList;//维修费用列表
+
+ this.scrapList = response.data.scrapList;//报废费用列表
+
+ this.loseList = response.data.loseList;//丢失费用列表
+
this.loading = false;
}
);
},
+ //
+ handleAdd() {
+ this.applyVisible = true
+ },
+ //返回
handleBack(){
this.$tab.closeOpenPage({
path:'/cost/cost/costApplyList',
@@ -251,20 +281,6 @@
this.single = selection.length!=1
this.multiple = !selection.length
},
-
- /** 删除按钮操作 */
- handleDelete(row) {
- // const agreementId = row.agreementId;
- // let param = {
- // agreementId:row.agreementId+''
- // }
- // this.$modal.confirm('是否确认删除该数据项?').then(function() {
- // return removeAgreement(param);
- // }).then(() => {
- // this.getList();
- // this.$modal.msgSuccess("删除成功");
- // }).catch(() => {});
- },
/** 导出按钮操作 */
handleExport() {
// this.download('material/agreementInfo/export', {
diff --git a/sgzb-ui/src/views/cost/csotSettlement/costApplyList.vue b/sgzb-ui/src/views/cost/csotSettlement/costApplyList.vue
index 43dd99e4..4038ed59 100644
--- a/sgzb-ui/src/views/cost/csotSettlement/costApplyList.vue
+++ b/sgzb-ui/src/views/cost/csotSettlement/costApplyList.vue
@@ -126,7 +126,7 @@ export default {
pageNum: 1,
pageSize: 10,
keyWord: undefined,
-
+ sltStatus:'0'
},
// 表单参数
form: {},
@@ -217,7 +217,7 @@ export default {
this.$tab.closeOpenPage({
path:'/cost/cost/costApplyAdd',
query:{
- isEdit:true
+ rowData:[row]
}
})
},
diff --git a/sgzb-ui/src/views/login.vue b/sgzb-ui/src/views/login.vue
index 537a8f0e..60b7ab31 100644
--- a/sgzb-ui/src/views/login.vue
+++ b/sgzb-ui/src/views/login.vue
@@ -120,7 +120,7 @@