Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2c771f97
authored
2023-09-18 09:57:20 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
into dev
2 parents
ee37d0b2
80db871c
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
1096 additions
and
1072 deletions
src/api/djyw.js
src/views/djbworkflow/djbBook/components/blxxtabs/lq.vue
src/views/registerBook/cfdj.vue
src/views/registerBook/components/djbDetail.vue
src/views/registerBook/components/printTemplate.vue
src/views/registerBook/diyaq.vue
src/views/registerBook/diyiq.vue
src/views/registerBook/fdcq2.vue
src/views/registerBook/jsydsyq.vue
src/views/registerBook/tdsyq.vue
src/views/registerBook/ygdj.vue
src/views/registerBook/yydj.vue
src/views/workflow/components/leftmenu/ordinaryMenu.vue
src/views/workflow/components/leftmenu/segmentMenu.vue
src/views/workflow/flowform.js
src/views/workflow/mixin/index.js
src/views/workflow/workFrame.vue
src/views/workflow/workFrameView.vue
src/views/xxba/components/addDialog.vue
src/views/xxba/components/clxx/dialog/clxxAddDialog.vue
src/views/xxba/components/clxx/dialog/clxxDetailDialog.vue
src/views/xxba/components/clxx/index.vue
src/views/xxba/qyxxba/index.vue
src/views/xxba/yhjgba/index.vue
src/views/ywbl/dbx/dbx.vue
src/views/ywbl/slsqxx/fdcq2/slxx.vue
src/views/ywbl/ybx/ybx.vue
src/views/ywbl/ywsq/components/mixin/jump.js
src/views/ywbl/ywsq/components/nydsyq200.vue
src/views/ywbl/ywsq/javascript/selectFwsyq.js
src/views/zhcx/jdcx/jdcx.vue
src/views/zhcx/zslqcx/zslqcx.js
src/views/zhcx/zslqcx/zslqcx.vue
src/api/djyw.js
0 → 100644
View file @
2c771f9
/*
* @Description: 登记业务信息接口
* @Autor: renchao
* @LastEditTime: 2023-09-15 14:16:20
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/**
* @description: 根据业务号查询系统参数数据
* @param {*} ywh
* @author: renchao
*/
export
function
getXtParamsByYwh
(
ywh
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/djyw/getXtParamsByYwh'
,
method
:
'get'
,
params
:
{
ywh
:
ywh
}
})
}
\ No newline at end of file
src/views/djbworkflow/djbBook/components/blxxtabs/lq.vue
View file @
2c771f9
...
...
@@ -15,8 +15,7 @@
:label-position="flag ? 'top' : ''"
:show-message="false"
:inline="flag"
label-width="190px"
>
label-width="190px">
<div
class=
"slxx_con"
v-if=
"isShow"
:class=
"flag ? 'formMarginBot0' : ''"
>
<div
class=
"slxx_title title-block"
>
申请业务信息
...
...
@@ -45,25 +44,21 @@
<el-form-item
label=
"上手权利信息:"
prop=
"ssQlxx.bdcqzh"
:rules=
"rules.ssQlxxrules"
>
:rules=
"rules.ssQlxxrules"
>
<select-table
v-model=
"ruleForm.ssQlxx"
:table-width=
"730"
:tableData=
"ssQlxxList"
:props=
"props"
@
change=
"ssQlxxchange"
>
@
change=
"ssQlxxchange"
>
<el-table-column
prop=
"qllxmc"
width=
"130"
label=
"权利类型"
></el-table-column>
label=
"权利类型"
></el-table-column>
<el-table-column
prop=
"bdcqzh"
width=
"160"
label=
"不动产权证书"
></el-table-column>
label=
"不动产权证书"
></el-table-column>
<el-table-column
prop=
"qlrmc"
label=
"权利人"
></el-table-column>
<el-table-column
prop=
"mjmc"
label=
"面积"
></el-table-column>
<el-table-column
prop=
"ytmc"
label=
"用途"
></el-table-column>
...
...
@@ -83,13 +78,11 @@
<el-form-item
label=
"业务号:"
prop=
"qlxx.ywh"
:rules=
"rules.ywhrules"
>
:rules=
"rules.ywhrules"
>
<el-input
maxlength=
"20"
onkeyup=
"this.value=this.value.replace(/[^\w_]/g,'');"
v-model=
"ruleForm.qlxx.ywh"
></el-input>
v-model=
"ruleForm.qlxx.ywh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -108,15 +101,13 @@
<el-form-item
label=
"登记类型:"
prop=
"qlxx.djlx"
:rules=
"rules.djlxrules"
>
:rules=
"rules.djlxrules"
>
<el-select
v-model=
"ruleForm.qlxx.djlx"
@
change=
"djlxchange"
>
<el-option
v-for=
"item in djlxlist"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -128,8 +119,7 @@
v-for=
"item in qsztlist"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -232,15 +222,13 @@
<el-input
maxlength=
"12"
v-model=
"ruleForm.lq.syqmj"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
>
</el-input>
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null">
</el-input>
<el-select
disabled
v-model=
"mjdw"
style=
"width: 68px"
>
<el-option
v-for=
"item in dictData['A7']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -262,15 +250,13 @@
<el-input
maxlength=
"11"
v-model=
"ruleForm.lq.qdjg"
style=
"width: 500%"
></el-input>
style=
"width: 500%"
></el-input>
<el-select
v-model=
"ruleForm.lq.jedw"
>
<el-option
v-for=
"item in dictData['A57']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -281,8 +267,7 @@
<el-form-item
label=
"不动产权证号:"
prop=
"qlxx.bdcqzh"
:rules=
"rules.bdcqzhrules"
>
:rules=
"rules.bdcqzhrules"
>
<el-input
v-model=
"ruleForm.qlxx.bdcqzh"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -299,8 +284,7 @@
<el-form-item
label=
"登记机构:"
prop=
"qlxx.djjg"
:rules=
"rules.djjgrules"
>
:rules=
"rules.djjgrules"
>
<el-input
v-model=
"ruleForm.qlxx.djjg"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -308,8 +292,7 @@
<el-form-item
label=
"登簿人:"
prop=
"qlxx.dbr"
:rules=
"rules.dbrrules"
>
:rules=
"rules.dbrrules"
>
<el-input
v-model=
"ruleForm.qlxx.dbr"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -317,16 +300,14 @@
<el-form-item
label=
"登记时间:"
prop=
"qlxx.djsj"
:rules=
"rules.djsjrules"
>
:rules=
"rules.djsjrules"
>
<el-date-picker
v-model=
"ruleForm.qlxx.djsj"
type=
"date"
class=
"width100"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
format=
"yyyy-MM-dd"
>
format=
"yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -338,8 +319,7 @@
v-model=
"ruleForm.lq.fj"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
show-word-limit
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -350,8 +330,7 @@
<tdytTable
:tableData=
"ruleForm.tdytqxList"
@
upDateTdytxxList=
"upDateTdytxxList"
:ableOperation=
"ableOperation"
/>
:ableOperation=
"ableOperation"
/>
<div
class=
"slxx_title title-block"
>
权利人信息
<div
class=
"triangle"
></div>
...
...
@@ -361,8 +340,7 @@
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"!ableOperation"
v-model=
"ruleForm.qlxx.gyfs"
>
v-model=
"ruleForm.qlxx.gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
<el-radio
label=
"1"
>
共同共有
</el-radio>
<el-radio
label=
"2"
>
按份所有
</el-radio>
...
...
@@ -376,8 +354,7 @@
@
upDateQlrxxList=
"upDateQlrxxList"
:key=
"key"
:ableOperation=
"ableOperation"
:gyfs=
"ruleForm.qlxx.gyfs"
/>
:gyfs=
"ruleForm.qlxx.gyfs"
/>
</div>
<el-row
class=
"btn"
v-if=
"ableOperation"
>
<el-form-item>
...
...
@@ -388,338 +365,339 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
store
from
"@/store/index.js"
;
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
{
init
,
getSsQlxx
,
getQlxxByQlxxBsm
,
save
}
from
"@/api/djbRepair.js"
;
import
qlrCommonTable
from
"@/views/djbworkflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
selectTable
from
"@/components/selectTable/index.vue"
;
export
default
{
mixins
:
[
ywmix
],
components
:
{
qlrCommonTable
,
tdytTable
,
selectTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
// 根据流程判断表单是否为只读
editDisabled
()
{
if
(
!
this
.
ableOperation
)
{
//只读状态
return
true
;
}
return
false
;
},
},
data
()
{
return
{
mjdw
:
"1"
,
ssqlxxshow
:
true
,
props
:
{
label
:
"bdcqzh"
,
value
:
"bdcdyid"
,
},
// 键名转换,方法默认是label和children进行树状渲染
normalizer
(
node
)
{
//方法
if
(
node
.
children
==
null
||
node
.
children
==
"null"
)
{
delete
node
.
children
;
import
{
mapGetters
}
from
"vuex"
;
import
store
from
"@/store/index.js"
;
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
{
init
,
getSsQlxx
,
getQlxxByQlxxBsm
,
save
}
from
"@/api/djbRepair.js"
;
import
qlrCommonTable
from
"@/views/djbworkflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
selectTable
from
"@/components/selectTable/index.vue"
;
export
default
{
mixins
:
[
ywmix
],
components
:
{
qlrCommonTable
,
tdytTable
,
selectTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
// 根据流程判断表单是否为只读
editDisabled
()
{
if
(
!
this
.
ableOperation
)
{
//只读状态
return
true
;
}
return
{
id
:
node
.
dcode
,
label
:
node
.
dname
,
};
return
false
;
},
//表单是否可操作
propsParam
:
this
.
$attrs
,
ableOperation
:
false
,
key
:
0
,
ssQlxxList
:
[],
// 登记类型
djlxlist
:
[
{
dcode
:
"100"
,
dname
:
"首次登记"
,
},
{
dcode
:
"200"
,
dname
:
"转移登记"
,
},
{
dcode
:
"300"
,
dname
:
"变更登记"
,
},
data
()
{
return
{
mjdw
:
"1"
,
ssqlxxshow
:
true
,
props
:
{
label
:
"bdcqzh"
,
value
:
"bdcdyid"
,
},
{
dcode
:
"500"
,
dname
:
"更正登记"
,
// 键名转换,方法默认是label和children进行树状渲染
normalizer
(
node
)
{
//方法
if
(
node
.
children
==
null
||
node
.
children
==
"null"
)
{
delete
node
.
children
;
}
return
{
id
:
node
.
dcode
,
label
:
node
.
dname
,
};
},
//表单是否可操作
propsParam
:
this
.
$attrs
,
ableOperation
:
false
,
key
:
0
,
ssQlxxList
:
[],
// 登记类型
djlxlist
:
[
{
dcode
:
"100"
,
dname
:
"首次登记"
,
},
{
dcode
:
"200"
,
dname
:
"转移登记"
,
},
{
dcode
:
"300"
,
dname
:
"变更登记"
,
},
{
dcode
:
"500"
,
dname
:
"更正登记"
,
},
{
dcode
:
"901"
,
dname
:
"补证"
,
},
{
dcode
:
"902"
,
dname
:
"换证"
,
},
],
// 权属状态
qsztlist
:
[
{
dcode
:
"1"
,
dname
:
"现势"
,
},
{
dcode
:
"2"
,
dname
:
"历史"
,
},
],
tdxz
:
null
,
isShow
:
false
,
disabled
:
true
,
czrOptions
:
[],
ruleForm
:
{},
//传递参数\
rules
:
{
ssQlxxrules
:
[
{
required
:
true
,
message
:
"上手权利信息"
,
trigger
:
"blur"
},
{
dcode
:
"901"
,
dname
:
"补证"
,
},
{
dcode
:
"902"
,
dname
:
"换证"
,
},
],
bdcqzhrules
:
[
{
required
:
true
,
message
:
"不动产权证号:"
,
trigger
:
"blur"
},
// 权属状态
qsztlist
:
[
{
dcode
:
"1"
,
dname
:
"现势"
,
},
{
dcode
:
"2"
,
dname
:
"历史"
,
},
],
// qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
djjgrules
:
[{
required
:
true
,
message
:
"登记机构"
,
trigger
:
"blur"
}],
dbrrules
:
[{
required
:
true
,
message
:
"登簿人"
,
trigger
:
"blur"
}],
djsjrules
:
[{
required
:
true
,
message
:
"登记时间"
,
trigger
:
"blur"
}],
djlxrules
:
[{
required
:
true
,
message
:
"登记类型"
,
trigger
:
"change"
}],
ywhrules
:
[{
required
:
true
,
message
:
"业务号"
,
trigger
:
"blur"
}],
},
};
},
created
()
{
this
.
loadData
();
},
mounted
()
{
this
.
ableOperation
=
this
.
$parent
.
ableOperation
;
},
methods
:
{
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ywh
;
this
.
ssQlxxchangediolog
(
val
);
tdxz
:
null
,
isShow
:
false
,
disabled
:
true
,
czrOptions
:
[],
ruleForm
:
{},
//传递参数\
rules
:
{
ssQlxxrules
:
[
{
required
:
true
,
message
:
"上手权利信息"
,
trigger
:
"blur"
},
],
bdcqzhrules
:
[
{
required
:
true
,
message
:
"不动产权证号:"
,
trigger
:
"blur"
},
],
// qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
djjgrules
:
[{
required
:
true
,
message
:
"登记机构"
,
trigger
:
"blur"
}],
dbrrules
:
[{
required
:
true
,
message
:
"登簿人"
,
trigger
:
"blur"
}],
djsjrules
:
[{
required
:
true
,
message
:
"登记时间"
,
trigger
:
"blur"
}],
djlxrules
:
[{
required
:
true
,
message
:
"登记类型"
,
trigger
:
"change"
}],
ywhrules
:
[{
required
:
true
,
message
:
"业务号"
,
trigger
:
"blur"
}],
},
};
},
created
()
{
this
.
loadData
();
},
// 弹框事件
/**
* @description: 弹框事件
* @param {*} val
* @author: renchao
*/
ssQlxxchangediolog
(
val
)
{
this
.
$confirm
(
"是否将上手权利信息同步到表单"
,
"提示"
,
{
iconClass
:
"el-icon-question"
,
//自定义图标样式
confirmButtonText
:
"确认"
,
//确认按钮文字更换
cancelButtonText
:
"取消"
,
//取消按钮文字更换
showClose
:
true
,
//是否显示右上角关闭按钮
type
:
"warning"
,
})
.
then
(()
=>
{
getQlxxByQlxxBsm
({
qlxxBsm
:
val
.
bsmQlxx
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
nowlist
=
res
.
result
;
for
(
var
key
in
this
.
ruleForm
.
lq
)
{
if
(
this
.
ruleForm
.
lq
[
key
]
==
""
||
this
.
ruleForm
.
lq
[
key
]
==
null
)
{
this
.
ruleForm
.
lq
[
key
]
=
this
.
nowlist
.
lq
[
key
];
mounted
()
{
this
.
ableOperation
=
this
.
$parent
.
ableOperation
;
},
methods
:
{
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ywh
;
this
.
ssQlxxchangediolog
(
val
);
},
// 弹框事件
/**
* @description: 弹框事件
* @param {*} val
* @author: renchao
*/
ssQlxxchangediolog
(
val
)
{
this
.
$confirm
(
"是否将上手权利信息同步到表单"
,
"提示"
,
{
iconClass
:
"el-icon-question"
,
//自定义图标样式
confirmButtonText
:
"确认"
,
//确认按钮文字更换
cancelButtonText
:
"取消"
,
//取消按钮文字更换
showClose
:
true
,
//是否显示右上角关闭按钮
type
:
"warning"
,
})
.
then
(()
=>
{
getQlxxByQlxxBsm
({
qlxxBsm
:
val
.
bsmQlxx
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
nowlist
=
res
.
result
;
for
(
var
key
in
this
.
ruleForm
.
lq
)
{
if
(
this
.
ruleForm
.
lq
[
key
]
==
""
||
this
.
ruleForm
.
lq
[
key
]
==
null
)
{
this
.
ruleForm
.
lq
[
key
]
=
this
.
nowlist
.
lq
[
key
];
}
}
}
for
(
var
key
in
this
.
ruleForm
.
qlxx
)
{
if
(
this
.
ruleForm
.
qlxx
[
key
]
==
""
||
(
this
.
ruleForm
.
qlxx
[
key
]
==
null
&&
key
!=
"ywh
"
&&
key
!=
"dbr
"
&&
key
!=
"djsj
"
&&
key
!=
"ssywh"
&&
key
!=
"ssywh"
&&
key
!=
"bdcqzh"
)
)
{
this
.
ruleForm
.
qlxx
[
key
]
=
this
.
nowlist
.
qlxx
[
key
];
for
(
var
key
in
this
.
ruleForm
.
qlxx
)
{
if
(
this
.
ruleForm
.
qlxx
[
key
]
==
""
||
(
this
.
ruleForm
.
qlxx
[
key
]
==
null
&&
key
!=
"ywh"
&&
key
!=
"dbr
"
&&
key
!=
"djsj
"
&&
key
!=
"ssywh
"
&&
key
!=
"ssywh"
&&
key
!=
"bdcqzh"
)
)
{
this
.
ruleForm
.
qlxx
[
key
]
=
this
.
nowlist
.
qlxx
[
key
];
}
}
if
(
!
this
.
ruleForm
.
tdytqxList
.
length
)
{
this
.
ruleForm
.
tdytqxList
=
this
.
nowlist
.
tdytqxList
;
}
if
(
!
this
.
ruleForm
.
qlrData
.
length
)
{
this
.
ruleForm
.
qlrData
=
this
.
nowlist
.
qlrData
;
}
if
(
!
this
.
ruleForm
.
ywrData
.
length
)
{
this
.
ruleForm
.
ywrData
=
this
.
nowlist
.
ywrData
;
}
this
.
$message
({
type
:
"success"
,
message
:
"同步成功!"
,
});
}
if
(
!
this
.
ruleForm
.
tdytqxList
.
length
)
{
this
.
ruleForm
.
tdytqxList
=
this
.
nowlist
.
tdytqxList
;
}
if
(
!
this
.
ruleForm
.
qlrData
.
length
)
{
this
.
ruleForm
.
qlrData
=
this
.
nowlist
.
qlrData
;
}
if
(
!
this
.
ruleForm
.
ywrData
.
length
)
{
this
.
ruleForm
.
ywrData
=
this
.
nowlist
.
ywrData
;
}
this
.
$message
({
type
:
"success"
,
message
:
"同步成功!"
,
});
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消同步"
,
});
});
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange
(
val
)
{
if
(
val
==
null
||
val
==
100
)
{
this
.
ssqlxxshow
=
false
;
}
else
{
this
.
ssqlxxshow
=
true
;
}
},
// 字典
/**
* @description: 字典
* @param {*} val
* @author: renchao
*/
getDictData
(
val
)
{
return
store
.
getters
.
dictData
[
val
];
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
;
init
(
this
.
propsParam
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ruleForm
=
res
.
result
;
let
djlx
=
this
.
ruleForm
.
qlxx
.
djlx
;
if
(
djlx
==
null
||
djlx
==
100
)
{
this
.
ssqlxxshow
=
false
;
}
this
.
$endLoading
();
if
(
this
.
ruleForm
.
tdytqxList
.
length
>
0
)
{
this
.
tdxz
=
this
.
ruleForm
.
tdytqxList
[
0
].
qlxzbm
;
}
else
{
this
.
tdxz
=
null
;
}
this
.
isShow
=
true
;
//获取主体信息
getSsQlxx
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
bsmQlxx
:
this
.
ruleForm
.
qlxx
.
bsmQlxx
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ssQlxxList
=
res
.
result
;
}
});
}
});
},
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 保存
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
let
arr
=
this
.
ruleForm
.
tdytqxList
.
filter
((
item
)
=>
!
item
.
yt
);
if
(
arr
.
length
>
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"土地用途不能为空"
,
type
:
"error"
,
});
return
false
;
}
if
(
this
.
ruleForm
.
qlrData
.
length
==
0
)
{
})
.
catch
(()
=>
{
this
.
$message
({
showClose
:
true
,
message
:
"请确认权利人信息"
,
type
:
"error"
,
type
:
"info"
,
message
:
"已取消同步"
,
});
});
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange
(
val
)
{
if
(
val
==
null
||
val
==
100
)
{
this
.
ssqlxxshow
=
false
;
}
else
{
this
.
ssqlxxshow
=
true
;
}
},
// 字典
/**
* @description: 字典
* @param {*} val
* @author: renchao
*/
getDictData
(
val
)
{
return
store
.
getters
.
dictData
[
val
];
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
;
init
(
this
.
propsParam
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ruleForm
=
res
.
result
;
let
djlx
=
this
.
ruleForm
.
qlxx
.
djlx
;
if
(
djlx
==
null
||
djlx
==
100
)
{
this
.
ssqlxxshow
=
false
;
}
this
.
$endLoading
();
if
(
this
.
ruleForm
.
tdytqxList
.
length
>
0
)
{
this
.
tdxz
=
this
.
ruleForm
.
tdytqxList
[
0
].
qlxzbm
;
}
else
{
this
.
tdxz
=
null
;
}
this
.
isShow
=
true
;
//获取主体信息
getSsQlxx
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
bsmQlxx
:
this
.
ruleForm
.
qlxx
.
bsmQlxx
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ssQlxxList
=
res
.
result
;
}
});
return
false
;
}
if
(
this
.
ruleForm
.
qlxx
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrData
.
length
>
1
)
{
});
},
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 保存
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
let
arr
=
this
.
ruleForm
.
tdytqxList
.
filter
((
item
)
=>
!
item
.
yt
);
if
(
arr
.
length
>
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"
共有方式:单独所有,权利人只能是一个人
"
,
message
:
"
土地用途不能为空
"
,
type
:
"error"
,
});
return
false
;
}
}
else
{
if
(
this
.
ruleForm
.
qlrData
.
length
<=
1
)
{
if
(
this
.
ruleForm
.
qlrData
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
message
:
"请确认权利人信息"
,
type
:
"error"
,
});
return
false
;
}
}
save
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$parent
.
changeywh
();
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
if
(
this
.
ruleForm
.
qlxx
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrData
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
if
(
this
.
ruleForm
.
qlrData
.
length
<=
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
type
:
"error"
,
});
return
false
;
}
}
});
}
else
{
return
false
;
}
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
save
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$parent
.
changeywh
();
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
});
}
else
{
return
false
;
}
});
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/slxx/slxx.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/slxx/slxx.scss"
;
</
style
>
...
...
src/views/registerBook/cfdj.vue
View file @
2c771f9
...
...
@@ -5,7 +5,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxcfdj"
:tableData=
"tableData"
:render=
"render"
/>
</div>
<div
class=
"tableBox"
>
...
...
@@ -85,35 +87,31 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
<
script
>
import
printTemplate
from
"./components/printTemplate.vue"
;
import
djbDetail
from
"./components/djbDetail.vue"
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getCfdjList
}
from
"@/api/djbDetail.js"
;
export
default
{
components
:
{
printTemplate
,
djbDetail
},
data
()
{
return
{
printObj
:
{
id
:
"box"
,
//其他配置项,
},
shows
:
false
,
title
:
"查封登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
CFDJ
,
render
:
false
,
...
...
@@ -124,35 +122,6 @@
},
methods
:
{
/**
* @description: openPrint
* @author: miaofang
*/
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
/**
* @description: prinsss
* @author: miaofang
*/
prinsss
()
{
printJS
({
printable
:
"boxcfdj"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
},
/**
* @description: loadData
* @author: renchao
*/
...
...
@@ -187,60 +156,60 @@
}
});
},
/**
* @description: checkChange
* @author: renchao
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @author: renchao
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: renchao
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
/
/ /
**
//
* @description: checkChange
//
* @author: renchao
//
*/
//
checkChange () {
//
if (this.checkList.length === 0) {
//
this.tableData = [];
//
this.emptycolNum = datas.columns().emptycolNum;
//
} else {
//
this.loadData();
//
}
//
},
/
/ /
**
//
* @description: getQsztName
//
* @author: renchao
//
*/
//
getQsztName (code) {
//
let name = "";
//
for (let item of this.qsztList) {
//
if (item.value == code) {
//
name = item.label;
//
break;
//
}
//
}
//
return name;
//
},
//
//
新增一条补录信息
/
/ /
**
//
* @description: 新增一条补录信息
//
* @param {*} row
//
* @param {*} del
//
* @author: renchao
//
*/
//
editDialog (row, del) {
//
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(() => {
//
this.$parent.addRepairRecord(row, del);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
//
this.$message({
//
type: "success",
//
message: "补录成功!",
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "取消编辑",
//
});
//
});
//
},
},
};
</
script
>
...
...
src/views/registerBook/components/djbDetail.vue
View file @
2c771f9
...
...
@@ -13,7 +13,7 @@
</div>
<div
class=
"title"
>
{{
title
}}
<el-button
class=
"print"
v-show=
"shows"
@
click=
"openPrint()"
>
打印
</el-button>
<el-button
class=
"print"
v-show=
"shows"
@
click=
"openPrint()"
>
打印
1
</el-button>
<div
class=
"checkbox"
>
<el-checkbox-group
v-model=
"checkList"
@
change=
"checkChange"
>
<el-checkbox
...
...
@@ -133,6 +133,7 @@
},
methods
:
{
openPrint
()
{
console
.
log
(
"tableData"
,
this
.
tableDataaaa
);
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
...
...
src/views/registerBook/components/printTemplate.vue
View file @
2c771f9
...
...
@@ -69,6 +69,8 @@ export default {
},
render
:
{
handler
(
newValue
,
oldValue
)
{
console
.
log
(
"newValue"
,
newValue
);
console
.
log
(
"columns"
,
this
.
columns
);
if
(
newValue
)
{
this
.
loadData
();
}
...
...
@@ -88,6 +90,7 @@ export default {
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
columns
=
res
.
result
;
console
.
log
(
"columnssssssssssss"
,
this
.
columns
);
}
});
if
(
this
.
tableData
.
length
&&
this
.
datass
.
length
==
0
)
{
...
...
src/views/registerBook/diyaq.vue
View file @
2c771f9
...
...
@@ -5,7 +5,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxdiyaq"
:tableData=
"tableData"
:render=
"render"
/>
</div>
<div
class=
"tableBox"
>
...
...
@@ -87,35 +89,31 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
<
script
>
import
djbDetail
from
"./components/djbDetail.vue"
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
,
getDictLeabel
}
from
"@/utils/dictionary.js"
;
import
{
getDiyaqList
}
from
"@/api/djbDetail.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
export
default
{
components
:
{
printTemplate
,
djbDetail
},
data
()
{
return
{
printObj
:
{
id
:
"box"
,
//其他配置项,
},
shows
:
false
,
title
:
"抵押权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
DYAQ
,
render
:
false
,
...
...
@@ -125,35 +123,35 @@
this
.
loadData
();
},
methods
:
{
/**
* @description: openPrint
* @author: miaofang
*/
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
/**
* @description: prinsss
* @author: miaofang
*/
prinsss
()
{
printJS
({
printable
:
"boxdiyaq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
},
//
/**
//
* @description: openPrint
//
* @author: miaofang
//
*/
//
openPrint () {
//
this.render = true;
//
setTimeout(() => {
//
this.prinsss();
//
}, 100);
//
},
//
/**
//
* @description: prinsss
//
* @author: miaofang
//
*/
//
prinsss () {
//
printJS({
//
printable: "boxdiyaq", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
//
type: "html",
//
maxWidth: 800, // 最大宽度
//
font_size: "", // 不设置则使用默认字体大小
//
style: `@font-face {
//
font-family: "STZHONGS";
//
src: url(${window.ttf}) format("truetype");
//
}`,
//
// 继承原来的所有样式
//
targetStyles: ["*"],
//
});
//
this.render = false
//
},
/**
* @description: loadData
* @author: renchao
...
...
@@ -183,60 +181,60 @@
}
});
},
/**
* @description: checkChange
* @author: renchao
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: renchao
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: renchao
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
/
/ /
**
//
* @description: checkChange
//
* @author: renchao
//
*/
//
checkChange () {
//
if (this.checkList.length === 0) {
//
this.tableData = [];
//
this.emptycolNum = datas.columns().emptycolNum;
//
} else {
//
this.loadData();
//
}
//
},
/
/ /
**
//
* @description: getQsztName
//
* @param {*} code
//
* @author: renchao
//
*/
//
getQsztName (code) {
//
let name = "";
//
for (let item of this.qsztList) {
//
if (item.value == code) {
//
name = item.label;
//
break;
//
}
//
}
//
return name;
//
},
//
//
新增一条补录信息
/
/ /
**
//
* @description: 新增一条补录信息
//
* @param {*} row
//
* @param {*} del
//
* @author: renchao
//
*/
//
editDialog (row, del) {
//
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(() => {
//
this.$parent.addRepairRecord(row, del);
//
this.$message({
//
type: "success",
//
message: "补录成功!",
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "取消编辑",
//
});
//
});
//
},
},
};
</
script
>
...
...
src/views/registerBook/diyiq.vue
View file @
2c771f9
...
...
@@ -5,7 +5,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxdiyiq"
:tableData=
"tableData"
:render=
"render"
/>
</div>
<div
class=
"tableBox"
>
...
...
@@ -98,35 +100,31 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
<
script
>
import
djbDetail
from
"./components/djbDetail.vue"
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
,
getDictLeabel
}
from
"@/utils/dictionary.js"
;
import
{
getDiyiqList
}
from
"@/api/djbDetail.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
export
default
{
components
:
{
printTemplate
,
djbDetail
},
data
()
{
return
{
printObj
:
{
id
:
"box"
,
//其他配置项,
},
shows
:
false
,
title
:
"地役权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
DYIQ
,
render
:
false
,
...
...
@@ -136,34 +134,34 @@ export default {
this
.
loadData
();
},
methods
:
{
/**
* @description: openPrint
* @author: miaofang
*/
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
/**
* @description: prinsss
* @author: miaofang
*/
prinsss
()
{
printJS
({
printable
:
"boxdiyiq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
},
//
* @description: openPrint
//
* @author: miaofang
//
*/
//
openPrint() {
//
this.render = true;
//
setTimeout(() => {
//
this.prinsss();
//
}, 100);
//
},
/
/ /
**
//
* @description: prinsss
//
* @author: miaofang
//
*/
//
prinsss() {
//
printJS({
//
printable: "boxdiyiq", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
//
type: "html",
//
maxWidth: 800, // 最大宽度
//
font_size: "", // 不设置则使用默认字体大小
//
style: `@font-face {
//
font-family: "STZHONGS";
//
src: url(${window.ttf}) format("truetype");
//
}`,
//
// 继承原来的所有样式
//
targetStyles: ["*"],
//
});
//
this.render=false
//
},
/**
* @description: loadData
* @author: miaofang
...
...
@@ -193,61 +191,61 @@ export default {
}
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
//
/**
//
* @description: checkChange
//
* @author: miaofang
//
*/
//
checkChange() {
//
if (this.checkList.length === 0) {
//
this.tableData = [];
//
this.emptycolNum = datas.columns().emptycolNum;
//
} else {
//
this.loadData();
//
}
//
},
//
/**
//
* @description: getQsztName
//
* @param {*} code
//
* @author: miaofang
//
*/
//
getQsztName(code) {
//
let name = "";
//
for (let item of this.qsztList) {
//
if (item.value == code) {
//
name = item.label;
//
break;
//
}
//
}
//
return name;
//
},
//
// 新增一条补录信息
//
/**
//
* @description: 新增一条补录信息
//
* @param {*} row
//
* @param {*} del
//
* @author: miaofang
//
*/
//
editDialog(row, del) {
//
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(() => {
//
this.$parent.addRepairRecord(row, del);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
//
this.$message({
//
type: "success",
//
message: "补录成功!",
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "取消编辑",
//
});
//
});
//
},
},
};
</
script
>
...
...
src/views/registerBook/fdcq2.vue
View file @
2c771f9
...
...
@@ -5,14 +5,14 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxfdcq"
:tableData=
"tableData"
:render=
"render"
/>
</div>
-->
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
class=
"tableBox"
>
<div
class=
"title"
>
{{
title
}}
...
...
@@ -100,10 +100,8 @@
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getFdcq2List
}
from
"@/api/djbDetail.js"
;
import
djbDetail
from
"./components/djbDetail.vue"
import
printTemplate
from
"./components/printTemplate.vue"
;
export
default
{
components
:
{
printTemplate
,
djbDetail
},
...
...
src/views/registerBook/jsydsyq.vue
View file @
2c771f9
...
...
@@ -5,7 +5,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxjsydsyq"
:tableData=
"tableData"
...
...
@@ -30,7 +32,6 @@
</div>
</div>
<div
class=
"xxTableBox rollTable"
>
<!-- 固定前三个 -->
<table
class=
"xxTable"
>
<tr
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<td>
...
...
@@ -102,7 +103,7 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
...
...
src/views/registerBook/tdsyq.vue
View file @
2c771f9
...
...
@@ -5,16 +5,25 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<printTemplate
id=
"boxtdsyq"
:tableData=
"tableData"
:render=
"render"
/>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxtdsyq"
:tableData=
"tableData"
:render=
"render"
/>
</div>
<div
class=
"tableBox"
>
<div
class=
"title"
>
{{
title
}}
<el-button
class=
"print"
v-show=
"shows"
@
click=
"openPrint()"
>
打印
</el-button>
<el-button
class=
"print"
v-show=
"shows"
@
click=
"openPrint()"
>
打印
</el-button
>
<div
class=
"checkbox"
>
<el-checkbox-group
v-model=
"checkList"
@
change=
"checkChange"
>
<el-checkbox
v-for=
"item in qsztList"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
<el-checkbox
v-for=
"item in qsztList"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox
>
</el-checkbox-group>
</div>
</div>
...
...
@@ -25,21 +34,38 @@
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
row.qlzt == '4' ? 'linshi' : '',
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
row.qlzt == '4' ? 'linshi' : '',
item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : ''
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'&&row.sjlx !='系统数据'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row,'D')"
>
删除
</el-button>
item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '',
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz' && row.sjlx != '系统数据'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row, 'D')"
>
删除
</el-button
>
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' &&row.qlzt == '1'"
>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' &&
row.qlzt == '1'"
>
有效
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '2'"
>
...
...
@@ -52,14 +78,20 @@
正在注销
</div>
<p
v-if=
"!['djyy','fj'].includes(item.prop)"
>
<p
v-if=
"!['djyy',
'fj'].includes(item.prop)"
>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
</p>
<el-tooltip
v-else
effect=
"dark"
:content=
"row[item.prop]"
placement=
"top"
popper-class=
"tooltip-width"
>
<el-tooltip
v-else
effect=
"dark"
:content=
"row[item.prop]"
placement=
"top"
popper-class=
"tooltip-width"
>
<span
class=
"ellipsis-line"
>
{{
row
[
item
.
prop
]
}}
</span>
...
...
@@ -69,14 +101,14 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getTdsyqList
}
from
"@/api/djbDetail.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getTdsyqList
}
from
"@/api/djbDetail.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
export
default
{
components
:
{
...
...
@@ -88,33 +120,33 @@ export default {
id
:
"box"
,
//其他配置项,
},
shows
:
false
,
title
:
"土地所有权信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
TDSYQ
,
render
:
false
};
},
created
()
{
this
.
loadData
();
},
methods
:
{
openPrint
()
{
this
.
render
=
true
setTimeout
(()
=>
{
this
.
prinsss
()
},
100
)
shows
:
false
,
title
:
"土地所有权信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
TDSYQ
,
render
:
false
,
};
},
created
()
{
this
.
loadData
();
},
methods
:
{
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
prinsss
()
{
printJS
({
prinsss
()
{
printJS
({
printable
:
"boxtdsyq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
...
...
@@ -124,103 +156,103 @@ export default {
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
]
targetStyles
:
[
"*"
]
,
});
this
.
render
=
false
this
.
render
=
false
;
},
/**
* @description: loadData
* @author: miaofang
*/
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
})
}
getTdsyqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
shows
=
this
.
tableData
.
length
>
0
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
/**
* @description: loadData
* @author: miaofang
*/
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
,
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
getTdsyqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
shows
=
this
.
tableData
.
length
>
0
;
this
.
tableData
.
forEach
((
item
)
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
);
});
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
'此操作将新增一条补录信息, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
)
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
this
.
$message
({
type
:
'success'
,
message
:
'补录成功!'
type
:
"success"
,
message
:
"补录成功!"
,
});
}).
catch
(()
=>
{
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消编辑'
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
},
};
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
.title
{
@import
"./qlxxCommon.scss"
;
.title
{
position
:
relative
;
.print
{
//
background-color
:
#0079fe
;
...
...
src/views/registerBook/ygdj.vue
View file @
2c771f9
...
...
@@ -5,7 +5,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxygdj"
:tableData=
"tableData"
:render=
"render"
/>
</div>
<div
class=
"tableBox"
>
...
...
@@ -93,7 +95,7 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
...
...
@@ -114,14 +116,14 @@ export default {
// },
shows
:
false
,
title
:
"预告登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
YGDJ
,
render
:
false
...
...
@@ -131,27 +133,27 @@ export default {
this
.
loadData
();
},
methods
:
{
openPrint
(){
this
.
render
=
true
setTimeout
(()
=>
{
this
.
prinsss
()
},
100
)
},
prinsss
(){
printJS
({
printable
:
"boxygdj"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
]
});
this
.
render
=
false
},
//
openPrint(){
//
this.render=true
//
setTimeout(() => {
//
this.prinsss()
//
}, 100)
//
},
//
prinsss(){
//
printJS({
//
printable: "boxygdj", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
//
type: "html",
//
maxWidth: 800, // 最大宽度
//
font_size: "", // 不设置则使用默认字体大小
//
style: `@font-face {
//
font-family: "STZHONGS";
//
src: url(${window.ttf}) format("truetype");
//
}`,
//
// 继承原来的所有样式
//
targetStyles: ["*"]
//
});
//
this.render=false
//
},
/**
* @description: loadData
* @author: miaofang
...
...
src/views/registerBook/yydj.vue
View file @
2c771f9
...
...
@@ -5,7 +5,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxyydj"
:tableData=
"tableData"
...
...
@@ -99,7 +101,7 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
...
...
@@ -107,11 +109,11 @@
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getYydjList
}
from
"@/api/djbDetail.js"
;
import
{
getSjlx
,
getDictLeabel
}
from
"@/utils/dictionary.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
export
default
{
components
:
{
printTemplate
,
},
import
djbDetail
from
"./components/djbDetail.vue"
export
default
{
components
:
{
djbDetail
},
data
()
{
return
{
printObj
:
{
...
...
@@ -137,27 +139,27 @@ export default {
this
.
loadData
();
},
methods
:
{
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
prinsss
()
{
printJS
({
printable
:
"boxyydj"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
},
//
openPrint() {
//
this.render = true;
//
setTimeout(() => {
//
this.prinsss();
//
}, 100);
//
},
//
prinsss() {
//
printJS({
//
printable: "boxyydj", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
//
type: "html",
//
maxWidth: 800, // 最大宽度
//
font_size: "", // 不设置则使用默认字体大小
//
style: `@font-face {
//
font-family: "STZHONGS";
//
src: url(${window.ttf}) format("truetype");
//
}`,
//
// 继承原来的所有样式
//
targetStyles: ["*"],
//
});
//
this.render=false
//
},
/**
* @description: loadData
* @author: miaofang
...
...
@@ -190,61 +192,61 @@ export default {
}
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
/
/ /
**
//
* @description: checkChange
//
* @author: miaofang
//
*/
//
checkChange() {
//
if (this.checkList.length === 0) {
//
this.tableData = [];
//
this.emptycolNum = datas.columns().emptycolNum;
//
} else {
//
this.loadData();
//
}
//
},
/
/ /
**
//
* @description: getQsztName
//
* @param {*} code
//
* @author: miaofang
//
*/
//
getQsztName(code) {
//
let name = "";
//
for (let item of this.qsztList) {
//
if (item.value == code) {
//
name = item.label;
//
break;
//
}
//
}
//
return name;
//
},
//
//
新增一条补录信息
/
/ /
**
//
* @description: 新增一条补录信息
//
* @param {*} row
//
* @param {*} del
//
* @author: miaofang
//
*/
//
editDialog(row, del) {
//
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(() => {
//
this.$parent.addRepairRecord(row, del);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
//
this.$message({
//
type: "success",
//
message: "补录成功!",
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "取消编辑",
//
});
//
});
//
},
},
};
</
script
>
...
...
src/views/workflow/components/leftmenu/ordinaryMenu.vue
View file @
2c771f9
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-09-1
3 14:21:14
* @LastEditTime: 2023-09-1
5 17:06:29
-->
<
template
>
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
...
...
@@ -45,12 +45,14 @@
import
{
mapGetters
}
from
'vuex'
import
{
leftMenu
,
deleteSlbdcdy
,
jdcxLeftMenu
}
from
"@/api/workFlow.js"
export
default
{
props
:
{
paramData
:
{
type
:
Object
,
default
:
()
=>
{
}
}
},
data
()
{
return
{
//受理申请标识码
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//当前流程所在环节
bestepid
:
this
.
$route
.
query
.
bestepid
,
// 默认选中
activeIndex
:
'0'
,
// 折叠
...
...
@@ -65,9 +67,6 @@
currentSelectProps
:
{}
}
},
mounted
()
{
this
.
loadBdcdylist
();
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
...
...
@@ -79,7 +78,16 @@
}
},
immediate
:
true
}
},
paramData
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
{
this
.
loadBdcdylist
()
}
},
immediate
:
true
,
deep
:
true
},
},
methods
:
{
/**
...
...
@@ -89,13 +97,11 @@
loadBdcdylist
()
{
let
that
=
this
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
if
(
this
.
$route
.
query
.
bestepid
)
{
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
}
if
(
this
.
$route
.
query
.
bsmBusiness
)
{
formdata
.
append
(
"bsmBusiness"
,
this
.
$route
.
query
.
bsmBusiness
);
}
// 受理申请标识码
formdata
.
append
(
"bsmSlsq"
,
this
.
paramData
.
bsmSlsq
);
// 当前流程所在环节
formdata
.
append
(
"bestepid"
,
this
.
paramData
.
bestepid
);
formdata
.
append
(
"bsmBusiness"
,
this
.
paramData
.
bsmBusiness
);
if
(
this
.
$route
.
query
.
type
==
'jdcx'
)
{
jdcxLeftMenu
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
...
...
src/views/workflow/components/leftmenu/segmentMenu.vue
View file @
2c771f9
<!--
* @Description: workFrame左侧菜单列表-分割
* @Autor: renchao
* @LastEditTime: 2023-09-1
2 13:32:29
* @LastEditTime: 2023-09-1
5 15:02:25
-->
<
template
>
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
...
...
@@ -61,10 +61,6 @@
export
default
{
data
()
{
return
{
//受理申请标识码
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//当前流程所在环节
bestepid
:
this
.
$route
.
query
.
bestepid
,
// 变更前单元默认选中
activeIndex
:
'0'
,
// 变更后单元默认选中
...
...
@@ -105,13 +101,11 @@
loadBdcdylist
()
{
let
that
=
this
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
if
(
this
.
$route
.
query
.
bestepid
)
{
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
}
if
(
this
.
$route
.
query
.
bsmBusiness
)
{
formdata
.
append
(
"bsmBusiness"
,
this
.
$route
.
query
.
bsmBusiness
);
}
// 受理申请标识码
formdata
.
append
(
"bsmSlsq"
,
this
.
paramData
.
bsmSlsq
);
// 当前流程所在环节
formdata
.
append
(
"bestepid"
,
this
.
paramData
.
bestepid
);
formdata
.
append
(
"bsmBusiness"
,
this
.
paramData
.
bsmBusiness
);
if
(
this
.
$route
.
query
.
type
==
'jdcx'
)
{
jdcxLeftMenu
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
...
...
@@ -152,7 +146,6 @@
})
}
},
//批量按钮判断
/**
* @description: 批量按钮判断
* @author: renchao
...
...
@@ -202,9 +195,9 @@
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
})
;
})
;
message
:
"已取消删除"
})
})
},
/**
* @description: 批量按钮点击事件
...
...
@@ -214,7 +207,6 @@
this
.
currentSelectProps
.
batchOperation
=
true
;
// this.activeIndex = "-1";
this
.
$parent
.
stepForm
(
0
);
},
/**
* @description: 申请单元点击事件
...
...
src/views/workflow/flowform.js
View file @
2c771f9
...
...
@@ -3,14 +3,12 @@
* @Autor: renchao
* @LastEditTime: 2023-09-12 09:41:27
*/
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} tabName
* @param {*} djywbm
* @author: renchao
*/
export
function
getForm
(
tabName
,
djywbm
)
{
export
function
getForm
(
tabName
)
{
let
form
;
switch
(
tabName
)
{
case
"tdsyqslxx"
:
...
...
src/views/workflow/mixin/index.js
View file @
2c771f9
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
5 14:44:53
* @LastEditTime: 2023-09-1
8 09:32:09
*/
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
import
{
uploadUndo
}
from
"@/api/clxx"
;
import
{
getLodop
}
from
"@/utils/LodopFuncs"
import
{
getXtParamsByYwh
}
from
"@/api/djyw.js"
import
{
stepExpandInfo
,
record
,
...
...
@@ -38,11 +39,19 @@ export default {
batchButtonName
:
''
,
// 受理申请信息
slsq
:
{},
dqhj
:
""
dqhj
:
""
,
// 业务流程需要的参数
paramData
:
{},
}
},
mounted
()
{
this
.
flowInitParam
();
created
()
{
// 根据业务号获取系统参数
getXtParamsByYwh
(
this
.
$route
.
query
.
ywh
).
then
(
res
=>
{
this
.
paramData
=
res
.
result
console
.
log
(
this
.
paramData
,
'this.paramData'
);
this
.
isShowMenu
=
true
this
.
flowInitParam
();
})
},
methods
:
{
/**
...
...
@@ -51,8 +60,8 @@ export default {
*/
flowInitParam
()
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
formdata
.
append
(
"bsmSlsq"
,
this
.
paramData
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
paramData
.
bestepid
);
if
(
this
.
type
)
{
formdata
.
append
(
"type"
,
"READ_ONLY"
);
}
...
...
@@ -68,7 +77,6 @@ export default {
}
})
},
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} item
...
...
@@ -240,8 +248,8 @@ export default {
})
})
break
;
case
"B10"
:
break
;
case
"B10"
:
break
;
case
"rm"
:
this
.
del
()
break
;
...
...
@@ -280,7 +288,6 @@ export default {
});
});
},
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
...
...
@@ -293,7 +300,6 @@ export default {
tabList
:
this
.
tabList
},
'800px'
,
true
)
},
//转出最后一个流程
/**
* @description: 转出最后一个流程
* @param {*} obj
...
...
@@ -306,7 +312,6 @@ export default {
tabList
:
this
.
tabList
},
'800px'
,
true
)
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
...
...
@@ -316,8 +321,7 @@ export default {
width
:
"50%"
,
btnShow
:
false
,
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
,
dataList
:
this
.
unitData
})
},
/**
...
...
src/views/workflow/workFrame.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
4 17:19:13
* @LastEditTime: 2023-09-1
5 17:01:12
-->
<
template
>
<div
class=
"container"
>
...
...
@@ -38,10 +38,12 @@
<!-- 内容框架 -->
<div
class=
"containerFrame"
>
<!-- 左侧菜单栏 区分业务-->
<segmentMenu
v-if=
"['A0320099', 'A0330099'].includes(slsq.djqxbm)"
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<ordinaryMenu
v-else
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<div
v-if=
"isShowMenu"
>
<segmentMenu
:paramData=
"paramData"
v-if=
"['A0320099', 'A0330099'].includes(slsq.djqxbm)"
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<ordinaryMenu
:paramData=
"paramData"
v-else
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
</div>
<div
class=
"leftCon"
>
<!-- 分屏左侧预览 -->
<div
v-if=
"splitScreen"
class=
"splitScreen-con"
>
...
...
@@ -51,7 +53,7 @@
<div
class=
"rightContainer"
>
<div
class=
"count"
>
当前流程所在环节:
<span>
{{
this
.
zbhj
}}
</span>
<span>
{{
$route
.
query
.
zbhj
}}
</span>
</div>
<el-tabs
v-model=
"tabName"
...
...
@@ -132,17 +134,8 @@
mixins
:
[
WorkFlow
,
publicFlow
],
data
()
{
return
{
// printObj: {
// id: "box",
// preview: true,
// },
isDialog
:
false
,
//受理申请标识码
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//当前流程所在环节
bestepid
:
this
.
$route
.
query
.
bestepid
,
//当前流程所在环节
zbhj
:
this
.
$route
.
query
.
zbhj
,
// 左侧是否显示,获取完成系统参数之后再显示
isShowMenu
:
false
,
//设置那个表单选中
tabName
:
""
,
//设置那个表单选择
...
...
@@ -166,7 +159,7 @@
bsmZd
:
""
,
Receiptdata
:
{},
shows
:
false
}
;
}
},
mounted
()
{
this
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
...
...
@@ -185,7 +178,7 @@
// 获取打印回执数据
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
currentSelectProps
.
bsmSldy
);
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bsmSlsq"
,
this
.
paramData
.
bsmSlsq
);
formdata
.
append
(
"djlx"
,
this
.
currentSelectProps
.
djlx
);
BatchInit
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
...
...
@@ -195,7 +188,7 @@
this
.
prinsss
()
},
100
)
}
else
{
this
.
$message
.
error
(
res
.
message
)
;
this
.
$message
.
error
(
res
.
message
)
}
})
},
...
...
@@ -211,7 +204,7 @@
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
]
})
;
})
},
/**
* @description: getCurrentSelectProps
...
...
@@ -219,7 +212,7 @@
* @author: renchao
*/
getCurrentSelectProps
(
val
)
{
this
.
currentSelectProps
=
val
;
this
.
currentSelectProps
=
val
},
/**
* @description: beforeunloadHandler
...
...
@@ -238,7 +231,7 @@
//判断是窗口关闭还是刷新
if
(
this
.
_gap_time
<=
10
)
{
//取消认领
unClaimTask
(
this
.
bsmSlsq
,
this
.
bestepid
);
unClaimTask
(
this
.
paramData
.
bsmSlsq
,
this
.
paramData
.
bestepid
)
}
},
/**
...
...
@@ -249,7 +242,6 @@
stepForm
(
index
)
{
getStepFormInfo
(
this
.
currentSelectProps
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
// this.fresh++;
//获取单元对应的所有表单信息
this
.
tabList
=
res
.
result
;
//默认加载第一个表单信息
...
...
@@ -270,37 +262,14 @@
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
;
that
.
clxxIndex
=
index
that
.
clxxForm
=
getForm
(
item
.
value
)
that
.
clxxTab
=
item
}
})
;
})
}
}
});
},
/**
* @description: openDialog
* @author: renchao
*/
openDialog
()
{
this
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
let
data
=
JSON
.
parse
(
localStorage
.
getItem
(
"ywbl"
));
let
title
;
if
(
data
?.
sqywmc
)
{
title
=
"申请业务:"
+
data
?.
sqywmc
;
}
else
{
title
=
"申请业务:"
+
data
?.
djywmc
;
}
this
.
$popupDialog
(
title
,
"ywbl/ywsq/selectBdc"
,
{
djywbm
:
this
.
$route
.
query
.
sqywbm
,
isJump
:
true
,
sqywInfo
:
data
},
"80%"
,
true
);
})
},
/**
* @description: 右侧表单选项卡事件
...
...
src/views/workflow/workFrameView.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
7-25 16:15:4
6
* @LastEditTime: 2023-0
9-15 16:32:0
6
-->
<
template
>
<div
class=
"container"
>
...
...
@@ -26,8 +26,10 @@
<!-- 内容框架 -->
<div
class=
"containerFrame"
>
<!-- 左侧菜单栏 区分业务-->
<segmentMenu
v-if=
"['A0320099','A0330099' ].includes(slsq.djqxbm)"
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<ordinaryMenu
v-else
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<div
v-if=
"isShowMenu"
>
<segmentMenu
:paramData=
"paramData"
v-if=
"['A0320099','A0330099' ].includes(slsq.djqxbm)"
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<ordinaryMenu
:paramData=
"paramData"
v-else
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
</div>
<div
class=
"leftCon"
>
<!-- 分屏左侧预览 -->
...
...
@@ -69,16 +71,14 @@
},
data
()
{
return
{
// 左侧是否显示,获取完成系统参数之后再显示
isShowMenu
:
false
,
// 流程图
imgSrc
:
""
,
// 折叠
isShowdrawer
:
true
,
// 默认选中
activeIndex
:
"0"
,
//受理申请标识码
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//当前流程所在环节
bestepid
:
this
.
$route
.
query
.
bestepid
,
// 判断类型
type
:
"READ_ONLY"
,
//设置那个表单选中
...
...
@@ -99,7 +99,7 @@
//材料信息选择卡索引
clxxIndex
:
""
,
//材料信息选项卡对象
clxxTab
:
{}
,
clxxTab
:
{}
};
},
methods
:
{
...
...
@@ -111,7 +111,6 @@
getCurrentSelectProps
(
val
)
{
this
.
currentSelectProps
=
val
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
...
...
@@ -121,17 +120,18 @@
this
.
currentSelectProps
.
type
=
"READ_ONLY"
getStepFormInfo
(
this
.
currentSelectProps
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
fresh
++
;
//获取单元对应的所有表单信息
this
.
tabList
=
res
.
result
;
//默认加载第一个表单信息
//默认加载第一个表单信息
let
arr
=
res
.
result
.
filter
(
item
=>
item
.
defaultForm
)
if
(
arr
.
length
>
0
)
{
this
.
tabName
=
arr
[
0
].
value
;
}
else
{
this
.
tabName
=
res
.
result
[
0
].
value
;
}
if
(
sessionStorage
.
getItem
(
'activeName'
)
==
this
.
tabName
)
{
this
.
fresh
++
;
}
this
.
ableOperation
=
this
.
tabList
[
0
].
ableOperation
//批量操作无分屏按钮
if
(
index
!=
null
)
{
...
...
@@ -139,29 +139,28 @@
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
;
that
.
clxxIndex
=
index
that
.
clxxForm
=
getForm
(
item
.
value
)
that
.
clxxTab
=
item
}
})
}
}
})
},
//选项卡切换事件
/**
* @description: 右侧表单选项卡事件
* @param {*} handleClick
* @author: renchao
*/
handleClick
(
a
)
{
let
p
=
Object
.
keys
(
this
.
tabList
[
0
]).
filter
(
(
item
)
=>
item
==
"ableOperation"
);
if
(
p
)
{
this
.
ableOperation
=
this
.
tabList
[
a
.
index
].
ableOperation
;
/**
* @description: 右侧表单选项卡事件
* @param {*} handleClick
* @author: renchao
*/
handleClick
(
a
)
{
let
p
=
Object
.
keys
(
this
.
tabList
[
0
]).
filter
(
(
item
)
=>
item
==
"ableOperation"
);
if
(
p
)
{
this
.
ableOperation
=
this
.
tabList
[
a
.
index
].
ableOperation
;
}
}
},
}
}
</
script
>
...
...
src/views/xxba/components/addDialog.vue
View file @
2c771f9
...
...
@@ -197,7 +197,7 @@
}
})
if
(
this
.
formData
.
isAdd
!=
1
)
{
store
.
dispatch
(
'user/reWorkFresh'
,
false
)
store
.
dispatch
(
"user/refreshPage"
,
false
);
update
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
)
...
...
@@ -206,7 +206,7 @@
this
.
resetTableFields
();
this
.
closeDialog
();
//刷新列表
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
@@ -214,7 +214,7 @@
}
else
{
that
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
store
.
dispatch
(
'user/reWorkFresh'
,
false
)
store
.
dispatch
(
"user/refreshPage"
,
false
);
addQy
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
that
.
$message
.
success
(
'保存成功'
)
...
...
@@ -223,7 +223,7 @@
that
.
resetTableFields
();
that
.
closeDialog
();
//刷新列表
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
.
error
(
res
.
message
);
}
...
...
src/views/xxba/components/clxx/dialog/clxxAddDialog.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
07 15:04:4
6
* @LastEditTime: 2023-09-
15 15:50:2
6
-->
<
template
>
<dialogBox
title=
"新建材料信息"
width=
"20%"
isMain
v-model=
"myValue"
@
closeDialog=
"closeDialog"
@
submitForm=
"handleSubmit"
...
...
@@ -24,6 +24,13 @@
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"材料编码"
prop=
"clbm"
>
<el-input
v-model=
"ruleForm.clbm"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</dialogBox>
</
template
>
...
...
@@ -40,6 +47,7 @@
ruleForm
:
{
cllx
:
""
,
clmc
:
""
,
clbm
:
""
},
rules
:
{
cllx
:
[
...
...
@@ -47,7 +55,10 @@
],
clmc
:
[
{
required
:
true
,
message
:
'请输入材料名称'
,
trigger
:
'blur'
}
]
],
clbm
:
[
{
required
:
true
,
message
:
'请输入材料编码'
,
trigger
:
'blur'
}
],
}
}
},
...
...
src/views/xxba/components/clxx/dialog/clxxDetailDialog.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
4 11:14:54
* @LastEditTime: 2023-09-1
5 15:38:53
-->
<
template
>
<div
class=
"clmlmx-box"
>
...
...
@@ -37,8 +37,15 @@
label
:
"材料名称"
,
render
:
(
h
,
scope
)
=>
{
return
(
(
scope
.
row
.
sfxjcl
==
'1'
)
?
<
el
-
input
value
=
{
scope
.
row
.
clmc
}
onInput
=
{(
val
)
=>
{
scope
.
row
.
clmc
=
val
}}
><
/el-input> : <span>{scope.row.clmc}</
span
>
<
el
-
input
value
=
{
scope
.
row
.
clmc
}
onInput
=
{(
val
)
=>
{
scope
.
row
.
clmc
=
val
}}
><
/el-input
>
)
}
},
{
label
:
"材料编码"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
.
clbm
}
onInput
=
{(
val
)
=>
{
scope
.
row
.
clbm
=
val
}}
><
/el-input
>
)
}
},
...
...
src/views/xxba/components/clxx/index.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
4 14:23:19
* @LastEditTime: 2023-09-1
5 15:54:13
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -289,7 +289,7 @@
ywPopupDialog
(
"申请材料目录"
,
"xxba/components/clxx/dialog/clxxDetailDialog"
,
{
data
:
this
.
tableData
,
bsmCompany
:
this
.
formData
.
bsmCompany
},
"
6
0%"
,
true
,
false
)
},
"
5
0%"
,
true
,
false
)
},
//设置tableData
setTableData
(
tableData
)
{
...
...
src/views/xxba/qyxxba/index.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
4 11:11:10
* @LastEditTime: 2023-09-1
5 15:41:36
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -39,6 +39,7 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./data"
import
{
queryQyByPage
,
addQy
,
remove
}
from
"@/api/xxba.js"
;
...
...
@@ -65,6 +66,17 @@
},
};
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
queryClick
()
},
immediate
:
true
}
},
methods
:
{
/**
* @description: queryClick
...
...
src/views/xxba/yhjgba/index.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
07 14:30:50
* @LastEditTime: 2023-09-
15 15:47:37
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -59,7 +59,6 @@
watch
:
{
workFresh
:
{
handler
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
'newVal'
);
if
(
newVal
)
this
.
queryClick
()
}
}
...
...
@@ -138,6 +137,9 @@
message
:
'已取消删除'
})
})
},
handleEdit
(
row
)
{
this
.
$popupDialog
(
"编辑企业"
,
"xxba/components/addDialog"
,
{
isAdd
:
2
,
...
row
},
"75%"
)
}
}
}
...
...
src/views/ywbl/dbx/dbx.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
2 13:39:20
* @LastEditTime: 2023-09-1
5 16:30:47
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -264,7 +264,7 @@
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
type
:
"warning"
})
.
then
(()
=>
{
deleteFlow
(
formdata
).
then
((
res
)
=>
{
...
...
@@ -274,18 +274,18 @@
type
:
"success"
,
message
:
"删除成功!"
,
});
this
.
queryClick
()
;
this
.
queryClick
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
;
this
.
$message
.
error
(
res
.
message
)
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
})
;
})
;
message
:
"已取消删除"
})
})
},
/**
* @description: ywhClick
...
...
@@ -315,18 +315,22 @@
);
window
.
open
(
href
,
`djbworkFrame
${
item
.
bsmSlsq
}
`
);
}
else
{
const
{
href
}
=
this
.
$router
.
resolve
(
"/workFrame?bsmSlsq="
+
item
.
bsmSlsq
+
"&bestepid="
+
item
.
bestepid
+
"&bsmBusiness="
+
"&sqywbm="
+
item
.
djywbm
+
"&zbhj="
+
item
.
zbhj
);
window
.
open
(
href
,
`workFrame
${
item
.
bsmSlsq
}
`
);
// const { href } = this.$router.resolve(
// "/workFrame?bsmSlsq=" +
// item.bsmSlsq +
// "&bestepid=" +
// item.bestepid +
// "&bsmBusiness=" +
// "&sqywbm=" +
// item.djywbm +
// "&zbhj=" +
// item.zbhj
// );
// window.open(href, `workFrame${item.bsmSlsq}`);
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrame?ywh='
+
item
.
ywh
+
'&zbhj='
+
item
.
zbhj
)
window
.
open
(
href
,
`workFrame
${
item
.
ywh
}
`
)
}
localStorage
.
setItem
(
"ywbl"
,
JSON
.
stringify
(
item
));
...
...
src/views/ywbl/slsqxx/fdcq2/slxx.vue
View file @
2c771f9
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-09-1
4 17:17:56
* @LastEditTime: 2023-09-1
5 16:09:33
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -69,7 +69,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"坐落:"
>
<el-input
maxlength=
"100"
v-model=
"ruleForm.sldy.zl"
></el-input>
<el-input
maxlength=
"100"
disabled
v-model=
"ruleForm.sldy.zl"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
src/views/ywbl/ybx/ybx.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
2 13:39:30
* @LastEditTime: 2023-09-1
5 15:59:24
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -274,13 +274,8 @@
);
window
.
open
(
href
,
`djbworkFrameview
${
item
.
bsmSlsq
}
`
);
}
else
{
const
{
href
}
=
this
.
$router
.
resolve
(
"/workFrameView?bsmSlsq="
+
item
.
bsmSlsq
+
"&bestepid="
+
item
.
bestepid
);
window
.
open
(
href
,
`workFrameView
${
item
.
bsmSlsq
}
`
);
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?ywh='
+
item
.
ywh
+
'&type=jdcx'
)
window
.
open
(
href
,
`urlname
${
item
.
ywh
}
`
)
}
}
}
...
...
src/views/ywbl/ywsq/components/mixin/jump.js
View file @
2c771f9
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
5-05 09:45:31
* @LastEditTime: 2023-0
9-15 16:55:37
*/
import
Router
from
'@/router'
export
default
{
...
...
@@ -24,13 +24,15 @@ export default {
* @author: renchao
*/
jump
(
data
,
type
)
{
const
{
href
}
=
Router
.
resolve
(
"/workFrame?bsmSlsq="
+
data
.
bsmSlsq
+
"&bestepid="
+
data
.
bestepid
+
'&bsmBusiness='
+
'&sqywbm='
+
type
+
"&zbhj=受理"
);
window
.
open
(
href
,
"_blank"
);
// const { href } = Router.resolve(
// "/workFrame?bsmSlsq=" +
// data.bsmSlsq +
// "&bestepid=" +
// data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type+"&zbhj=受理"
// );
// window.open(href, "_blank");
const
{
href
}
=
Router
.
resolve
(
'/workFrame?ywh='
+
data
.
ywh
+
'&zbhj=受理'
)
window
.
open
(
href
,
"_blank"
)
this
.
$popupCacel
()
},
/**
...
...
src/views/ywbl/ywsq/components/nydsyq200.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
8-02 09:56:26
* @LastEditTime: 2023-0
9-15 17:11:42
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -115,7 +115,7 @@
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
this
.
jump
(
res
.
result
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
...
...
src/views/ywbl/ywsq/javascript/selectFwsyq.js
View file @
2c771f9
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
8-29 13:08:08
* @LastEditTime: 2023-0
9-15 17:25:11
*/
import
filter
from
'@/utils/filter.js'
let
vm
=
null
...
...
@@ -34,6 +34,7 @@ class data extends filter {
{
prop
:
"status"
,
label
:
"状态"
,
width
:
'130'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
...
...
@@ -80,8 +81,15 @@ class data extends filter {
}
},
{
prop
:
"qlrzjhm"
,
label
:
"证件号"
,
witdth
:
'100'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
tooltip
effect
=
"dark"
content
=
{
scope
.
row
.
qlrzjhm
}
placement
=
"top"
popper
-
class
=
"tooltip-width "
>
<
span
class
=
"ellipsis-table"
>
{
scope
.
row
.
qlrzjhm
}
<
/span
>
<
/el-tooltip
>
)
}
},
{
prop
:
"qlxzmc"
,
...
...
src/views/zhcx/jdcx/jdcx.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
7-25 16:34:27
* @LastEditTime: 2023-0
9-15 15:06:50
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -114,7 +114,6 @@
this
.
queryClick
()
},
methods
:
{
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
...
...
@@ -139,7 +138,6 @@
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
...
...
@@ -151,8 +149,8 @@
* @author: renchao
*/
openDialog
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?
bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
item
.
bsmBusiness
+
'&viewtype=3'
+
'&type=jdcx'
)
window
.
open
(
href
,
`urlname
${
item
.
bsmSlsq
}
`
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?
ywh='
+
item
.
ywh
+
'&type=jdcx'
)
window
.
open
(
href
,
`urlname
${
item
.
ywh
}
`
)
}
}
}
...
...
src/views/zhcx/zslqcx/zslqcx.js
View file @
2c771f9
...
...
@@ -78,9 +78,15 @@ class data extends filter {
// width: '140'
// },
{
prop
:
"ywh"
,
label
:
"业务号"
,
width
:
'100'
minWidth
:
'100'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
link
type
=
"primary"
onClick
=
{()
=>
{
vm
.
openWorkDialog
(
scope
.
row
)
}}
>
{
scope
.
row
.
ywh
}
<
/el-link
>
<
/div
>
)
}
},
{
label
:
"权利类型"
,
...
...
src/views/zhcx/zslqcx/zslqcx.vue
View file @
2c771f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
01 09:04:48
* @LastEditTime: 2023-09-
15 14:52:20
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -37,7 +37,6 @@
<el-col
:span=
"4"
class=
"btnColRight"
>
<el-form-item>
<el-button
type=
"primary"
native-type=
"submit"
@
click=
"handleSearch"
>
查询
</el-button>
<!--
<el-button
@
click=
"moreQueryClick()"
>
高级查询
</el-button>
-->
</el-form-item>
</el-col>
</el-row>
...
...
@@ -75,12 +74,12 @@
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[]
,
}
,
}
;
data
:
[]
}
}
},
activated
()
{
this
.
queryClick
()
;
this
.
queryClick
()
},
methods
:
{
/**
...
...
@@ -110,6 +109,15 @@
bsmBdcqz
:
item
.
bsmBdcqz
},
'1210px'
,
true
)
})
},
/**
* @description: openWorkDialog
* @param {*} item
* @author: renchao
*/
openWorkDialog
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?ywh='
+
item
.
ywh
+
'&type=jdcx'
)
window
.
open
(
href
,
`urlname
${
item
.
ywh
}
`
)
}
}
}
...
...
Please
register
or
sign in
to post a comment