01a048ed by renchao@pashanhoo.com

style:条件筛选

1 parent da957ff5
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-08 15:19:43
* @LastEditTime: 2023-07-24 14:10:29
-->
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<router-view />
<keep-alive :include="['dbx', 'ybx','jtfc', 'dydjb', 'sqcxjl', 'jdcx','djbcx',
'lpcx','zslqcx', 'zxgcdycx', 'zsrk', 'zsff','zssyjl','dictionaries', 'sqywgz', 'qtjfjmb',
'xttz','flfg']">
<router-view />
</keep-alive>
</transition>
</section>
</template>
......
......@@ -44,85 +44,88 @@
</div>
</template>
<script>
import { mapGetters } from "vuex";
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./dydjbdata";
import addDydjb from "./components/addDydjb.vue";
import { getSqcxPage } from "@/api/jtfc.js";
export default {
name: "dydjb",
components: { addDydjb },
mixins: [table],
mounted () {
sendThis(this);
this.queryClick();
},
computed: {
...mapGetters(["dictData"]),
},
data () {
return {
isDialog: false,
sqcxBsm: "",
queryForm: {
cxbh: "",
sqr: "",
ywh: "",
cxlx: '2'
},
tableData: {
columns: datas.columns(),
data: [],
},
};
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
let { records, total } = res.result;
this.tableData.data = records;
this.tableData.total = total;
}
});
import { mapGetters } from "vuex";
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./dydjbdata";
import addDydjb from "./components/addDydjb.vue";
import { getSqcxPage } from "@/api/jtfc.js";
export default {
name: "dydjb",
components: { addDydjb },
mixins: [table],
mounted () {
sendThis(this);
this.queryClick();
},
computed: {
...mapGetters(["dictData"]),
},
data () {
return {
isDialog: false,
sqcxBsm: "",
queryForm: {
cxbh: "",
sqr: "",
ywh: "",
cxlx: '2'
},
tableData: {
columns: datas.columns(),
data: [],
},
};
},
/**
* @description: dydjbClick
* @param {*} scope
* @author: renchao
*/
dydjbClick (scope) {
this.$popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
bsmSqcx: scope.row.bsmSqcx,
})
activated () {
this.queryClick();
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
let { records, total } = res.result;
this.tableData.data = records;
this.tableData.total = total;
}
});
},
/**
* @description: dydjbClick
* @param {*} scope
* @author: renchao
*/
dydjbClick (scope) {
this.$popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
bsmSqcx: scope.row.bsmSqcx,
})
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
/**
* @description: openAddDialog
* @author: renchao
*/
openAddDialog () {
this.isDialog = true
this.sqcxBsm = ''
}
},
/**
* @description: openAddDialog
* @author: renchao
*/
openAddDialog () {
this.isDialog = true
this.sqcxBsm = ''
}
},
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-28 14:45:20
* @LastEditTime: 2023-07-24 11:27:00
-->
<template>
<div class="from-clues">
......@@ -70,6 +70,9 @@
},
};
},
activated () {
this.queryClick();
},
methods: {
// 初始化数据
queryClick () {
......
......@@ -36,14 +36,14 @@
<el-row>
<el-col :span="6">
<el-form-item label="开始日期" class="marginbtm0">
<el-date-picker class="width100" v-model="queryForm.sqr" type="date" placeholder="开始日期"
<el-date-picker class="width100" v-model="queryForm.kssj" type="date" placeholder="开始日期"
value-format="yyyy-MM-dd" clearable>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="结束日期" class="marginbtm0">
<el-date-picker class="width100" v-model="queryForm.sqr" type="date" placeholder="结束日期"
<el-date-picker class="width100" v-model="queryForm.jssj" type="date" placeholder="结束日期"
value-format="yyyy-MM-dd" clearable>
</el-date-picker>
</el-form-item>
......@@ -67,73 +67,76 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./sqcxjldata";
import { getSqcxPage } from "@/api/jtfc.js";
export default {
name: "sqcxjl",
mixins: [table],
mounted () {
sendThis(this);
this.queryClick();
},
data () {
return {
queryForm: {
cxbh: "",
sqr: "",
ywh: "",
},
tableData: {
columns: datas.columns(),
data: [],
},
};
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
let { records, total } = res.result;
this.tableData.data = records;
this.tableData.total = total;
}
});
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./sqcxjldata";
import { getSqcxPage } from "@/api/jtfc.js";
export default {
name: "sqcxjl",
mixins: [table],
mounted () {
sendThis(this);
this.queryClick();
},
data () {
return {
queryForm: {
cxbh: "",
sqr: "",
ywh: "",
},
tableData: {
columns: datas.columns(),
data: [],
},
};
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
activated () {
this.queryClick();
},
// 查看
/**
* @description: 查看
* @param {*} scope
* @author: renchao
*/
handleViewClick (scope) {
this.$popupDialog("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
sqcxBsm: scope.row.bsmSqcx
})
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
let { records, total } = res.result;
this.tableData.data = records;
this.tableData.total = total;
}
});
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
// 查看
/**
* @description: 查看
* @param {*} scope
* @author: renchao
*/
handleViewClick (scope) {
this.$popupDialog("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
sqcxBsm: scope.row.bsmSqcx
})
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
.marginbtm0 {
margin-bottom: 0
}
.marginbtm0 {
margin-bottom: 0;
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 16:31:56
* @LastEditTime: 2023-07-24 14:09:53
-->
<template>
<div class="from-clues">
......@@ -69,6 +69,9 @@
}
}
},
activated () {
this.queryClick()
},
methods: {
// 初始化数据
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 16:04:47
* @LastEditTime: 2023-07-24 14:12:17
-->
<template>
<div class="from-clues">
......@@ -46,6 +46,9 @@
sendThis(this);
this.queryClick()
},
activated () {
this.queryClick()
},
data () {
return {
isDialog: false,
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 14:09:29
* @LastEditTime: 2023-07-24 14:11:31
-->
<template>
<div class="from-clues">
......@@ -63,6 +63,9 @@
bsmMb: ''
}
},
activated () {
this.queryClick()
},
methods: {
// 初始化数据
/**
......
......@@ -47,7 +47,7 @@
import { datas, sendThis } from "./sqywgzdata";
import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/sysSqdjyw.js";
export default {
name: "djbcx",
name: "sqywgz",
components: {
editDialog,
componentDialog,
......@@ -57,6 +57,9 @@
sendThis(this);
this.queryClick();
},
activated () {
this.queryClick()
},
data () {
return {
qllxmc: "",
......
......@@ -37,151 +37,154 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./xttzdata";
import { getSysNoticeList, deleteSysNotice, publishNotice, unPublishNotice } from "@/api/sysNotice.js"
import addDialog from "./components/addDialog.vue";
export default {
name: "xttz",
components: { addDialog },
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
isDialog: false,
isButtonFlag: true,
dialogTitle: '',
ruleForm: {
noticeTitle: '',
noticeStatus: ''
},
noticeStatusList: [
{ "label": '未发布', 'value': '1' },
{ 'label': '已发布', 'value': '2' }
],
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
isDiglog: false
}
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
this.$startLoading()
getSysNoticeList({ ...this.ruleForm, ...this.pageData }, { 'target': '#xttzLoading' }).then(res => {
if (res.code === 200) {
this.$endLoading()
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records
}
})
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./xttzdata";
import { getSysNoticeList, deleteSysNotice, publishNotice, unPublishNotice } from "@/api/sysNotice.js"
import addDialog from "./components/addDialog.vue";
export default {
name: "xttz",
components: { addDialog },
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @param {*} item
* @author: renchao
*/
openDialog (item) {
if (item) {
this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": false }, "50%")
} else {
this.$popupDialog("新增系统通知", "system/xttz/components/addDialog", { "isButtonFlag": true }, "50%")
activated () {
this.queryClick()
},
data () {
return {
isDialog: false,
isButtonFlag: true,
dialogTitle: '',
ruleForm: {
noticeTitle: '',
noticeStatus: ''
},
noticeStatusList: [
{ "label": '未发布', 'value': '1' },
{ 'label': '已发布', 'value': '2' }
],
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
isDiglog: false
}
},
//删除
delNotice (item) {
this.$confirm('是否确定删除', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteSysNotice({ "bsmNotice": item.bsmNotice }).then(res => {
if (res.code == 200) {
this.$message.success('删除成功')
this.queryClick();
} else {
this.$message.error(res.message)
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
this.$startLoading()
getSysNoticeList({ ...this.ruleForm, ...this.pageData }, { 'target': '#xttzLoading' }).then(res => {
if (res.code === 200) {
this.$endLoading()
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @param {*} item
* @author: renchao
*/
openDialog (item) {
if (item) {
this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": false }, "50%")
} else {
this.$popupDialog("新增系统通知", "system/xttz/components/addDialog", { "isButtonFlag": true }, "50%")
}
},
//删除
delNotice (item) {
this.$confirm('是否确定删除', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteSysNotice({ "bsmNotice": item.bsmNotice }).then(res => {
if (res.code == 200) {
this.$message.success('删除成功')
this.queryClick();
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
});
},
//发布
toPublish (item) {
this.$confirm('是否确定发布', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
publishNotice({ "bsmNotice": item.bsmNotice }).then(res => {
if (res.code == 200) {
this.$message.success('发布成功')
this.postMessage()
this.queryClick();
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '操作取消'
},
//发布
toPublish (item) {
this.$confirm('是否确定发布', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
publishNotice({ "bsmNotice": item.bsmNotice }).then(res => {
if (res.code == 200) {
this.$message.success('发布成功')
this.postMessage()
this.queryClick();
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '操作取消'
});
});
});
},
postMessage () {
window.parent.postMessage({ update: true }, '*')
},
//取消发布
toUnPublish (item) {
this.$confirm('是否确定取消发布', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
unPublishNotice({ "bsmNotice": item.bsmNotice }).then(res => {
if (res.code == 200) {
this.postMessage()
this.$message.success('删除成功')
this.queryClick();
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '操作取消'
},
postMessage () {
window.parent.postMessage({ update: true }, '*')
},
//取消发布
toUnPublish (item) {
this.$confirm('是否确定取消发布', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
unPublishNotice({ "bsmNotice": item.bsmNotice }).then(res => {
if (res.code == 200) {
this.postMessage()
this.$message.success('删除成功')
this.queryClick();
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '操作取消'
});
});
});
},
//编辑通知
editNotice (item) {
this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true, "edit": true }, "50%")
},
//编辑通知
editNotice (item) {
this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true, "edit": true }, "50%")
},
downloadFile (item) {
const href = item.noticeFileUrl
window.open(href, '_blank');
}
},
downloadFile (item) {
const href = item.noticeFileUrl
window.open(href, '_blank');
}
},
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:42:49
* @LastEditTime: 2023-07-24 11:25:15
-->
<template>
<div class="from-clues">
......@@ -106,7 +106,6 @@
import { datas, sendThis } from "./dbxdata";
import { searchTaskToDo } from "@/api/workflow/search.js";
import { judgeUserTaskPermission, deleteFlow, claimTask } from "@/api/workFlow.js";
import { log } from 'bpmn-js-token-simulation';
export default {
name: "dbx",
components: { searchBox },
......@@ -144,6 +143,9 @@
immediate: true,
},
},
activated () {
this.queryClick();
},
methods: {
// 列表渲染接口
/**
......@@ -225,28 +227,28 @@
if (res.code == 200) {
if (res.result) {
//有任务权限
if(item.sjlx=="3"){
const { href } = this.$router.resolve(
"/djbworkFrame?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid +
"&bsmBusiness=" +
"&sqywbm=" +
item.djywbm
);
window.open(href, `djbworkFrame${item.bsmSlsq}`);
}else{
const { href } = this.$router.resolve(
"/workFrame?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid +
"&bsmBusiness=" +
"&sqywbm=" +
item.djywbm
);
window.open(href, `workFrame${item.bsmSlsq}`);
if (item.sjlx == "3") {
const { href } = this.$router.resolve(
"/djbworkFrame?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid +
"&bsmBusiness=" +
"&sqywbm=" +
item.djywbm
);
window.open(href, `djbworkFrame${item.bsmSlsq}`);
} else {
const { href } = this.$router.resolve(
"/workFrame?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid +
"&bsmBusiness=" +
"&sqywbm=" +
item.djywbm
);
window.open(href, `workFrame${item.bsmSlsq}`);
}
localStorage.setItem('ywbl', JSON.stringify(item));
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 14:38:31
* @LastEditTime: 2023-07-24 11:26:06
-->
<template>
<div class="from-clues">
......@@ -166,6 +166,9 @@
},
};
},
activated () {
this.queryClick();
},
methods: {
// 列表渲染接口
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 13:59:35
* @LastEditTime: 2023-07-24 14:04:15
-->
<template>
<div class="from-clues">
......@@ -137,11 +137,14 @@
},
qllxs: [],
isDialog: false,
djbxxData: {},
};
djbxxData: {}
}
},
computed: {
...mapGetters(["dictData"]),
...mapGetters(["dictData"])
},
activated () {
this.queryClick()
},
methods: {
// 初始化数据
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 13:59:55
* @LastEditTime: 2023-07-24 14:02:07
-->
<template>
<div class="from-clues">
......@@ -110,6 +110,9 @@
}
}
},
activated () {
this.queryClick()
},
methods: {
// 初始化数据
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-21 11:25:20
* @LastEditTime: 2023-07-24 14:04:47
-->
<template>
<div class="from-clues">
......@@ -78,6 +78,9 @@
}
}
},
activated () {
this.queryClick()
},
methods: {
// 初始化数据
/**
......@@ -118,7 +121,7 @@
openlpbClick (scope) {
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: scope.row.bsm,
onlyShow:true
onlyShow: true
}, '90%', true)
}
}
......
......@@ -58,7 +58,7 @@
import { getBdcqzReceiveList } from "@/api/search.js"
import { bdcqzPreview } from "@/api/bdcqz.js"
export default {
components: {},
name: "zslqcx",
mixins: [table],
mounted () {
sendThis(this);
......@@ -79,6 +79,9 @@
},
};
},
activated () {
this.queryClick();
},
methods: {
// 查询
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-19 13:32:04
* @LastEditTime: 2023-07-24 14:07:02
-->
<template>
<div class="from-clues">
......@@ -50,7 +50,7 @@
import { datas, sendThis } from "./zxgcdycx";
import { getZjgcdyList } from "@/api/search.js"
export default {
components: {},
name: "zxgcdycx",
mixins: [table],
mounted () {
sendThis(this);
......@@ -69,6 +69,9 @@
},
};
},
activated () {
this.queryClick()
},
methods: {
// 查询
/**
......
......@@ -44,137 +44,140 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zsffdata";
import { getZsglffList, removeZsgl, confirmZsff } from "@/api/zsgl.js"
export default {
name: "zsff",
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
value: '',
ruleForm: {
batchno: '',
ffkssj: '',
ffjssj: ''
},
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
// 开始结束日期限制
pickerOptionsStart: {
disabledDate: (time) => {
if (this.ruleForm.ffjssj) {
return (
time.getTime() >= new Date(this.ruleForm.ffjssj).getTime()
);
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zsffdata";
import { getZsglffList, removeZsgl, confirmZsff } from "@/api/zsgl.js"
export default {
name: "zsff",
mixins: [table],
mounted () {
sendThis(this);
},
activated () {
this.queryClick()
},
data () {
return {
value: '',
ruleForm: {
batchno: '',
ffkssj: '',
ffjssj: ''
},
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
// 开始结束日期限制
pickerOptionsStart: {
disabledDate: (time) => {
if (this.ruleForm.ffjssj) {
return (
time.getTime() >= new Date(this.ruleForm.ffjssj).getTime()
);
}
}
}
},
// 结束日期限制
pickerOptionsEnd: {
disabledDate: (time) => {
if (this.ruleForm.ffkssj) {
return (
time.getTime() <= new Date(this.ruleForm.ffkssj).getTime()
);
},
// 结束日期限制
pickerOptionsEnd: {
disabledDate: (time) => {
if (this.ruleForm.ffkssj) {
return (
time.getTime() <= new Date(this.ruleForm.ffkssj).getTime()
);
}
}
}
}
}
},
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) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
//确定证书分发
/**
* @description: 确定证书分发
* @param {*} item
* @author: renchao
*/
confrimVerify (item) {
this.$confirm('是否确定分发', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
confirmZsff({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("分发成功")
this.queryClick();
} else {
this.$message.error(res.message)
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) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消审核'
},
//确定证书分发
/**
* @description: 确定证书分发
* @param {*} item
* @author: renchao
*/
confrimVerify (item) {
this.$confirm('是否确定分发', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
confirmZsff({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("分发成功")
this.queryClick();
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消审核'
});
});
});
},
//删除证书分发数据
/**
* @description: 删除证书分发数据
* @param {*} item
* @author: renchao
*/
delZsff (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("删除成功")
this.handleDel()
this.queryClick()
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
},
//删除证书分发数据
/**
* @description: 删除证书分发数据
* @param {*} item
* @author: renchao
*/
delZsff (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("删除成功")
this.handleDel()
this.queryClick()
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
})
})
})
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
/deep/.el-icon-date {
display: none;
}
/deep/.el-icon-date {
display: none;
}
</style>
......
......@@ -42,132 +42,135 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zsrkdata";
import { getZsglrkList, removeZsgl, verifyZsrk } from "@/api/zsgl.js";
export default {
name: "zsrk",
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
ruleForm: {
batchno: '',
rkkssj: '',
rkjssj: ''
},
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
// 开始结束日期限制
pickerOptionsStart: {
disabledDate: (time) => {
if (this.ruleForm.rkjssj) {
return (
time.getTime() >= new Date(this.ruleForm.rkjssj).getTime()
);
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zsrkdata";
import { getZsglrkList, removeZsgl, verifyZsrk } from "@/api/zsgl.js";
export default {
name: "zsrk",
mixins: [table],
mounted () {
sendThis(this);
},
activated () {
this.queryClick()
},
data () {
return {
ruleForm: {
batchno: '',
rkkssj: '',
rkjssj: ''
},
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
// 开始结束日期限制
pickerOptionsStart: {
disabledDate: (time) => {
if (this.ruleForm.rkjssj) {
return (
time.getTime() >= new Date(this.ruleForm.rkjssj).getTime()
);
}
}
}
},
// 结束日期限制
pickerOptionsEnd: {
disabledDate: (time) => {
if (this.ruleForm.rkkssj) {
return (
time.getTime() <= new Date(this.ruleForm.rkkssj).getTime()
);
},
// 结束日期限制
pickerOptionsEnd: {
disabledDate: (time) => {
if (this.ruleForm.rkkssj) {
return (
time.getTime() <= new Date(this.ruleForm.rkkssj).getTime()
);
}
}
}
}
}
},
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) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
//删除证书入库数据
/**
* @description: 删除证书入库数据
* @param {*} item
* @author: renchao
*/
delZsrk (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("删除成功")
this.handleDel()
this.queryClick()
} else {
this.$message.error(res.message)
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) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
},
//删除证书入库数据
/**
* @description: 删除证书入库数据
* @param {*} item
* @author: renchao
*/
delZsrk (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("删除成功")
this.handleDel()
this.queryClick()
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
});
},
//审核证书入库数据
/**
* @description: 审核证书入库数据
* @param {*} item
* @author: renchao
*/
confrimVerify (item) {
this.$confirm('审核是否通过', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
verifyZsrk({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("审核成功")
this.queryClick();
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消审核'
},
//审核证书入库数据
/**
* @description: 审核证书入库数据
* @param {*} item
* @author: renchao
*/
confrimVerify (item) {
this.$confirm('审核是否通过', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
verifyZsrk({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("审核成功")
this.queryClick();
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消审核'
})
})
})
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......
......@@ -47,62 +47,65 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { getZssyqkList } from "@/api/zsgl.js"
import { datas, sendThis } from "./zssyjldata";
export default {
name: "zssyjl",
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
ruleForm: {
ysxlh: "",
zslx: "",
ywh: "",
bdcqzh: "",
},
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
zslxArr: [
{ label: '不动产权证书', value: 'zs' },
{ label: '不动产登记证明', value: 'zm' }
]
};
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
import table from "@/utils/mixin/table";
import { getZssyqkList } from "@/api/zsgl.js"
import { datas, sendThis } from "./zssyjldata";
export default {
name: "zssyjl",
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
ruleForm: {
ysxlh: "",
zslx: "",
ywh: "",
bdcqzh: "",
},
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
zslxArr: [
{ label: '不动产权证书', value: 'zs' },
{ label: '不动产登记证明', value: 'zm' }
]
};
},
// 查看证书使用情况
/**
* @description: 查看证书使用情况
* @param {*} item
* @author: renchao
*/
openDialog (item) {
this.$popupDialog("证书使用情况", "zsgl/components/viewDialog", {
bsmZswj: item.bsmZswj
})
activated () {
this.queryClick()
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
// 查看证书使用情况
/**
* @description: 查看证书使用情况
* @param {*} item
* @author: renchao
*/
openDialog (item) {
this.$popupDialog("证书使用情况", "zsgl/components/viewDialog", {
bsmZswj: item.bsmZswj
})
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......