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
808e4398
authored
2023-06-20 15:14:11 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增补录信息逻辑修改
1 parent
ec4aef22
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
323 additions
and
106 deletions
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
src/views/djbworkflow/mixin/index.js
src/views/djbworkflow/workFrame.scss
src/views/djbworkflow/workFrame.vue
src/views/registerBook/cfdj.vue
src/views/registerBook/diyaq.vue
src/views/registerBook/diyiq.vue
src/views/registerBook/fdcq1.vue
src/views/registerBook/fdcq2.vue
src/views/registerBook/jsydsyq.vue
src/views/registerBook/nydsyq.vue
src/views/registerBook/ygdj.vue
src/views/registerBook/yydj.vue
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
View file @
808e439
...
...
@@ -30,12 +30,13 @@
:key=
"index"
>
<div>
<p>
{{
item
.
qllxmc
}}
<span
class=
"tpcolor"
>
(
{{
item
.
operate
==
"U"
?
"编辑"
:
"新增"
}}
)
</span></p>
<p
v-if=
"item.operate=='D'"
>
{{
item
.
qllxmc
}}
<span
class=
"tpcolor"
>
(删除)
</span></p>
<p
v-else
>
{{
item
.
qllxmc
}}
<span
class=
"tpcolor"
>
(
{{
item
.
operate
==
"U"
?
"编辑"
:
"新增"
}}
)
</span></p>
<!--
<p
class=
"title-detail"
>
{{
item
.
zl
}}
</p>
-->
</div>
<i
class=
"el-icon-delete"
v-if=
"supplementarylist.length > 1"
@
click
.
stop=
"handleDel(item)"
></i>
</el-menu-item>
...
...
@@ -120,7 +121,7 @@ export default {
},
methods
:
{
//读取申请单元信息
loadBdcdylist
()
{
loadBdcdylist
(
add
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
...
...
@@ -128,6 +129,9 @@ export default {
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
currentSelectProps
=
res
.
result
[
0
];
this
.
$emit
(
"getCurrentSelectProps"
,
this
.
currentSelectProps
);
if
(
add
){
this
.
$parent
.
getQllxByBdcdyid
()
}
}
});
this
.
getleftMenubl
();
...
...
@@ -136,6 +140,7 @@ export default {
getleftMenubl
(
row
)
{
leftMenubl
(
this
.
bsmSlsq
).
then
((
res
)
=>
{
this
.
supplementarylist
=
res
.
result
;
console
.
log
(
"this.supplementarylist"
,
this
.
supplementarylist
);
if
(
row
){
this
.
supplementarylist
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
bsmRepair
==
row
.
bsmRepair
){
...
...
src/views/djbworkflow/mixin/index.js
View file @
808e439
...
...
@@ -136,7 +136,7 @@ export default {
// break;
case
"B5"
:
this
.
getQllxByBdcdyid
(
)
this
.
$refs
.
Menu
.
loadBdcdylist
(
"add"
)
// this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true)
...
...
src/views/djbworkflow/workFrame.scss
View file @
808e439
...
...
@@ -102,7 +102,7 @@
}
.animation-map-drawer
{
width
:
2
6
0px
;
width
:
2
9
0px
;
height
:
calc
(
100%
-
80px
);
}
...
...
src/views/djbworkflow/workFrame.vue
View file @
808e439
...
...
@@ -130,6 +130,7 @@ export default {
methods
:
{
getQllxByBdcdyid
()
{
if
(
this
.
currentSelectProps
.
bdcdyid
){
getQllxByBdcdyid
({
bdcdyid
:
this
.
currentSelectProps
.
bdcdyid
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -138,6 +139,8 @@ export default {
}
}
);
}
},
// 获取右侧选项卡
getCurrentSelectProps
(
val
)
{
...
...
@@ -223,17 +226,21 @@ export default {
},
// 增加补录记录
addRepairRecord
(
row
)
{
addRepairRecord
(
row
,
del
)
{
let
from
=
{
bsmQlxx
:
""
,
bsmSlsq
:
this
.
bsmSlsq
,
bsmSldy
:
this
.
currentSelectProps
.
bsmSldy
,
operate
:
"C"
,
qllx
:
this
.
currentSelectProps
.
qllx
,
qllx
:
""
,
};
if
(
row
)
{
from
.
bsmQlxx
=
row
.
bsmQlxx
;
from
.
operate
=
row
.
bsmQlxx
?
"U"
:
" C"
;
if
(
del
){
from
.
operate
=
del
;
}
else
{
from
.
operate
=
row
.
bsmQlxx
?
"U"
:
"C"
;
}
from
.
qllx
=
row
.
qllx
;
}
addRepairRecord
(
from
).
then
((
res
)
=>
{
...
...
src/views/registerBook/cfdj.vue
View file @
808e439
...
...
@@ -24,6 +24,10 @@
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '',
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<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.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))"
>
正在办理
</div>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
...
...
@@ -62,6 +66,9 @@
},
methods
:
{
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
}
getCfdjList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
...
...
@@ -106,6 +113,28 @@
}
return
name
;
},
// 新增一条补录信息
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/diyaq.vue
View file @
808e439
...
...
@@ -5,7 +5,12 @@
{{
title
}}
<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>
...
...
@@ -15,14 +20,28 @@
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"deleteDialog(row)"
>
删除
</el-button>
<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.qszt == '0'"
>
正在办理
...
...
@@ -42,11 +61,11 @@
</
template
>
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDiyaqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDiyaqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"抵押权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
...
...
@@ -61,11 +80,14 @@
columns
:
datas
.
columns
().
DYAQ
,
};
},
created
()
{
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
}
getDiyaqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
...
...
@@ -73,9 +95,9 @@
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
this
.
tableData
.
forEach
((
item
)
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
);
});
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
...
...
@@ -85,7 +107,7 @@
}
});
},
checkChange
()
{
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
...
...
@@ -93,7 +115,7 @@
this
.
loadData
();
}
},
getQsztName
(
code
)
{
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
...
...
@@ -103,10 +125,32 @@
}
return
name
;
},
// 新增一条补录信息
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
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/diyiq.vue
View file @
808e439
...
...
@@ -5,7 +5,12 @@
{{
title
}}
<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>
...
...
@@ -15,14 +20,18 @@
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"
deleteDialog(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.qszt == '0'"
>
正在办理
...
...
@@ -42,11 +51,11 @@
</
template
>
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDiyiqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDiyiqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"地役权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
...
...
@@ -61,11 +70,14 @@
columns
:
datas
.
columns
().
DYIQ
,
};
},
created
()
{
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
}
getDiyiqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
...
...
@@ -73,9 +85,9 @@
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
this
.
tableData
.
forEach
((
item
)
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
);
});
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
...
...
@@ -85,7 +97,7 @@
}
});
},
checkChange
()
{
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
...
...
@@ -93,7 +105,7 @@
this
.
loadData
();
}
},
getQsztName
(
code
)
{
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
...
...
@@ -103,10 +115,32 @@
}
return
name
;
},
// 新增一条补录信息
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
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/fdcq1.vue
View file @
808e439
...
...
@@ -24,7 +24,7 @@
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"deleteDialog(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.qszt == '0'"
>
正在办理
...
...
@@ -113,6 +113,27 @@
}
return
name
;
},
// 新增一条补录信息
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/fdcq2.vue
View file @
808e439
...
...
@@ -5,7 +5,12 @@
{{
title
}}
<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>
...
...
@@ -15,14 +20,28 @@
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"deleteDialog(row)"
>
删除
</el-button>
<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.qszt == '0'"
>
正在办理
...
...
@@ -42,11 +61,11 @@
</
template
>
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
qsztList
:
datas
.
columns
().
qsztList
,
...
...
@@ -61,11 +80,14 @@
columns
:
datas
.
columns
().
FDCQ2
,
};
},
created
()
{
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
}
getFdcq2List
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
...
...
@@ -73,9 +95,9 @@
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
this
.
tableData
.
forEach
((
item
)
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
);
});
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
...
...
@@ -85,7 +107,7 @@
}
});
},
checkChange
()
{
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
...
...
@@ -93,7 +115,7 @@
this
.
loadData
();
}
},
getQsztName
(
code
)
{
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
...
...
@@ -103,10 +125,32 @@
}
return
name
;
},
// 新增一条补录信息
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
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/jsydsyq.vue
View file @
808e439
...
...
@@ -24,7 +24,7 @@
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"deleteDialog(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.qszt == '0'"
>
正在办理
...
...
@@ -71,6 +71,7 @@
},
methods
:
{
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
){
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
...
...
@@ -113,6 +114,27 @@
}
return
name
;
},
// 新增一条补录信息
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/nydsyq.vue
View file @
808e439
...
...
@@ -24,7 +24,7 @@
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"
deleteDialog(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.qszt == '0'"
>
正在办理
...
...
@@ -142,6 +142,27 @@
}
return
name
;
},
// 新增一条补录信息
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/ygdj.vue
View file @
808e439
...
...
@@ -22,7 +22,7 @@
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"
deleteDialog(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.qszt == '0'"
>
正在办理
...
...
@@ -105,6 +105,27 @@ export default {
}
return
name
;
},
// 新增一条补录信息
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/yydj.vue
View file @
808e439
...
...
@@ -20,6 +20,10 @@
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<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.qszt == '0'"
>
正在办理
</div>
...
...
@@ -100,14 +104,14 @@ export default {
}
return
name
;
},
// 编辑
editDialog
(
row
){
// 新增一条补录信息
editDialog
(
row
,
del
){
this
.
$confirm
(
'此操作将新增一条补录信息, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
)
this
.
$parent
.
addRepairRecord
(
row
,
del
)
this
.
$message
({
type
:
'success'
,
...
...
@@ -120,42 +124,7 @@ export default {
});
});
// this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", {
// datalist:this.columns,
// data: row,
// })
},
// 删除
deleteDialog
(
row
){
this
.
$confirm
(
'此操作将永久删除该文件, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
// let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx
// deleteClmx(bsmClmx).then(res => {
// if (res.code == 200) {
// that.$emit('updateList', res.result)
// that.$message({
// message: '删除成功!',
// type: 'success'
// })
// }
// })
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
});
});
}
},
};
</
script
>
...
...
Please
register
or
sign in
to post a comment