c6effa03 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents fa371e96 84598d9f
......@@ -168,6 +168,10 @@
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.searchForm.ywh = this.queryForm.ywh;
......@@ -191,11 +195,21 @@
}
});
},
/**
* @description: handleSort
* @param {*} val
* @author: renchao
*/
handleSort (val) {
this.queryForm.sortField = val.prop;
this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
this.queryClick();
},
/**
* @description: ywhClick
* @param {*} item
* @author: renchao
*/
ywhClick (item) {
//有任务权限
if (item.sjlx == "3") {
......
......@@ -104,6 +104,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
selectCfdj({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -115,6 +119,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -165,6 +173,11 @@
});
}
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -176,6 +189,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -186,6 +205,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -90,6 +90,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -102,6 +106,10 @@
}
});
},
/**
* @description: submitFormClick
* @author: renchao
*/
submitFormClick () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -130,6 +138,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -141,6 +154,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -151,6 +170,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -177,6 +177,10 @@
sendThis(this)
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
if (!this.isJump) {
......@@ -217,11 +221,19 @@
})
}
},
/**
* @description: handleTabClick
* @author: renchao
*/
handleTabClick () {
this.bdcdysz = [],
this.pageData.currentPage = 1;
this.queryClick();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -270,6 +282,11 @@
})
}
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -294,6 +311,12 @@
}
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -305,6 +328,11 @@
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -7,9 +7,22 @@ import Router from '@/router'
export default {
methods: {
//点击行选中或取消复选框
/**
* @description: 点击行选中或取消复选框
* @param {*} row
* @param {*} column
* @param {*} event
* @author: renchao
*/
handleRowClick (row, column, event) {
this.$refs.table.toggleRowSelection(row)
},
/**
* @description: jump
* @param {*} data
* @param {*} type
* @author: renchao
*/
jump (data, type) {
const { href } = Router.resolve(
"/djbworkFrame?bsmSlsq=" +
......@@ -20,6 +33,10 @@ export default {
window.open(href, "_blank");
this.$popupCacel()
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.pageData.currentPage = 1
// this.fetchData();
......
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-05 09:45:31
*/
......@@ -7,9 +7,22 @@ import Router from '@/router'
export default {
methods: {
//点击行选中或取消复选框
/**
* @description: 点击行选中或取消复选框
* @param {*} row
* @param {*} column
* @param {*} event
* @author: renchao
*/
handleRowClick (row, column, event) {
this.$refs.table.toggleRowSelection(row)
},
/**
* @description: jump
* @param {*} data
* @param {*} type
* @author: renchao
*/
jump (data, type) {
const { href } = Router.resolve(
"/workFrame?bsmSlsq=" +
......@@ -20,6 +33,10 @@ export default {
window.open(href, "_blank");
this.$popupCacel()
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.pageData.currentPage = 1
// this.fetchData();
......
......@@ -79,6 +79,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -91,6 +95,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -119,6 +127,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -130,6 +143,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -140,6 +159,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -76,6 +76,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -88,6 +92,10 @@
}
})
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -116,6 +124,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -127,12 +140,23 @@
this.bdcdysz = val;
}
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook (row) {
var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx };
this.$popup('登记簿详情', 'registerBook/djbFrame', {
formData: param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -143,6 +167,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -104,6 +104,10 @@
},
methods: {
//默认加载表格信息
/**
* @description: 默认加载表格信息
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.bsmSqyw = this.bsmSqyw;
......@@ -116,6 +120,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
......@@ -144,6 +152,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -155,6 +168,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -165,6 +184,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -104,6 +104,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading()
selectRepairQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -125,6 +129,11 @@
// bsm: ''
// }, '85%')
// },
/**
* @description: ywhClick
* @param {*} item)
* @author: renchao
*/
ywhClick (item) {
const { href } = this.$router.resolve(
"/djbworkFrame?bdcdyid=" +
......@@ -141,6 +150,10 @@
window.open(href, `urlname${item.bdcdyid}`);
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -171,6 +184,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -182,6 +200,11 @@
this.bdcdysz = val;
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -81,6 +81,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -93,6 +97,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -121,6 +129,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -132,6 +145,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -142,6 +161,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -80,6 +80,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -92,6 +96,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -120,6 +128,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -131,6 +144,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -141,6 +160,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -89,6 +89,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -101,6 +105,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -129,6 +137,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -140,6 +153,11 @@
this.bdcdysz = val;
}
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook (row) {
var param = {
bdcdyid: row.bdcdyid,
......@@ -151,6 +169,12 @@
formData: param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -161,6 +185,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -191,6 +191,10 @@
},
methods: {
// 单选事件
/**
* @description: 单选事件
* @author: renchao
*/
close () {
this.tableData.data.forEach(item => {
if (this.radioVal == item.bhqkbsm) {
......@@ -211,6 +215,10 @@
}
})
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -221,13 +229,10 @@
}
});
},
handleRowClick (val) {
// this.radioVal = val.bhqkbsm
// let obj = val
// obj.bglx = '1';
// this.bdcdysz[0] = obj
// this.close()
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
startBusinessFlow({
bsmSqyw: this.sqywInfo.parentid,
......@@ -252,6 +257,11 @@
}
})
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook (row) {
var param = {
bdcdyid: row.bdcdyid,
......@@ -263,6 +273,12 @@
formData: param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -273,6 +289,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -85,6 +85,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -98,6 +102,10 @@
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
......@@ -126,6 +134,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsm = item.zdbsm;
......@@ -140,6 +153,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -151,6 +170,11 @@
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -89,6 +89,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -101,6 +105,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -129,6 +137,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -140,6 +153,11 @@
this.bdcdysz = val;
}
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook (row) {
var param = {
bdcdyid: row.bdcdyid,
......@@ -151,6 +169,12 @@
formData: param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -161,6 +185,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -81,6 +81,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -93,6 +97,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -121,6 +129,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -132,6 +145,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -142,6 +161,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -81,6 +81,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -93,6 +97,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -121,6 +129,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -132,6 +145,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -142,6 +161,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -82,6 +82,10 @@
sendThis(this);
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.zrzbsm = this.sqywInfo.zrzbsm;
......@@ -94,6 +98,10 @@
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
......@@ -122,6 +130,11 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
......@@ -133,6 +146,12 @@
this.bdcdysz = val;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
......@@ -143,6 +162,11 @@
this.$refs.table.toggleRowSelection(row, true);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
if (this.sqywInfo.sqywdylx == "1") {
......
......@@ -123,6 +123,10 @@
this.getDataList();
},
methods: {
/**
* @description: getDataList
* @author: renchao
*/
getDataList () {
//获取收藏信息集合
getCollectBiz().then(res => {
......@@ -137,6 +141,11 @@
})
},
//申请业务类型菜单事件
/**
* @description: 申请业务类型菜单事件
* @param {*} item
* @author: renchao
*/
sqywlxClick (item) {
console.log("item", item);
this.btnDisabled = true;
......@@ -157,6 +166,11 @@
}
},
//权利类型菜单事件
/**
* @description: 权利类型菜单事件
* @param {*} index
* @author: renchao
*/
qllxClick (index) {
console.log("业务", index);
this.btnDisabled = true;
......@@ -170,6 +184,12 @@
this.getNextNode(this.sqywQllxList[index].bsmSqyw);
},
//选择申请业务事件
/**
* @description: 选择申请业务事件
* @param {*} data
* @param {*} index
* @author: renchao
*/
selectSqywClick (data, index) {
data.forEach(item => {
item.selected = false;
......@@ -184,6 +204,11 @@
}
},
//获取下个节点类型数据
/**
* @description: 获取下个节点类型数据
* @param {*} bsmSqyw
* @author: renchao
*/
getNextNode (bsmSqyw) {
getNextNode(bsmSqyw).then(res => {
if (res.result.djqx) {
......@@ -202,6 +227,10 @@
},
//获取下个节点类型数据
/**
* @description: 获取下个节点类型数据
* @author: renchao
*/
getRepairBiz () {
getRepairBiz().then(res => {
if (res) {
......@@ -211,16 +240,32 @@
})
},
//双击事件
/**
* @description: 双击事件
* @param {*} data
* @param {*} index
* @param {*} item
* @author: renchao
*/
dblclick (data, index, item) {
localStorage.setItem('ywbl', JSON.stringify(item));
this.selectSqywClick(data, index);
this.dialogClick();
},
//打开弹框内容
/**
* @description: 打开弹框内容
* @author: renchao
*/
dialogClick () {
this.openDialog();
},
//收藏操作
/**
* @description: 收藏操作
* @param {*} item
* @author: renchao
*/
handleCollection (item) {
let that = this
if (item.userCollect == '2') {
......@@ -253,6 +298,11 @@
})
}
},
/**
* @description: handleSelect
* @param {*} item
* @author: renchao
*/
handleSelect (item) {
this.busList.forEach(item => {
item.cselect = false
......@@ -260,6 +310,11 @@
item.cselect = !item.cselect
},
// 登记类型
/**
* @description: 登记类型
* @param {*} item
* @author: renchao
*/
handleDjlxSelect (item) {
this.djlxList.forEach(item => {
item.cselect = false
......@@ -276,6 +331,11 @@
}
this.djqxList = []
},
/**
* @description: handleDjqxItem
* @param {*} item
* @author: renchao
*/
handleDjqxItem (item) {
this.djlxList.forEach(item => {
item.cselect = false
......@@ -288,20 +348,39 @@
this.btnDisabled = true
}
},
/**
* @description: handleSelectItem
* @param {*} item
* @param {*} list
* @author: renchao
*/
handleSelectItem (item, list) {
this.handleSelectYw(item, list)
this.openDialog()
},
// 选择不动产信息
/**
* @description: 选择不动产信息
* @author: renchao
*/
bthSelectClick () {
this.openDialog()
},
/**
* @description: openDialog
* @author: renchao
*/
openDialog () {
console.log("this.selectParam", this.selectParam);
let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : '';
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%")
},
/**
* @description: loadView
* @param {*} view
* @author: renchao
*/
loadView (view) {
return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
}
......
......@@ -32,11 +32,20 @@
}
},
methods: {
/**
* @description: loadView
* @param {*} view
* @author: renchao
*/
loadView (view) {
console.log(view, 'view');
return (r) =>
require.ensure([], () => r(require(`./components/${view}.vue`)));
},
/**
* @description: updateDialog
* @author: renchao
*/
updateDialog () {
this.$popupCacel()
this.$emit("updateDialog", true)
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 13:59:35
-->
......@@ -145,6 +145,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading()
getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -156,14 +160,34 @@
}
});
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
*/
moreQueryClick () { },
/**
* @description: openDialog
* @param {*} scroll
* @author: renchao
*/
openDialog (scroll) {
this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%');
},
/**
* @description: handleLpbClick
* @param {*} item
* @author: renchao
*/
handleLpbClick (item) {
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: ''
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 13:59:55
-->
......@@ -112,6 +112,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading()
getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
......@@ -123,10 +127,26 @@
}
})
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
*/
moreQueryClick () { },
/**
* @description: openDialog
* @param {*} item
* @author: renchao
*/
openDialog (item) {
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
window.open(href, `urlname${item.bsmSlsq}`)
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 14:00:03
-->
......@@ -80,6 +80,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -90,11 +94,27 @@
}
});
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
*/
moreQueryClick () { },
//打开楼盘表
/**
* @description: 打开楼盘表
* @param {*} scope
* @author: renchao
*/
openlpbClick (scope) {
this.$popup('楼盘表', 'lpb/index', {
width: '90%',
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 14:07:38
-->
......@@ -81,6 +81,10 @@
},
methods: {
// 查询
/**
* @description: 查询
* @author: renchao
*/
queryClick () {
this.$startLoading()
getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => {
......@@ -92,6 +96,11 @@
}
})
},
/**
* @description: openDialog
* @param {*} item
* @author: renchao
*/
openDialog (item) {
this.$startLoading()
bdcqzPreview(item).then(res => {
......@@ -101,6 +110,10 @@
this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
})
},
/**
* @description: handleClose
* @author: renchao
*/
handleClose () {
this.dialogVisible = false;
}
......
......@@ -71,6 +71,10 @@
},
methods: {
// 查询
/**
* @description: 查询
* @author: renchao
*/
queryClick () {
this.$startLoading()
getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
......@@ -82,6 +86,10 @@
}
})
},
/**
* @description: moreQueryClick
* @author: renchao
*/
moreQueryClick () { }
}
}
......
......@@ -127,6 +127,11 @@ export default {
this.getDetail(this.formData.bsmZswj)
},
methods: {
/**
* @description: getDetail
* @param {*} bsmZswj
* @author: renchao
*/
getDetail (bsmZswj) {
getZssyqkInfo({ "bsmZswj": bsmZswj }).then(res => {
if (res.code == 200) {
......
......@@ -136,6 +136,10 @@ export default {
},
methods: {
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm () {
zsff(this.ruleForm).then(res => {
if (res.code == 200) {
......@@ -150,6 +154,10 @@ export default {
})
},
//序列号获取
/**
* @description: 序列号获取
* @author: renchao
*/
ywhSerial () {
getSysSerialSingle(this.ywhQueryForm).then(res => {
if (res.code == 200) {
......@@ -159,6 +167,11 @@ export default {
})
},
//获取详情信息
/**
* @description: 获取详情信息
* @param {*} bsmBatch
* @author: renchao
*/
getDetailInfo (bsmBatch) {
getZsglInfo({ "bsmBatch": bsmBatch }).then(res => {
if (res.code == 200) {
......@@ -174,6 +187,10 @@ export default {
})
},
//初始化开始序列号
/**
* @description: 初始化开始序列号
* @author: renchao
*/
initStartNo () {
getZsStartNo().then(res => {
if (res.code == 200) {
......@@ -183,6 +200,11 @@ export default {
})
},
//印刷序列号处理
/**
* @description: 印刷序列号处理
* @param {*} item
* @author: renchao
*/
ysxlhDeal (item) {
if (item.bs) {
//存在本数
......@@ -203,6 +225,13 @@ export default {
}
},
//更新表单数据
/**
* @description: 更新表单数据
* @param {*} endno
* @param {*} bookNumber
* @param {*} item
* @author: renchao
*/
updateRuleForm (endno, bookNumber, item) {
if (item.zslx == 'zs') {
this.ruleForm.zsstarno = item.ksysxlh;
......@@ -214,6 +243,10 @@ export default {
this.ruleForm.zmnum = bookNumber;
}
},
/**
* @description: resetTableFields
* @author: renchao
*/
resetTableFields () {
this.tableForm = [
{
......@@ -232,6 +265,10 @@ export default {
}
]
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$popupCacel()
this.$refs['ruleForm'].resetFields();
......
......@@ -90,11 +90,20 @@ export default {
},
methods: {
// 查看弹框
/**
* @description: 查看弹框
* @param {*} bsmBatch
* @author: renchao
*/
openDialog (bsmBatch) {
this.$popupDialog("证书分发", "zsgl/zsff/components/addDialog", {
bsmBatch: bsmBatch
}, "50%")
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -105,6 +114,11 @@ export default {
})
},
//确定证书分发
/**
* @description: 确定证书分发
* @param {*} item
* @author: renchao
*/
confrimVerify (item) {
this.$confirm('是否确定分发', '提示', {
confirmButtonText: '确定',
......@@ -127,6 +141,11 @@ export default {
});
},
//删除证书分发数据
/**
* @description: 删除证书分发数据
* @param {*} item
* @author: renchao
*/
delZsff (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
......
......@@ -142,6 +142,10 @@ export default {
},
methods: {
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm () {
this.tableForm.forEach((item, index) => {
if (item.bs < 0) {
......@@ -161,6 +165,10 @@ export default {
})
},
//序列号获取
/**
* @description: 序列号获取
* @author: renchao
*/
ywhSerial () {
getSysSerialSingle(this.ywhQueryForm).then(res => {
if (res.code == 200) {
......@@ -170,6 +178,11 @@ export default {
})
},
//获取详情信息
/**
* @description: 获取详情信息
* @param {*} bsmBatch
* @author: renchao
*/
getDetailInfo (bsmBatch) {
getZsglInfo({ "bsmBatch": bsmBatch }).then(res => {
if (res.code == 200) {
......@@ -185,6 +198,11 @@ export default {
})
},
//印刷序列号处理
/**
* @description: 印刷序列号处理
* @param {*} item
* @author: renchao
*/
ysxlhDeal (item) {
if (item.ksysxlh && item.jsysxlh) {
if (item.ksysxlh.length == item.jsysxlh.length) {
......@@ -222,6 +240,10 @@ export default {
}
}
},
/**
* @description: resetTableFields
* @author: renchao
*/
resetTableFields () {
this.tableForm = [
{
......@@ -240,6 +262,10 @@ export default {
}
]
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$popupCacel()
this.$refs['ruleForm'].resetFields();
......
......@@ -87,11 +87,20 @@ export default {
},
methods: {
// 查看弹框
/**
* @description: 查看弹框
* @param {*} bsmBatch
* @author: renchao
*/
openDialog (bsmBatch) {
this.$popupDialog("证书入库", "zsgl/zsrk/components/addDialog", {
bsmBatch: bsmBatch
}, "50%")
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -102,6 +111,11 @@ export default {
})
},
//删除证书入库数据
/**
* @description: 删除证书入库数据
* @param {*} item
* @author: renchao
*/
delZsrk (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -125,6 +139,11 @@ export default {
});
},
//审核证书入库数据
/**
* @description: 审核证书入库数据
* @param {*} item
* @author: renchao
*/
confrimVerify (item) {
this.$confirm('审核是否通过', '提示', {
confirmButtonText: '确定',
......
......@@ -76,6 +76,10 @@ export default {
};
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -86,6 +90,11 @@ export default {
})
},
// 查看证书使用情况
/**
* @description: 查看证书使用情况
* @param {*} item
* @author: renchao
*/
openDialog (item) {
this.$popupDialog("证书使用情况", "zsgl/components/viewDialog", {
bsmZswj: item.bsmZswj
......