0cfe2c54 by 蔡俊立
2 parents ad0adde6 466409f6
Showing 50 changed files with 340 additions and 997 deletions
......@@ -85,7 +85,9 @@ export default {
},
watch: {
value (val) {
this.dialogVisible = val
this.$nextTick(() => {
this.dialogVisible = val
})
this.height && (this.scrollerHeight = this.height + 'px')
}
},
......
......@@ -116,7 +116,6 @@ export default {
},
},
methods: {
// 单选
singleElection (row) {
this.selected = this.data.indexOf(row);
......
......@@ -275,6 +275,10 @@ export default {
};
</script>
<style scoped>
.el-message-box__title {
width: 95%;
}
/deep/.el-message-box {
width: 500px;
max-height: 95%;
......
......@@ -85,7 +85,9 @@ export default {
},
watch: {
value (val) {
this.dialogVisible = val
this.$nextTick(() => {
this.dialogVisible = val
})
this.height && (this.scrollerHeight = this.height + 'px')
}
},
......
......@@ -116,7 +116,6 @@ export default {
},
},
methods: {
// 单选
singleElection (row) {
this.selected = this.data.indexOf(row);
......
......@@ -24,6 +24,7 @@ export const constantRoutes = [
]
},
// 业务流程框架
// 业务流程框架
{
path: '/workFrame',
component: () => import('@/views/workflow/workFrame.vue'),
......@@ -31,22 +32,6 @@ export const constantRoutes = [
hidden: true,
meta: { title: '发起申请' }
},
// 业务流程框架
{
path: '/workFramecs',
component: () => import('@/views/workflow/workFrame1.vue'),
name: 'workFramecs',
hidden: true,
meta: { title: '发起申请1' }
},
// 业务流程只读框架
{
path: '/workFrameViewcs',
component: () => import('@/views/workflow/workFrameView1.vue'),
name: 'workFrameViewcs',
hidden: true,
meta: { title: '发起申请2' }
},
// 业务流程只读框架
{
path: '/workFrameView',
......
......@@ -125,11 +125,6 @@
background-color: rgb(162, 164, 167);
}
// element 样式补丁
.el-menu--horizontal {
border-bottom: none !important;
}
.el-radio-group {
.el-radio-button__inner {
height: 36px;
......@@ -228,4 +223,9 @@
position: relative;
top: 2px;
}
}
// 弹框层级
.messageIndex {
z-index: 8000 !important;
}
\ No newline at end of file
......
......@@ -328,8 +328,8 @@ aside {
.prohibit .suspend {
position: relative;
margin: 0 auto;
text-align: left;
padding-left: 13px;
text-align: center;
min-width: 30px;
}
.allow {
......@@ -344,30 +344,6 @@ aside {
color: $yellow;
}
.allow::before {
content: '';
position: absolute;
left: 5px;
top: 45%;
background-color: $green;
display: inline-block; // 此句为css样式展示重点🏁
width: 5px;
height: 5px;
border-radius: 50%;
}
.prohibit::before {
content: '';
position: absolute;
left: 5px;
top: 45%;
background-color: $pink;
display: inline-block; // 此句为css样式展示重点🏁
width: 5px;
height: 5px;
border-radius: 50%;
}
.suspend::before {
content: '';
position: absolute;
......
import store from '@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export default class filter {
selected (row) {
if (row.djblzt == 1) { // 正在办理不能申请
return false //不可选择
} else {
return true //可选择
}
}
// 业务来源
busSource (val) {
let status = { 1: '办事大厅', 2: '微信小程序' }
......
......@@ -58,7 +58,8 @@ service.interceptors.response.use(
Message({
message: '服务器异常,请联系管理员',
type: 'error',
duration: 5 * 1000
duration: 5 * 1000,
customClass: 'messageIndex'
})
return Promise.reject(error);
}
......
<template>
<div>
<el-form :model="form" boder label-width="120px">
<div class="sqcxjlInfo">
<el-form :model="form" boder label-width="130px">
<el-row>
<el-col :span="24" style="margin-bottom: 15px">
<div class="slxx_title title-block">
......@@ -9,40 +9,39 @@
</div>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="查询来源:" label-width="90px">{{form.djSqcxDO.cxly}}
<el-form-item label="查询来源:" label-width="90px">{{ form.djSqcxDO.cxly }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询类型:">{{form.djSqcxDO.cxlx}}
<el-form-item label="查询类型:">{{ form.djSqcxDO.cxlx }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询人员:" label-width="90px">{{form.djSqcxDO.cxr}}
<el-form-item label="查询人员:" label-width="90px">{{ form.djSqcxDO.cxr }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询时间:">{{form.djSqcxDO.cxsj}}
<el-form-item label="查询时间:">{{ form.djSqcxDO.cxsj }}
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="查询编号:" label-width="90px">{{form.djSqcxDO.cxbh}}
<el-form-item label="查询编号:" label-width="90px">{{ form.djSqcxDO.cxbh }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询用途:" label-width="90px">{{form.djSqcxDO.cxyt}}
<el-form-item label="查询用途:" label-width="90px">{{ form.djSqcxDO.cxyt }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="与产权人的关系:">{{form.djSqcxDO.ycqrgxmc}}
<el-form-item label="与产权人的关系:">{{ form.djSqcxDO.ycqrgxmc }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号:">{{form.djSqcxDO.bdcqzh}}
<el-form-item label="不动产权证号:">{{ form.djSqcxDO.bdcqzh }}
</el-form-item>
</el-col>
</el-row>
......@@ -84,7 +83,7 @@
<div class="triangle"></div>
</div>
</el-col>
</el-row>
</el-row>
<el-row>
<el-col>
<lb-table :column="cxjgData.columns" :data="form.cxjgList" :maxHeight="200" heightNumSetting
......@@ -121,12 +120,12 @@ export default {
// },
props: ["formData"],
created() {
created () {
// debugger;
// alert(this.formData.sqcxBsm);
},
data() {
data () {
return {
form: {},
ruleForm: {
......@@ -153,7 +152,7 @@ export default {
};
},
mounted() {
mounted () {
sendThis(this);
var sqcxBsm = this.formData.sqcxBsm;
......@@ -176,4 +175,13 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
/deep/.el-form-item {
margin-bottom: 0 !important;
}
.sqcxjlInfo {
max-height: 85vh;
overflow-y: auto;
}
</style>
......
......@@ -16,15 +16,15 @@
</el-col>
</el-row>
</el-form>
<lb-table :column="column" :heightNum="420" :key="key" :expand-row-keys="keyList" row-key="bsmDict"
:tree-props="{ children: 'children' }" :pagination="false" :data="tableData">
<lb-table :column="column" class="loadingtext" :heightNum="420" :key="key" :expand-row-keys="keyList"
row-key="bsmDict" :tree-props="{ children: 'children' }" :pagination="false" :data="tableData">
</lb-table>
</dialogBox>
</template>
<script>
import { getUuid, judgeSort, realMove, findParents, removeTreeListItem } from '@/utils/operation'
import { editDictNode } from '@/api/user'
import { editDictNode, getChildDictList } from '@/api/user'
export default {
props: {
value: { type: Boolean, default: false },
......@@ -177,9 +177,19 @@ export default {
value (val) {
this.myValue = val
},
'details.bsmDict': {
handler: function (newValue) {
this.$startLoading();
getChildDictList(newValue).then(res => {
this.$endLoading();
let { result } = res
this.tableData = result ? result : []
})
},
immediate: true
},
details: {
handler: function (newValue) {
this.tableData = judgeSort(_.cloneDeep(newValue.dataList))
if (newValue.isenable == 2) {
this.column = this.columns.slice(0, 6)
} else {
......
......@@ -32,7 +32,7 @@ class data extends filter {
},
{
label: "是否允许修改",
width: '150',
width: '110',
render: (h, scope) => {
return (
<div>
......
......@@ -52,7 +52,7 @@ export default {
return {
isDialog: false,
details: {
dataList: [],
bsmDict: '',
isenable: 1,
rowData: {}
},
......@@ -107,14 +107,11 @@ export default {
editClick (row, val) {
this.details.rowData = row
this.details.isenable = val
getChildDictList(row.bsmDict).then(res => {
this.isDialog = true
let { result } = res
this.details.dataList = result ? result : []
})
this.details.bsmDict = row.bsmDict
this.isDialog = true
}
}
};
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
<template>
<dialogBox title="其他及附记模板" @submitForm="submitForm" width="60%" @closeDialog="closeDialog" v-model="myValue">
<dialogBox title="其他及附记模板" @submitForm="submitForm" width="60%" class="loadingtext" @closeDialog="closeDialog"
v-model="myValue">
<div class="qtjfjmb-edit-title">
<b>权利信息</b>
</div>
......@@ -111,26 +112,29 @@
</template>
<script>
import { updateSysSqywmbsz } from '@/api/system'
import { updateSysSqywmbsz, getSysSqywmbszDetailById } from '@/api/system'
export default {
props: {
value: { type: Boolean, default: false },
details: {
type: Object,
default: () => {
return {}
}
bsmMb: {
type: String,
default: ''
}
},
watch: {
value (val) {
this.myValue = val
},
details: {
handler (newValue, oldValue) {
this.ruleForm = newValue
bsmMb: {
handler (newValue) {
this.$startLoading()
getSysSqywmbszDetailById(newValue).then(res => {
this.$endLoading()
let { result } = res
this.ruleForm = result ? result : {}
})
},
deep: true
immediate: true
}
},
data () {
......
......@@ -29,12 +29,12 @@
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<editDialog v-model="isDialog" :details="details" />
<editDialog v-model="isDialog" :bsmMb="bsmMb" />
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import { sysSqywmbszSearch, getSysSqywmbszDetailById } from '@/api/system'
import { sysSqywmbszSearch } from '@/api/system'
import table from "@/utils/mixin/table"
import { datas, sendThis } from "./qtjfjmb"
import editDialog from "./components/editDialog.vue"
......@@ -62,7 +62,7 @@ export default {
columns: datas.columns(),
data: []
},
details: {}
bsmMb: ''
}
},
methods: {
......@@ -77,14 +77,11 @@ export default {
})
},
editClick (row) {
getSysSqywmbszDetailById(row.bsmMb).then(res => {
this.isDialog = true
let { result } = res
this.details = result ? result : {}
})
this.bsmMb = row.bsmMb
this.isDialog = true
}
},
};
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
<template>
<div class="from-clues loadingtext" style="height:750px">
<!-- 表单部分 -->
<el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1">
<el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz" v-for="(item,index) in headTabBdcqz" :key="index"></el-tab-pane>
</el-tabs>
<!-- <div class="zsyl-title">{{bdcqz.bdcqzlx == '1' ? '不动产权证书' : '不动产权证明'}}</div> -->
<div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div>
<img :src="previewImage" class="imgClass" v-else>
</div>
<div class="from-clues" v-loading="loading" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading"
element-loading-background="rgba(0, 0, 0, 0.8)">
<!-- 表单部分 -->
<el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1">
<el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz"
v-for="(item, index) in headTabBdcqz" :key="index"></el-tab-pane>
</el-tabs>
<div class="no-data">暂无数据</div>
<img :src="previewImage" class="imgClass">
</div>
</template>
<script>
import { datas } from "../javascript/zsyl.js";
import { getSlsqBdcqzList,bdcqzPreview} from "@/api/bdcqz.js"
import { getSlsqBdcqzList, bdcqzPreview } from "@/api/bdcqz.js"
export default {
name: "zsyl",
components: {
......@@ -25,6 +26,7 @@ export default {
},
data () {
return {
loading: false,
//印刷序列号集合
ysxlh: [],
//列名称对象
......@@ -48,48 +50,48 @@ export default {
},
}
},
mounted(){
},
created() {
mounted () {
this.columns = datas.columns();
if(this.formData.bdcqz){
//从缮证进入
if (this.formData.bdcqz) {
//从缮证进入
this.bdcqz = this.formData.bdcqz
}else{
} else {
//从按钮进入
this.getHeadTabBdcqz();
}
},
methods: {
//获取证书内容
getRowValue(code){
getRowValue (code) {
var value = this.bdcqz[code];
return value;
},
//获取受理申请下全部不动产权证
getHeadTabBdcqz(){
getSlsqBdcqzList({bsmSlsq: this.formData.bsmSlsq}).then(res => {
if(res.code == 200){
if(res.result && res.result.length > 0){
this.activeName = res.result[0].bsmBdcqz
this.bdcqz = res.result[0]
this.headTabBdcqz = res.result
this.getBdcqzPreview();
}
getHeadTabBdcqz () {
this.loading = true
getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
if (res.code == 200) {
if (res.result && res.result.length > 0) {
this.activeName = res.result[0].bsmBdcqz
this.bdcqz = res.result[0]
this.headTabBdcqz = res.result
this.getBdcqzPreview();
}
}
})
},
//tab表头切换方法
handleClick(e){
handleClick (e) {
this.bdcqz = this.headTabBdcqz[e.index - 0]
this.activeName = this.headTabBdcqz.bsmBdcqz
this.getBdcqzPreview();
},
getBdcqzPreview(){
getBdcqzPreview () {
bdcqzPreview(this.bdcqz).then(res => {
let blob = new Blob([res]);
let url = window.URL.createObjectURL(blob);
this.loading = false
let blob = new Blob([res]);
let url = window.URL.createObjectURL(blob);
this.previewImage = url;
})
},
......@@ -98,47 +100,55 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
.imgClass{
display: inline-block;
.imgClass {
display: inline-block;
height: auto;
max-width: 100%;
}
.middle_padding {
padding-bottom: 10px;
}
.zsyl-button{
.zsyl-button {
text-align: center;
margin-top: 20px;
.operation_button{
.operation_button {
width: 100px;
border: 1px solid rgb(0,121,254);
border: 1px solid rgb(0, 121, 254);
}
.dy-button {
color: white;
background-color: rgb(0,121,254);
background-color: rgb(0, 121, 254);
}
}
.table-column {
border-spacing: 1px;
width: 100%;
tr td {
border: 1px solid #ccc;
text-align: center;
height: 40px;
padding: 4px;
font-size: 13px;
background: rgb(251,249,229);
}
border: 1px solid #ccc;
text-align: center;
height: 40px;
padding: 4px;
font-size: 13px;
background: rgb(251, 249, 229);
}
}
.zsyl-title{
.zsyl-title {
background: #FAFBE5;
text-align: center;
padding: 5px 0px;
font-size: 20px;
}
.no-data{
font-size:18px;
.no-data {
font-size: 18px;
display: flex;
text-align: center;
justify-content: center;
......
<template>
<div class="container">
<!-- 顶部内容框 -->
<div class="topButton">
<!-- 左侧业务功能按钮 -->
<ul>
<li @click="operation(item)" v-for="(item, index) in leftButtonList" :key="index">
<svg-icon class="icon" :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
</li>
</ul>
<!-- 右侧流程按钮 -->
<ul>
<li @click="operation(item)" v-for="(item, index) in rightButtonList" :key="index">
<svg-icon class="icon" :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
</li>
</ul>
<NoticeBar class="NoticeBar" :noticeList="noticeList" />
</div>
<!-- 内容框架 -->
<div class="containerFrame">
<!-- 左侧菜单栏 -->
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
<el-menu :default-active="activeIndex" @select="batchUnitClick" class="title-batch" v-if="showBatch">
<el-menu-item index="-1" key="-1" class="menus">
<div>{{ batchButtonName }}</div>
</el-menu-item>
</el-menu>
<div v-if="this.isShowdrawer">
<div class="title">
申请单元列表({{ unitData.length }})
<el-button type="text" class="batchDel" @click="handleBatchDel" v-if="unitData.length > 1">批量删除</el-button>
</div>
<el-menu :default-active="activeIndex" @select="unitClick">
<el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index">
<div>
<p>{{ item.bdcdyh }}</p>
<p class="title-detail">{{ item.zl }}</p>
</div>
<i class="el-icon-delete" v-if="unitData.length > 1" @click.stop="handleDel(item)"></i>
</el-menu-item>
</el-menu>
</div>
<div class="map-drawer-click map-drawer" v-if="!isShowdrawer" @click="
() => {
this.isShowdrawer = !this.isShowdrawer;
}
"></div>
<div class="map-drawer-expand map-drawer" v-else @click="
() => {
this.isShowdrawer = !this.isShowdrawer;
}
"></div>
</div>
<div class="leftCon">
<!-- 分屏左侧预览 -->
<div v-if="splitScreen" class="splitScreen-con">
<component :is="clxxForm" v-bind="currentSelectProps" :key="fresh" />
</div>
<!-- 表单内容区域 -->
<div class="rightContainer">
<el-tabs v-model="tabName" :before-leave="beforeLeave">
<el-tab-pane :label="item.name" :name="item.value" v-for="item in tabList" :key="item.value">
</el-tab-pane>
</el-tabs>
<component :key="fresh" :is="componentTag" v-bind="currentSelectProps" />
</div>
</div>
</div>
<!-- 打印模板需要此模块 -->
<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" v-show="false">
<embed id="LODOP_EM" type="application/x-print-lodop" width=820 height=450 pluginspage="install_lodop32.exe"/>
</object>
<el-upload class="fileUpdate" action="" :show-file-list="false" multiple :auto-upload="false"
:on-change="handleChange" :before-upload="beforeUpload">
<el-button id="cldr" icon="el-icon-upload" type="primary" v-show="false">上传</el-button>
</el-upload>
<fqsqDialog v-model="isDialog" :djywbm="$route.query.sqywbm" :isJump="true" @updateDialog="updateDialog" />
</div>
</template>
<style scoped lang='scss'>
@import "~@/styles/mixin.scss";
@import "./workFrame.scss";
</style>
<script>
import WorkFlow from "./mixin/index"
import publicFlow from "./mixin/public.js"
import { getStepFormInfo } from "@/api/fqsq.js";
import { getForm } from './flowform'
import NoticeBar from '@/components/NoticeBar/index'
import { deleteFlow, unClaimTask } from "@/api/ywbl.js";
import ProcessViewer from './components/processViewer.vue'
import fqsqDialog from "@/views/ywbl/ywsq/selectBdc.vue";
export default {
components: {
fqsqDialog,
NoticeBar,
ProcessViewer
},
mixins: [WorkFlow, publicFlow],
data () {
return {
isDialog: false,
// 折叠
isShowdrawer: true,
// 默认选中
activeIndex: "0",
//受理申请标识码
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
bestepid: this.$route.query.bestepid,
//设置那个表单选中
tabName: "",
//设置那个表单选择
currentSelectTab: {},
//表单集合
tabList: [],
//选择加载哪一个组件
componentTag: "",
//设置表单传递数据
currentSelectProps: {},
//材料分屏表单
clxxForm: "",
//材料信息选择卡索引
clxxIndex: "",
//材料信息选项卡对象
clxxTab: {},
//页面监听时间
_beforeUnload_time: "",
//批量操作
showBatch: false,
//批量操作按钮名称
batchButtonName: '',
}
},
mounted () {
//添加页面监听事件
window.addEventListener('beforeunload', e => this.beforeunloadHandler(e))
window.addEventListener('unload', e => this.unloadHandler(e))
},
destroyed () {
window.removeEventListener('beforeunload', e => this.beforeunloadHandler(e))
window.removeEventListener('unload', e => this.unloadHandler(e))
},
methods: {
beforeunloadHandler () {
this._beforeUnload_time = new Date().getTime()
},
unloadHandler (e) {
this._gap_time = new Date().getTime() - this._beforeUnload_time
//判断是窗口关闭还是刷新
if (this._gap_time <= 10) {
//取消认领
unClaimTask(this.bsmSlsq, this.bestepid)
}
},
changeLoadIndex () {
this.loadIndex++
},
closeDialog () {
this.myValue = false
},
// 更新列表
updateDialog () {
this.loadBdcdylist();
},
// 删除左侧列表
handleDel (item) {
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
var formdata = new FormData();
formdata.append("bsmSldyList", item.bsmSldy.split(","));
formdata.append("bsmSlsq", this.bsmSlsq);
deleteFlow(formdata).then((res) => {
if (res.code == 200) {
this.$message.success("删除成功");
this.loadBdcdylist();
} else {
this.$message.error(res.message);
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
//申请单元点击事件
stepForm (index) {
getStepFormInfo(this.currentSelectProps).then((res) => {
if (res.code === 200) {
this.fresh++;
//获取单元对应的所有表单信息
this.tabList = res.result;
//默认加载第一个表单信息
this.tabName = res.result[0].value;
//批量操作无分屏按钮
if (index != null) {
//处理分屏材料信息
let that = this;
this.tabList.forEach(function (item, index) {
if (item.value == "clxx") {
that.clxxIndex = index;
that.clxxForm = getForm(item.value, that.$route.query.sqywbm);
that.clxxTab = item;
}
})
}
}
})
},
//申请单元点击事件
unitClick (index) {
this.currentSelectProps = this.unitData[index];
this.currentSelectProps.batchOperation = false;
this.activeIndex = index.toString();
this.stepForm(index);
},
//批量按钮点击事件
batchUnitClick () {
this.currentSelectProps.batchOperation = true;
this.activeIndex = "-1";
this.stepForm();
}
}
}
</script>
......@@ -4,18 +4,19 @@
<div class="topButton">
<!-- 左侧业务功能按钮 -->
<ul>
<li @click="operation(index, item)" v-for="(item, index) in leftButtonList" :key="index">
<li @click="operation(item)" v-for="(item, index) in leftButtonList" :key="index">
<svg-icon :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
</li>
</ul>
<!-- 右侧流程按钮 -->
<ul>
<li @click="operation(index, item)" v-for="(item, index) in rightButtonList" :key="index">
<li @click="operation(item)" v-for="(item, index) in rightButtonList" :key="index">
<svg-icon class="icon" :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
</li>
</ul>
<NoticeBar class="NoticeBar" :noticeList="noticeList" />
</div>
<!-- 内容框架 -->
<div class="containerFrame">
......@@ -50,7 +51,7 @@
</div>
<!-- 表单内容区域 -->
<div class="rightContainer">
<el-tabs v-model="tabName" @tab-click="tabClick">
<el-tabs v-model="tabName" :before-leave="beforeLeave">
<el-tab-pane :label="item.name" :name="item.value" v-for="(item, index) in tabList" :key="index">
</el-tab-pane>
</el-tabs>
......@@ -60,24 +61,25 @@
</div>
</div>
</template>
<style scoped lang='scss'>
@import "~@/styles/mixin.scss";
@import "./workFrame.scss";
</style>
<script>
import {
leftMenu,
stepExpandInfo,
record,
getNextLinkInfo,
completeTask,
getStepFormInfo
} from "@/api/fqsq.js"
import publicFlow from "./mixin/public.js"
import { popupDialog } from "@/utils/popup.js";
import NoticeBar from '@/components/NoticeBar/index'
import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"
import { getForm } from "./flowform.js"
export default {
mixins: [publicFlow],
components: {
NoticeBar
},
data () {
return {
// 流程图
......@@ -131,35 +133,26 @@ export default {
if (res.code === 200) {
this.leftButtonList = res.result.button;
this.rightButtonList = res.result.operation;
// this.tabList = res.result.form;
// //默认选择第一个选项卡内容
// this.tabName = res.result.form[0].value;
// let that = this;
// this.tabList.forEach(function (item, index) {
// if (item.value == "clxx") {
// that.clxxIndex = index;
// that.clxxForm = getForm(item.value);
// that.clxxTab = item;
// }
// });
// //默认加载第一个选项卡的组件内容
// this.getFromRouter(res.result.form[0].value);
}
})
},
//流程环节操作按钮
operation (index, item) {
operation (item) {
//按钮 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
let that = this;
switch (item.value) {
case "B1":
getWorkFlowImage(this.bsmSlsq).then(res => {
this.imgSrc = URL.createObjectURL(res)
this.$popup({
title: '流程图',
editItem: 'workflow/components/flowChart',
formData: this.imgSrc
getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => {
let { result } = res
popupDialog("流程图", "workflow/components/processViewer", {
xml: result.xml,
finishedInfo: {
finishedTaskSet: result.finishedTaskSet,
unfinishedTaskSet: result.unfinishedTaskSet,
rejectedTaskSet: result.rejectedTaskSet,
finishedSequenceFlowSet: result.finishedSequenceFlowSet
},
allCommentList: result.historyTaskList
})
})
break;
......@@ -204,35 +197,14 @@ export default {
this.currentSelectProps.type = 'ONLY_READ';
getStepFormInfo(this.currentSelectProps).then((res) => {
if (res.code === 200) {
this.fresh += 1;
this.fresh++;
//获取单元对应的所有表单信息
this.tabList = res.result;
//默认加载第一个表单信息
this.tabName = res.result[0].value;
//处理分屏材料信息
// let that = this;
// this.tabList.forEach(function (item, index) {
// if (item.value == "clxx") {
// that.clxxIndex = index;
// that.clxxForm = getForm(item.value, that.$route.query.sqywbm);
// that.clxxTab = item;
// }
// });
}
});
// if (this.currentSelectProps.bsmSldy != this.unitData[index].bsmSldy) {
// this.currentSelectProps = this.unitData[index];
// this.fresh += 1;
// }
},
//表单选项卡事件
tabClick (tab, event) {
this.getFromRouter(tab.name);
},
//切换选项卡内容组件
getFromRouter (tabname) {
this.componentTag = getForm(tabname);
},
})
}
}
}
</script>
\ No newline at end of file
......
<template>
<div class="container">
<!-- 顶部内容框 -->
<div class="topButton">
<!-- 左侧业务功能按钮 -->
<ul>
<li @click="operation(item)" v-for="(item, index) in leftButtonList" :key="index">
<svg-icon :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
</li>
</ul>
<!-- 右侧流程按钮 -->
<ul>
<li @click="operation(item)" v-for="(item, index) in rightButtonList" :key="index">
<svg-icon class="icon" :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
</li>
</ul>
<NoticeBar class="NoticeBar" :noticeList="noticeList" />
</div>
<!-- 内容框架 -->
<div class="containerFrame">
<!-- 左侧菜单栏 -->
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
<div v-if="this.isShowdrawer">
<div class="title">申请单元列表({{ unitData.length }})</div>
<el-menu :default-active="activeIndex" @select="unitClick">
<el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index">
<div>
<p>{{ item.bdcdyh }}</p>
<p class="title-detail">{{ item.zl }}</p>
</div>
</el-menu-item>
</el-menu>
</div>
<div class="map-drawer-click map-drawer" v-if="!isShowdrawer" @click="
() => {
this.isShowdrawer = !this.isShowdrawer;
}
"></div>
<div class="map-drawer-expand map-drawer" v-else @click="
() => {
this.isShowdrawer = !this.isShowdrawer;
}
"></div>
</div>
<div class="leftCon">
<!-- 分屏左侧预览 -->
<div v-if="splitScreen" class="splitScreen-con">
<component :is="clxxForm" v-bind="currentSelectProps" :key="fresh" />
</div>
<!-- 表单内容区域 -->
<div class="rightContainer">
<el-tabs v-model="tabName" :before-leave="beforeLeave">
<el-tab-pane :label="item.name" :name="item.value" v-for="(item, index) in tabList" :key="index">
</el-tab-pane>
</el-tabs>
<component :key="fresh" :is="componentTag" v-bind="currentSelectProps" />
</div>
</div>
</div>
</div>
</template>
<style scoped lang='scss'>
@import "~@/styles/mixin.scss";
@import "./workFrame.scss";
</style>
<script>
import {
leftMenu,
stepExpandInfo,
getStepFormInfo
} from "@/api/fqsq.js"
import publicFlow from "./mixin/public.js"
import { popupDialog } from "@/utils/popup.js";
import NoticeBar from '@/components/NoticeBar/index'
import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"
export default {
mixins: [publicFlow],
components: {
NoticeBar
},
data () {
return {
// 流程图
imgSrc: '',
// 折叠
isShowdrawer: true,
// 默认选中
activeIndex: '0',
//受理申请标识码
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
bestepid: this.$route.query.bestepid,
//顶部左侧按钮集合
leftButtonList: [],
//顶部右侧按钮集合
rightButtonList: [],
//左侧菜单数据集合
unitData: [],
//设置那个表单选中
tabName: "",
//表单集合
tabList: [],
//选择加载哪一个组件
componentTag: "",
//设置表单组件是否刷选值
fresh: 10,
//设置表单传递数据
currentSelectProps: {},
//是否开启材料分屏
splitScreen: false,
//材料分屏表单
clxxForm: "",
//材料信息选择卡索引
clxxIndex: "",
//材料信息选项卡对象
clxxTab: {},
}
},
mounted () {
this.loadBdcdylist();
this.flowInitParam();
},
methods: {
//加载流程初始参数
flowInitParam () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
formdata.append("bestepid", this.bestepid);
formdata.append("type", "READ_ONLY");
stepExpandInfo(formdata).then((res) => {
if (res.code === 200) {
this.leftButtonList = res.result.button;
this.rightButtonList = res.result.operation;
}
})
},
//流程环节操作按钮
operation (item) {
//按钮 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
switch (item.value) {
case "B1":
getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => {
let { result } = res
popupDialog("流程图", "workflow/components/processViewer", {
xml: result.xml,
finishedInfo: {
finishedTaskSet: result.finishedTaskSet,
unfinishedTaskSet: result.unfinishedTaskSet,
rejectedTaskSet: result.rejectedTaskSet,
finishedSequenceFlowSet: result.finishedSequenceFlowSet
},
allCommentList: result.historyTaskList
})
})
break;
case "B5":
this.zsylFlag = true;
break;
case "B2": //材料分屏按钮
this.splitScreen = this.splitScreen ? false : true;
this.$store.dispatch('app/settScreen', this.splitScreen)
if (this.splitScreen) {
//如果当前选项卡为材料信息内容,递减到上一个选项卡内容
if (this.tabName == this.clxxTab.value) {
this.tabName = this.tabList[this.clxxIndex - 1].value;
this.getFromRouter(this.tabList[this.clxxIndex - 1].value);
}
this.tabList.splice(this.clxxIndex, 1);
} else {
this.tabList.splice(this.clxxIndex, 1, this.clxxTab);
}
break;
case "signout":
window.close();
break;
}
},
//读取申请单元信息
loadBdcdylist () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
formdata.append("bestepid", this.bestepid);
leftMenu(formdata).then((res) => {
if (res.code === 200) {
this.unitData = res.result;
this.currentSelectProps = res.result[0];
this.unitClick(0);
}
})
},
//申请单元点击事件
unitClick (index) {
this.currentSelectProps = this.unitData[index];
this.currentSelectProps.type = 'ONLY_READ';
getStepFormInfo(this.currentSelectProps).then((res) => {
if (res.code === 200) {
this.fresh++;
//获取单元对应的所有表单信息
this.tabList = res.result;
//默认加载第一个表单信息
this.tabName = res.result[0].value;
}
})
}
}
}
</script>
\ No newline at end of file
......@@ -174,21 +174,20 @@ export default {
bsmSlsq: item.bsmSlsq,
bestepid: item.bestepid
}).then(res => {
if(res.code == 200){
if(res.result){
if (res.code == 200) {
if (res.result) {
//有任务权限
// const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm);
const { href } = this.$router.resolve('/workFramecs?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm);
const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm);
window.open(href, '_blank');
//从待办箱进入的调取任务领取接口
claimTask(item.bsmSlsq, item.bestepid)
}else{
} else {
//无任务权限
this.$message.error("无该任务操作权限,或已被他人抢办,请重新操作")
//刷新页面
this.queryClick();
}
}else{
} else {
this.$message.error("用户任务权限判断失败,请联系管理员")
}
})
......
......@@ -134,8 +134,7 @@ export default {
this.queryClick()
},
ywhClick (item) {
// const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1');
const { href } = this.$router.resolve('/workFrameViewcs?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1');
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1');
window.open(href, '_blank');
}
}
......
......@@ -3,7 +3,7 @@
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="100px">
<el-row>
<el-row>
<el-col :span="6">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
......@@ -54,19 +54,19 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
export default {
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
mixins: [table, jump],
data () {
return {
queryForm: defaultParameters.defaultParameters(),
queryForm: defaultParameters.defaultParameters(),
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
bdcdysz: [],
bsmSqyw:
bsmSqyw:
this.sqywInfo.nodetype === "djlx"
? this.sqywInfo.bsmSqyw
: this.sqywInfo.parentid,
......@@ -76,14 +76,6 @@ export default {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick (row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog () {
this.$emit("closeDialog")
},
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectCfdj({ ...this.queryForm, ...this.pageData })
......@@ -104,8 +96,8 @@ export default {
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......
......@@ -63,9 +63,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
......@@ -77,19 +77,11 @@ export default {
bdcdysz: [],
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
queryClick() {
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......@@ -99,7 +91,7 @@ export default {
}
});
},
submitFormClick() {
submitFormClick () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -126,7 +118,7 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
......
<template>
<div class="from-clues">
<el-tabs type="card" v-model="activeName" @tab-click="handleTabClick" v-if="!isJump">
<el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
<el-tab-pane label="多幢" name="h"></el-tab-pane>
</el-tabs>
<el-tabs type="card" v-model="activeName" @tab-click="handleTabClick" v-if="!isJump">
<el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
<el-tab-pane label="多幢" name="h"></el-tab-pane>
</el-tabs>
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="110px">
......@@ -78,7 +78,7 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data () {
return {
......@@ -105,14 +105,6 @@ export default {
sendThis(this)
},
methods: {
//点击行选中或取消复选框
handleRowClick (row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog () {
this.$emit("closeDialog");
},
queryClick () {
if (!this.isJump) {
//从业务办理进入
......@@ -162,8 +154,8 @@ export default {
bsmSqyw: this.bsmSqyw,
fwlx: this.activeName,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -206,8 +198,8 @@ export default {
formData: {
bsm: item.bsm,
bsmSqyw: this.bsmSqyw,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}
})
}
......@@ -217,5 +209,4 @@ export default {
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
</style>
......
export default {
methods: {
closeDialog () {
this.$emit("closeDialog")
},
//点击行选中或取消复选框
handleRowClick (row, column, event) {
row.djblzt != 1 && (this.$refs.table.toggleRowSelection(row))
},
jump (data, type) {
this.$emit("closeDialog");
const { href } = this.$router.resolve(
"/workFramecs?bsmSlsq=" +
"/workFrame?bsmSlsq=" +
data.bsmSlsq +
"&bestepid=" +
data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type
......
......@@ -49,7 +49,7 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data () {
return {
......@@ -70,14 +70,6 @@ export default {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick (row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog () {
this.$emit("closeDialog");
},
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -96,8 +88,8 @@ export default {
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......
......@@ -49,7 +49,7 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data () {
return {
......@@ -67,14 +67,6 @@ export default {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick (row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog () {
this.$emit("closeDialog");
},
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -93,8 +85,8 @@ export default {
startBusinessFlow({
bsmSqyw: this.sqywInfo.parentid,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......
......@@ -64,9 +64,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
qllxData: [],
......@@ -82,10 +82,10 @@ export default {
: this.sqywInfo.parentid,
};
},
mounted() {
mounted () {
sendThis(this);
},
created() {
created () {
//初始化权利类型下拉框内容
getQllxByBsmSqyw(this.bsmSqyw).then((res) => {
if (res.code === 200) {
......@@ -94,16 +94,8 @@ export default {
});
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
//默认加载表格信息
queryClick() {
queryClick () {
this.queryForm.bsmSqyw = this.bsmSqyw;
selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......@@ -113,7 +105,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
......@@ -140,7 +132,7 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
......
......@@ -7,34 +7,19 @@
<el-row>
<el-col :span="8">
<el-form-item label="自然幢号">
<el-input
placeholder="请输入自然幢号"
v-model="queryForm.zrzh"
clearable
class="width200px"
>
<el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="8">
<el-form-item label="不动产单元号">
<el-input
placeholder="请输入不动产单元号"
v-model="queryForm.bdcdyh"
clearable
class="width200px"
>
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="6">
<el-form-item label="项目名称">
<el-input
placeholder=""
v-model="queryForm.xmmc"
clearable
class="width200px"
>
<el-input placeholder="" v-model="queryForm.xmmc" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......@@ -48,19 +33,10 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table
ref="table"
@row-click="handleRowClick"
:page-size="pageData.pageSize"
:heightNum="400"
:current-page.sync="pageData.currentPage"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
@selection-change="handleSelectionChange"
:column="tableData.columns"
:data="tableData.data"
>
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button">
......@@ -79,10 +55,10 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -93,19 +69,11 @@ export default {
bdcdysz: [],
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
queryClick() {
queryClick () {
selectAllHInfo({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......@@ -114,7 +82,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -122,8 +90,8 @@ export default {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -141,7 +109,7 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
......
......@@ -55,9 +55,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -68,19 +68,11 @@ export default {
bdcdysz: [],
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
queryClick() {
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......@@ -90,7 +82,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -117,7 +109,7 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
......
......@@ -63,9 +63,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -76,19 +76,11 @@ export default {
bdcdysz: [],
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
queryClick() {
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......@@ -98,7 +90,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -125,14 +117,14 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
});
this.bdcdysz = val;
},
openBook(row) {
openBook (row) {
var param = {
bdcdyid: row.bdcdyid,
qllx: row.qllx,
......
......@@ -5,7 +5,7 @@
<el-form :model="queryForm" ref="queryForm" label-width="120px">
<el-row>
<el-col :span="10">
<el-form-item label="不动产单元号">
<el-form-item label="不动产单元号2">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px">
</el-input>
</el-form-item>
......@@ -49,9 +49,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -66,19 +66,11 @@ export default {
: this.sqywInfo.parentid,
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
queryClick() {
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......@@ -88,7 +80,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
......@@ -115,7 +107,7 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
this.bdcdysz = val;
},
},
......
......@@ -7,34 +7,19 @@
<el-row>
<el-col :span="8">
<el-form-item label="不动产权证号">
<el-input
placeholder="请输入不动产权证号"
v-model="queryForm.bdcqzh"
clearable
class="width200px"
>
<el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="8">
<el-form-item label="不动产单元号">
<el-input
placeholder="请输入不动产单元号"
v-model="queryForm.bdcdyh"
clearable
class="width200px"
>
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="6">
<el-form-item label="坐落">
<el-input
placeholder=""
v-model="queryForm.zl"
clearable
class="width200px"
>
<el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......@@ -48,19 +33,10 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table
ref="table"
@row-click="handleRowClick"
:page-size="pageData.pageSize"
:heightNum="400"
:current-page.sync="pageData.currentPage"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
@selection-change="handleSelectionChange"
:column="tableData.columns"
:data="tableData.data"
>
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button">
......@@ -79,9 +55,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -92,20 +68,12 @@ export default {
bdcdysz: [],
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......@@ -114,7 +82,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -122,8 +90,8 @@ export default {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -141,7 +109,7 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
......
......@@ -7,34 +7,19 @@
<el-row>
<el-col :span="8">
<el-form-item label="不动产权证号">
<el-input
placeholder="请输入不动产权证号"
v-model="queryForm.bdcqzh"
clearable
class="width200px"
>
<el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="8">
<el-form-item label="不动产单元号">
<el-input
placeholder="请输入不动产单元号"
v-model="queryForm.bdcdyh"
clearable
class="width200px"
>
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="6">
<el-form-item label="坐落">
<el-input
placeholder=""
v-model="queryForm.zl"
clearable
class="width200px"
>
<el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......@@ -48,19 +33,10 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table
ref="table"
@row-click="handleRowClick"
:page-size="pageData.pageSize"
:heightNum="400"
:current-page.sync="pageData.currentPage"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
@selection-change="handleSelectionChange"
:column="tableData.columns"
:data="tableData.data"
>
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button">
......@@ -79,9 +55,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -92,20 +68,12 @@ export default {
bdcdysz: [],
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......@@ -114,7 +82,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -122,8 +90,8 @@ export default {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -141,7 +109,7 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
......
......@@ -7,34 +7,19 @@
<el-row>
<el-col :span="8">
<el-form-item label="不动产权证号">
<el-input
placeholder="请输入不动产权证号"
v-model="queryForm.bdcqzh"
clearable
class="width200px"
>
<el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="8">
<el-form-item label="不动产单元号">
<el-input
placeholder="请输入不动产单元号"
v-model="queryForm.bdcdyh"
clearable
class="width200px"
>
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="6">
<el-form-item label="坐落">
<el-input
placeholder=""
v-model="queryForm.zl"
clearable
class="width200px"
>
<el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......@@ -48,19 +33,10 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table
ref="table"
@row-click="handleRowClick"
:page-size="pageData.pageSize"
:heightNum="400"
:current-page.sync="pageData.currentPage"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
@selection-change="handleSelectionChange"
:column="tableData.columns"
:data="tableData.data"
>
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button">
......@@ -79,9 +55,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => {} },
sqywInfo: { type: Object, default: () => { } },
},
data() {
data () {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -92,20 +68,12 @@ export default {
bdcdysz: [],
};
},
mounted() {
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick(row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog() {
this.$emit("closeDialog");
},
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......@@ -114,7 +82,7 @@ export default {
}
});
},
submitForm() {
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -122,8 +90,8 @@ export default {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"",
djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"",
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -141,7 +109,7 @@ export default {
}
});
},
handleSelectionChange(val) {
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
......
......@@ -12,7 +12,8 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......
......@@ -12,7 +12,8 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......
......@@ -14,6 +14,7 @@ class data extends filter {
type: 'selection',
label: '全选',
width: '30',
selectable: this.selected
},
{
label: '序号',
......@@ -88,7 +89,7 @@ class data extends filter {
)
}
},
{
{
label: "用途",
render: (h, scope) => {
return (
......
......@@ -12,7 +12,8 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......@@ -30,7 +31,7 @@ class data extends filter {
label: "状态",
render: (h, scope) => {
return (
<div>
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
......
......@@ -12,7 +12,8 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......@@ -31,7 +32,7 @@ class data extends filter {
label: "状态",
render: (h, scope) => {
return (
<div>
<div>
{/* <a v-on:click="doSomething"></a> */}
<a icon="el-icon-discover" style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<span icon="el-icon-discover" v-show={scope.row.zjgcdyzt == 1}>在建工程抵押</span>
......
......@@ -12,7 +12,8 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......
......@@ -12,7 +12,7 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
},
{
label: '序号',
......
......@@ -8,11 +8,12 @@ class data extends filter {
constructor() {
super()
}
columns() {
columns () {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......@@ -30,7 +31,7 @@ class data extends filter {
label: "状态",
render: (h, scope) => {
return (
<div>
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
......
......@@ -12,7 +12,8 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......
......@@ -12,7 +12,7 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
selectable: this.selected
},
{
label: '序号',
......
......@@ -12,7 +12,8 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......
......@@ -12,7 +12,8 @@ class data extends filter {
return [
{
type: 'selection',
label: '全选'
label: '全选',
selectable: this.selected
},
{
label: '序号',
......
......@@ -120,7 +120,7 @@ export default {
console.log(name, sort);
},
openDialog (item) {
const { href } = this.$router.resolve('/workFrameViewcs?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
window.open(href, '_blank');
}
}
......