Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zj-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-zhengjiang
zj-manage
Commits
aa9b847a
Commit
aa9b847a
authored
Jan 17, 2025
by
swl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx
parent
d5a03aef
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
241 additions
and
219 deletions
+241
-219
.DS_Store
.DS_Store
+0
-0
index.js
src/config/index.js
+4
-3
request.js
src/utils/request.js
+2
-2
house.vue
src/views/Multipledeedtax/house.vue
+29
-1
index.vue
src/views/Multipledeedtax/index.vue
+30
-2
house.vue
src/views/Policy/house.vue
+33
-0
housemain.vue
src/views/Policy/housemain.vue
+35
-3
talentwindow.vue
src/views/Policy/talentwindow.vue
+32
-0
enter.vue
src/views/livingCircle/enter.vue
+74
-206
vue.config.js
vue.config.js
+2
-2
No files found.
.DS_Store
View file @
aa9b847a
No preview for this file type
src/config/index.js
View file @
aa9b847a
const
domain
=
{
dev
:
"http://192.168.3.143:8881"
,
// 姚镇接口
// dev: "http://192.168.3.87:8881", // 姚镇接口
// dev: "http://192.168.100.16:8881", // 姚镇接口
// dev: "http://192.168.100.16:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 测试接口
//
dev: "https://exam.smart-zj.cn:9100/smartExam/", // /新正式接口
dev
:
"https://exam.smart-zj.cn:9100/smartExam/"
,
// /新正式接口
};
// 腾讯地图 key
const
map
=
{
...
...
src/utils/request.js
View file @
aa9b847a
...
...
@@ -7,10 +7,10 @@ const config = {
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
// proxy: "http://81.69.231.72:8881", // 测试地址
// 192.168.3.143
proxy
:
"http://192.168.3.143
:8881"
,
//本地
// proxy: "http://192.168.3.87
:8881", //本地
// proxy: "http://192.168.100.16:8881", //本地//
//
proxy: "https://exam.smart-zj.cn:9100/smartExam", // 新正式接口zs
proxy
:
"https://exam.smart-zj.cn:9100/smartExam"
,
// 新正式接口zs
// proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址
// proxy1: "https://exam.smart-zj.cn:9100/smartExam/admin-api", // 新正式接口
...
...
src/views/Multipledeedtax/house.vue
View file @
aa9b847a
...
...
@@ -16,6 +16,19 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"办事类型"
v-if=
"
this.realEstateArea != '丹阳市' && this.realEstateArea != '句容市'
"
>
<el-select
v-model=
"searchForm.handlingType"
placeholder=
"请选择办事类型"
@
change=
"onSubmit"
size=
"medium"
>
<el-option
label=
"全部"
value=
""
>
</el-option>
<el-option
label=
"网上办理"
value=
"1"
>
</el-option>
<el-option
label=
"线下办理"
value=
"2"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
查询
</el-button>
</el-form-item>
...
...
@@ -33,6 +46,13 @@
<div
class=
"table-wrapper"
>
<table-template
:tableData=
"tableData"
:tableColumns=
"tableColumns"
:loading=
"loading"
:pagination=
"pagination"
@
Jump=
"jumpPage"
>
<el-table-column
slot=
"handlingType"
label=
"办事类型"
align=
"center"
v-if=
"
this.realEstateArea != '丹阳市' && this.realEstateArea != '句容市'
"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
handlingType
==
1
?
'网上办理'
:
'线下办理'
}}
</
template
>
</el-table-column>
<el-table-column
slot=
"departmentName"
label=
"实施主体"
align=
"center"
>
<
template
>
{{
...
...
@@ -53,7 +73,6 @@
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"view(scope.row)"
>
查看
</el-button>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"record(scope.row)"
>
记录
</el-button>
<!-- 申请的单子有通过拒绝-->
<el-button
v-if=
"
scope.row.state == 1 && searchForm.departmentCode == '10000027'
...
...
@@ -402,6 +421,8 @@ export default {
state
:
""
,
departmentCode
:
""
,
checkArealEstateArea
:
""
,
handlingType
:
''
},
stateList1
:
[
...
...
@@ -465,6 +486,11 @@ export default {
width
:
150
,
},
{
key
:
"handlingType"
,
label
:
"办事类型"
,
type
:
'slot'
},
{
key
:
"guideName"
,
label
:
"事项名称"
,
width
:
150
,
...
...
@@ -650,6 +676,8 @@ export default {
pageSize
:
this
.
pagination
.
pageSize
,
checkArea
:
this
.
realEstateArea
,
checkArealEstateArea
:
this
.
searchForm
.
checkArealEstateArea
,
handlingType
:
this
.
searchForm
.
handlingType
};
queryMultipleListDeedTax
(
parmas
).
then
((
res
)
=>
{
this
.
loading
=
false
;
...
...
src/views/Multipledeedtax/index.vue
View file @
aa9b847a
...
...
@@ -20,6 +20,19 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"办事类型"
v-if=
"
this.realEstateArea != '丹阳市' && this.realEstateArea != '句容市'
"
>
<el-select
v-model=
"searchForm.handlingType"
placeholder=
"请选择办事类型"
@
change=
"onSubmit"
size=
"medium"
>
<el-option
label=
"全部"
value=
""
>
</el-option>
<el-option
label=
"网上办理"
value=
"1"
>
</el-option>
<el-option
label=
"线下办理"
value=
"2"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
查询
</el-button>
</el-form-item>
...
...
@@ -42,6 +55,13 @@
<div
class=
"table-wrapper"
>
<table-template
:tableData=
"tableData"
:tableColumns=
"tableColumns"
:loading=
"loading"
:pagination=
"pagination"
@
Jump=
"jumpPage"
>
<el-table-column
slot=
"handlingType"
label=
"办事类型"
align=
"center"
v-if=
"
this.realEstateArea != '丹阳市' && this.realEstateArea != '句容市'
"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
handlingType
==
1
?
'网上办理'
:
'线下办理'
}}
</
template
>
</el-table-column>
<el-table-column
slot=
"departmentName"
label=
"实施主体"
align=
"center"
>
<
template
>
{{
this
.
$route
.
query
.
departmentName
}}
...
...
@@ -352,6 +372,7 @@ export default {
state
:
""
,
departmentCode
:
""
,
checkArealEstateArea
:
""
,
handlingType
:
''
},
stateList
:
[
{
...
...
@@ -436,6 +457,11 @@ export default {
width
:
150
,
},
{
key
:
"handlingType"
,
label
:
"办事类型"
,
type
:
'slot'
},
{
key
:
"guideName"
,
label
:
"事项名称"
,
width
:
150
,
...
...
@@ -615,10 +641,11 @@ export default {
},
},
methods
:
{
init
()
{
this
.
tableData
=
[];
this
.
loading
=
true
;
let
par
ma
s
=
{
let
par
am
s
=
{
name
:
this
.
searchForm
.
name
,
phone
:
this
.
searchForm
.
phone
,
state
:
this
.
searchForm
.
state
,
...
...
@@ -627,8 +654,9 @@ export default {
pageSize
:
this
.
pagination
.
pageSize
,
checkArea
:
this
.
realEstateArea
,
checkArealEstateArea
:
this
.
searchForm
.
checkArealEstateArea
,
handlingType
:
this
.
searchForm
.
handlingType
};
queryMultipleListDeedTaxFromInitDepartment
(
par
ma
s
).
then
((
res
)
=>
{
queryMultipleListDeedTaxFromInitDepartment
(
par
am
s
).
then
((
res
)
=>
{
this
.
loading
=
false
;
// console.log(res.data)
if
(
res
.
success
)
{
...
...
src/views/Policy/house.vue
View file @
aa9b847a
...
...
@@ -126,6 +126,7 @@
}}
</p>
</div>
<!-- 新增功能end -->
<div
class=
"cell"
>
<p
class=
"label"
>
事项类型
</p>
...
...
@@ -139,6 +140,7 @@
}}
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
事项名称
</p>
<p
class=
"value"
>
{{ viewDetail.guideName }}
</p>
...
...
@@ -180,6 +182,10 @@
<p
class=
"value"
>
{{ viewDetail.address }}
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
办理时间
</p>
<p
class=
"value"
>
{{ viewDetail.processingTime }}
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证号
</p>
<p
class=
"value"
>
{{ viewDetail.realEstateCard }}
</p>
</div>
...
...
@@ -251,6 +257,26 @@
</el-image>
</p>
</div>
<div
v-if=
"viewDetail.housingType == 3"
>
<div
class=
"name"
>
更多不动产权信息
</div>
<div
v-for=
"(item, index) in viewDetail.realEstateTitleList"
:key=
"index"
>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证书
</p>
<p
class=
"value"
>
<el-image
v-for=
"(it, ind) in item.picture"
:key=
"ind"
style=
"width: 100px; height: 100px"
:src=
"it"
:z-index=
"7777777"
:preview-src-list=
"[it]"
>
</el-image>
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证号
</p>
<p
class=
"value"
>
{{ item.realEstateCard }}
</p>
</div>
</div>
</div>
</div>
</el-dialog>
<el-dialog
title=
"操作记录"
:visible
.
sync=
"recordShow"
width=
"800px"
:close-on-press-escape=
"false"
>
...
...
@@ -638,6 +664,13 @@ export default {
return
this
.
viewDetail
.
labour
.
push
(
item
);
}
});
this
.
viewDetail
.
realEstateTitleList
=
res
.
data
.
realEstateTitleList
&&
res
.
data
.
realEstateTitleList
.
map
(
item
=>
{
return
{
picture
:
[
item
.
picture
],
realEstateCard
:
item
.
realEstateCard
}
})
this
.
viewShow
=
true
;
});
},
...
...
src/views/Policy/housemain.vue
View file @
aa9b847a
...
...
@@ -138,6 +138,11 @@
<p
class=
"label"
>
工作单位
</p>
<p
class=
"value"
>
{{ unitName }}
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
办理时间
</p>
<p
class=
"value"
>
{{ viewDetail.processingTime }}
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
事项名称
</p>
<p
class=
"value"
>
{{ viewDetail.guideName }}
</p>
...
...
@@ -238,6 +243,28 @@
</el-image>
</p>
</div>
<div
v-if=
"viewDetail.housingType == 3"
>
<div
class=
"name"
>
更多不动产权信息
</div>
<div
v-for=
"(item, index) in viewDetail.realEstateTitleList"
:key=
"index"
>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证书
</p>
<p
class=
"value"
>
<el-image
v-for=
"(it, ind) in item.picture"
:key=
"ind"
style=
"width: 100px; height: 100px"
:src=
"it"
:z-index=
"7777777"
:preview-src-list=
"[it]"
>
</el-image>
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证号
</p>
<p
class=
"value"
>
{{ item.realEstateCard }}
</p>
</div>
</div>
</div>
</div>
</el-dialog>
<el-dialog
title=
"操作记录"
:visible
.
sync=
"recordShow"
width=
"800px"
:close-on-press-escape=
"false"
>
...
...
@@ -306,6 +333,7 @@
<div
class=
"content"
style=
"display: flex; justify-content: center"
v-if=
"fileUrlList.length == 0"
>
<el-empty
:image-size=
"50"
></el-empty>
</div>
</el-dialog>
</div>
</template>
...
...
@@ -519,7 +547,6 @@ export default {
},
methods
:
{
viewUrl
(
row
)
{
console
.
log
(
row
);
queryAttacheFile
({
code
:
row
.
code
}).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
success
)
{
...
...
@@ -537,8 +564,7 @@ export default {
];
return
fileType
!=
"jpg"
&&
fileType
!=
"jpeg"
&&
fileType
!=
"png"
;
});
console
.
log
(
this
.
pictureUrlList
);
console
.
log
(
this
.
fileUrlList
);
this
.
showUrl
=
true
;
}
else
{
this
.
$message
.
error
(
res
.
msg
||
"查询失败"
);
...
...
@@ -723,6 +749,12 @@ export default {
return
this
.
viewDetail
.
labour
.
push
(
item
);
}
});
this
.
viewDetail
.
realEstateTitleList
=
res
.
data
.
realEstateTitleList
&&
res
.
data
.
realEstateTitleList
.
map
(
item
=>
{
return
{
picture
:
[
item
.
picture
],
realEstateCard
:
item
.
realEstateCard
}
})
this
.
viewShow
=
true
;
});
},
...
...
src/views/Policy/talentwindow.vue
View file @
aa9b847a
...
...
@@ -165,6 +165,10 @@
<p
class=
"value"
>
{{ viewDetail.address }}
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
办理时间
</p>
<p
class=
"value"
>
{{ viewDetail.processingTime }}
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证号
</p>
<p
class=
"value"
>
{{ viewDetail.realEstateCard }}
</p>
</div>
...
...
@@ -236,6 +240,28 @@
</el-image>
</p>
</div>
<div
v-if=
"viewDetail.housingType == 3"
>
<div
class=
"name"
>
更多不动产权信息
</div>
<div
v-for=
"(item, index) in viewDetail.realEstateTitleList"
:key=
"index"
>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证书
</p>
<p
class=
"value"
>
<el-image
v-for=
"(it, ind) in item.picture"
:key=
"ind"
style=
"width: 100px; height: 100px"
:src=
"it"
:z-index=
"7777777"
:preview-src-list=
"[it]"
>
</el-image>
</p>
</div>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证号
</p>
<p
class=
"value"
>
{{ item.realEstateCard }}
</p>
</div>
</div>
</div>
</div>
</el-dialog>
<el-dialog
title=
"操作记录"
:visible
.
sync=
"recordShow"
width=
"800px"
:close-on-press-escape=
"false"
>
...
...
@@ -553,6 +579,12 @@ export default {
return
this
.
viewDetail
.
labour
.
push
(
item
);
}
});
this
.
viewDetail
.
realEstateTitleList
=
res
.
data
.
realEstateTitleList
&&
res
.
data
.
realEstateTitleList
.
map
(
item
=>
{
return
{
picture
:
[
item
.
picture
],
realEstateCard
:
item
.
realEstateCard
}
})
this
.
viewShow
=
true
;
});
},
...
...
src/views/livingCircle/enter.vue
View file @
aa9b847a
<
template
>
<div>
<div
class=
"search-wrapper"
>
<el-form
:inline=
"true"
:model=
"searchForm"
class=
"search_form"
style=
"text-align: left"
>
<el-form
:inline=
"true"
:model=
"searchForm"
class=
"search_form"
style=
"text-align: left"
>
<el-form-item
label=
"名称"
>
<el-input
v-model=
"searchForm.name"
placeholder=
"请输入店铺名称"
clearable
></el-input>
<el-input
v-model=
"searchForm.name"
placeholder=
"请输入店铺名称"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"电话"
>
<el-input
v-model=
"searchForm.phone"
placeholder=
"请输入电话"
clearable
></el-input>
<el-input
v-model=
"searchForm.phone"
placeholder=
"请输入电话"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"类型"
>
<el-cascader
:options=
"menuOptions"
clearable
filterable
placeholder=
"请选择类型"
@
change=
"menuChange"
></el-cascader>
<el-cascader
:options=
"menuOptions"
clearable
filterable
placeholder=
"请选择类型"
@
change=
"menuChange"
></el-cascader>
</el-form-item>
<el-form-item
label=
"入驻类型"
>
<el-select
v-model=
"searchForm.type"
clearable
placeholder=
"请选择入驻类型"
size=
"medium"
@
change=
"onSubmit"
>
<el-select
v-model=
"searchForm.type"
clearable
placeholder=
"请选择入驻类型"
size=
"medium"
@
change=
"onSubmit"
>
<el-option
label=
"全部"
value=
""
>
</el-option>
<el-option
label=
"商家入驻"
value=
"0"
>
</el-option>
<el-option
label=
"上报地点"
value=
"1"
>
</el-option>
...
...
@@ -76,34 +52,20 @@
</el-tabs>
-->
<div
class=
"table-wrapper"
>
<table-template
:tableData=
"tableData"
:tableColumns=
"tableColumns"
:loading=
"loading"
:pagination=
"pagination"
@
Jump=
"jumpPage"
>
<el-table-column
slot=
"type"
label=
"入驻类型"
align=
"center"
width=
"120px"
>
<table-template
:tableData=
"tableData"
:tableColumns=
"tableColumns"
:loading=
"loading"
:pagination=
"pagination"
@
Jump=
"jumpPage"
>
<el-table-column
slot=
"type"
label=
"入驻类型"
align=
"center"
width=
"120px"
>
<template
slot-scope=
"scope"
>
<el-tag
v-if=
"
<el-tag
v-if=
"
scope.row.type == 0 ||
scope.row.type == 1 ||
scope.row.type == 2
"
:type=
"
scope.row.type == 1
"
:type=
"scope.row.type == 1
? 'success'
: scope.row.type == 2
? 'warning'
: ''
"
>
{{
"
>
{{
scope
.
row
.
type
==
0
?
"商家入驻"
:
scope
.
row
.
type
==
1
...
...
@@ -111,62 +73,42 @@
:
scope
.
row
.
type
==
2
?
"上报网红墙"
:
""
}}
</el-tag
>
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
slot=
"state"
label=
"审核状态"
align=
"center"
width=
"120px"
>
<el-table-column
slot=
"categoryName"
label=
"类型"
align=
"center"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<el-tag
v-if=
"
{{
scope
.
row
.
categoryName
}}
</
template
>
</el-table-column>
<el-table-column
slot=
"state"
label=
"审核状态"
align=
"center"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<el-tag
v-if=
"
scope.row.state == 0 ||
scope.row.state == 1 ||
scope.row.state == 4
"
:type=
"
scope.row.state == 4
"
:type=
"scope.row.state == 4
? 'danger'
: scope.row.state == 1
? 'success'
: ''
"
>
{{
scope
.
row
.
stateName
}}
</el-tag
>
"
>
{{
scope
.
row
.
stateName
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
slot=
"delFlag"
label=
"启用状态"
align=
"center"
width=
"120px"
>
<el-table-column
slot=
"delFlag"
label=
"启用状态"
align=
"center"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<el-tag
v-if=
"scope.row.delFlag == 0 || scope.row.delFlag == 1"
:type=
"
scope.row.delFlag == 1
<el-tag
v-if=
"scope.row.delFlag == 0 || scope.row.delFlag == 1"
:type=
"scope.row.delFlag == 1
? 'danger'
: scope.row.delFlag == 0
? 'success'
: ''
"
>
{{
scope
.
row
.
flagName
}}
</el-tag
>
"
>
{{
scope
.
row
.
flagName
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
slot=
"icon"
label=
"照片"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-image
v-if=
"scope.row.pictureList"
style=
"width: 30px; height: 30px"
:src=
"scope.row.pictureList && scope.row.pictureList[0].url"
:preview-src-list=
"scope.row.previewSrcList"
>
<el-image
v-if=
"scope.row.pictureList"
style=
"width: 30px; height: 30px"
:src=
"scope.row.pictureList && scope.row.pictureList[0].url"
:preview-src-list=
"scope.row.previewSrcList"
>
</el-image>
<div
v-else
>
暂无图片
</div>
</
template
>
...
...
@@ -174,19 +116,10 @@
<el-table-column
fixed=
"right"
label=
"操作"
width=
"350"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"view(scope.row)"
>
查看
</el-button
>
<el-button
type=
"success"
size=
"mini"
round
@
click=
"edit(scope.row)"
>
编辑
</el-button
>
<el-button
@
click=
"delFlagHandle(scope.row)"
:type=
"scope.row.delFlag == 0 ? 'warning' : 'success'"
size=
"mini"
round
slot=
"reference"
>
{{
scope
.
row
.
delFlag
==
0
?
"禁用"
:
"启用"
}}
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"view(scope.row)"
>
查看
</el-button>
<el-button
type=
"success"
size=
"mini"
round
@
click=
"edit(scope.row)"
>
编辑
</el-button>
<el-button
@
click=
"delFlagHandle(scope.row)"
:type=
"scope.row.delFlag == 0 ? 'warning' : 'success'"
size=
"mini"
round
slot=
"reference"
>
{{
scope
.
row
.
delFlag
==
0
?
"禁用"
:
"启用"
}}
</el-button>
<!--
<el-button
type=
"danger"
size=
"mini"
round
@
click=
"del(scope.row)"
>
删除
</el-button
...
...
@@ -195,26 +128,10 @@
</el-table-column>
</table-template>
</div>
<el-dialog
:title=
"type == 'view' ? '详情' : '编辑'"
:visible
.
sync=
"dialogVisible"
width=
"40%"
destroy-on-close
>
<el-form
:model=
"detail"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm formData"
>
<el-dialog
:title=
"type == 'view' ? '详情' : '编辑'"
:visible
.
sync=
"dialogVisible"
width=
"40%"
destroy-on-close
>
<el-form
:model=
"detail"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm formData"
>
<el-form-item
label=
"名称"
prop=
"name"
>
<el-input
v-model=
"detail.name"
clearable
placeholder=
"请输入名称"
:disabled=
"type == 'view'"
></el-input>
<el-input
v-model=
"detail.name"
clearable
placeholder=
"请输入名称"
:disabled=
"type == 'view'"
></el-input>
</el-form-item>
<el-form-item
label=
"入驻类型"
prop=
"type"
>
<el-radio-group
v-model=
"detail.type"
disabled
>
...
...
@@ -223,61 +140,25 @@
<el-radio
:label=
"2"
>
上报网红墙
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"类型"
prop=
"categoryIds"
>
<el-cascader
:disabled=
"type == 'view'"
style=
"width: 100%"
:options=
"menuOptions"
clearable
filterable
v-model=
"detail.categoryIds"
@
change=
"categoryChange"
placeholder=
"请选择类型"
></el-cascader>
<el-form-item
label=
"类型"
prop=
"categoryIdList"
>
<el-cascader
:disabled=
"type == 'view'"
style=
"width: 100%"
:props=
"props"
:options=
"menuOptions"
clearable
filterable
v-model=
"detail.categoryIdList"
@
change=
"categoryChange"
placeholder=
"请选择类型"
></el-cascader>
</el-form-item>
<el-form-item
label=
"经营范围和内容"
prop=
"otherInfo"
v-if=
"detail.otherInfo"
>
<el-input
v-model=
"detail.otherInfo"
clearable
placeholder=
"请输入经营范围和内容"
:disabled=
"type == 'view'"
></el-input>
<el-form-item
label=
"经营范围和内容"
prop=
"otherInfo"
v-if=
"detail.otherInfo"
>
<el-input
v-model=
"detail.otherInfo"
clearable
placeholder=
"请输入经营范围和内容"
:disabled=
"type == 'view'"
></el-input>
</el-form-item>
<el-form-item
label=
"详细地址"
prop=
"address"
>
<el-input
v-model=
"detail.address"
clearable
placeholder=
"请输入详细地址"
:disabled=
"type == 'view'"
></el-input>
<el-input
v-model=
"detail.address"
clearable
placeholder=
"请输入详细地址"
:disabled=
"type == 'view'"
></el-input>
</el-form-item>
<el-form-item
label=
"区"
prop=
"district"
>
<el-input
v-model=
"detail.district"
placeholder=
"请输入区"
clearable
disabled
></el-input>
<el-input
v-model=
"detail.district"
placeholder=
"请输入区"
clearable
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"电话"
prop=
"phone"
>
<el-input
v-model=
"detail.phone"
placeholder=
"请输入电话"
clearable
:disabled=
"type == 'view'"
></el-input>
<el-input
v-model=
"detail.phone"
placeholder=
"请输入电话"
clearable
:disabled=
"type == 'view'"
></el-input>
</el-form-item>
<el-form-item
label=
"营业时间"
prop=
"businessHours"
>
<el-input
v-model=
"detail.businessHours"
clearable
placeholder=
"例如:周一至周五 9:00-23:00"
:disabled=
"type == 'view'"
></el-input>
<el-input
v-model=
"detail.businessHours"
clearable
placeholder=
"例如:周一至周五 9:00-23:00"
:disabled=
"type == 'view'"
></el-input>
</el-form-item>
<el-form-item
label=
"创建时间"
prop=
"createTime"
>
<el-input
v-model=
"detail.createTime"
clearable
disabled
></el-input>
...
...
@@ -289,57 +170,32 @@
</el-radio-group>
</el-form-item>
<el-form-item
label=
"审核状态"
prop=
"state"
>
<el-tag
v-if=
"detail.state == 0 || detail.state == 1 || detail.state == 4"
:type=
"
detail.state == 4 ? 'danger' : detail.state == 1 ? 'success' : ''
"
>
{{
<el-tag
v-if=
"detail.state == 0 || detail.state == 1 || detail.state == 4"
:type=
"detail.state == 4 ? 'danger' : detail.state == 1 ? 'success' : ''
"
>
{{
detail.state == 4
? "审核拒绝"
: detail.state == 1
? "审核通过"
: "未审核"
}}
</el-tag
>
}}
</el-tag>
</el-form-item>
<el-form-item
label=
"门面照片"
>
<file-upload
:data
.
sync=
"shopImg"
:limit=
"1"
:disable=
"type == 'view'"
></file-upload>
<file-upload
:data
.
sync=
"shopImg"
:limit=
"1"
:disable=
"type == 'view'"
></file-upload>
</el-form-item>
<el-form-item
label=
"左右店铺"
>
<file-upload
:data
.
sync=
"besideImg"
:limit=
"2"
:disable=
"type == 'view'"
></file-upload>
<file-upload
:data
.
sync=
"besideImg"
:limit=
"2"
:disable=
"type == 'view'"
></file-upload>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
v-if=
"type == 'view'"
>
<el-button
type=
"success"
round
slot=
"reference"
v-if=
"detail.state == 0"
:disabled=
"detail.state != 0"
@
click=
"reviewHandle('pass', detail)"
>
通过
<el-button
type=
"success"
round
slot=
"reference"
v-if=
"detail.state == 0"
:disabled=
"detail.state != 0"
@
click=
"reviewHandle('pass', detail)"
>
通过
</el-button>
<el-button
type=
"danger"
round
slot=
"reference"
v-if=
"detail.state == 0"
:disabled=
"detail.state != 0"
@
click=
"reviewHandle('refuse', detail)"
>
拒绝
<el-button
type=
"danger"
round
slot=
"reference"
v-if=
"detail.state == 0"
:disabled=
"detail.state != 0"
@
click=
"reviewHandle('refuse', detail)"
>
拒绝
</el-button>
<!-- <el-button @click="dialogVisible = false">取 消</el-button>
...
...
@@ -348,9 +204,7 @@
> -->
</span>
<span
slot=
"footer"
class=
"dialog-footer"
v-else
>
<el-button
type=
"primary"
round
@
click=
"dialogVisible = false"
>
取 消
</el-button
>
<el-button
type=
"primary"
round
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"success"
round
@
click=
"editConfirm"
>
确 定
</el-button>
</span>
</el-dialog>
...
...
@@ -376,6 +230,8 @@ export default {
components
:
{
tableTemplate
,
FileUpload
},
data
()
{
return
{
props
:
{
multiple
:
true
},
dialogVisible
:
false
,
detail
:
{},
searchForm
:
{
...
...
@@ -402,9 +258,11 @@ export default {
type
:
"slot"
,
},
{
key
:
"category"
,
key
:
"category
Name
"
,
label
:
"类型"
,
width
:
120
,
type
:
"slot"
,
},
{
key
:
"district"
,
...
...
@@ -462,7 +320,7 @@ export default {
address
:
[
{
required
:
true
,
message
:
"请输入详细地址"
,
trigger
:
"blur"
},
],
categoryId
s
:
[
categoryId
List
:
[
{
required
:
true
,
message
:
"请选择类型"
,
trigger
:
"blur"
},
],
},
...
...
@@ -502,11 +360,12 @@ export default {
urlType
:
1
,
});
});
console
.
log
(
arr
,
arr1
);
let
params
=
{
address
:
this
.
detail
.
address
,
businessHours
:
this
.
detail
.
businessHours
,
categoryId
:
this
.
detail
.
categoryIds
[
1
],
categoryIdList
:
this
.
detail
.
categoryIdList
.
map
(
item
=>
item
[
1
]),
// category: this.detail.categoryIdList.map(item => item.categoryName).join('/'),
name
:
this
.
detail
.
name
,
phone
:
this
.
detail
.
phone
,
pictureList
:
[...
arr
,
...
arr1
],
...
...
@@ -580,6 +439,9 @@ export default {
?
res
.
data
.
list
.
map
((
item
)
=>
{
return
{
...
item
,
categoryName
:
item
.
categoryList
.
map
(
item
=>
{
return
item
.
categoryName
}).
join
(
'/'
),
stateName
:
item
.
state
==
0
?
"未审核"
...
...
@@ -697,7 +559,8 @@ export default {
applyDetail
(
row
.
id
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
detail
=
res
.
data
;
this
.
detail
.
categoryIds
=
this
.
filterTree
(
res
.
data
.
categoryId
);
this
.
detail
.
categoryIdList
=
res
.
data
.
categoryList
.
map
(
item
=>
[
item
.
menuId
,
item
.
categoryId
])
// this.detail.categoryIds = this.filterTree(res.data.categoryId);
let
arr
=
[];
let
arr1
=
[];
res
.
data
.
pictureList
?.
forEach
((
item
)
=>
{
...
...
@@ -727,7 +590,9 @@ export default {
applyDetail
(
row
.
id
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
detail
=
res
.
data
;
this
.
detail
.
categoryIds
=
this
.
filterTree
(
res
.
data
.
categoryId
);
this
.
detail
.
categoryIdList
=
res
.
data
.
categoryList
.
map
(
item
=>
[
item
.
menuId
,
item
.
categoryId
])
// this.detail.categoryIds = this.filterTree(res.data.categoryId);
let
arr
=
[];
let
arr1
=
[];
res
.
data
.
pictureList
?.
forEach
((
item
)
=>
{
...
...
@@ -850,9 +715,11 @@ export default {
position
:
relative
;
overflow
:
hidden
;
}
.avatar-uploader
.el-upload
:hover
{
border-color
:
#409eff
;
}
.avatar-uploader-icon
{
font-size
:
28px
;
color
:
#8c939d
;
...
...
@@ -861,6 +728,7 @@ export default {
line-height
:
178px
;
text-align
:
center
;
}
.avatar
{
width
:
178px
;
height
:
178px
;
...
...
vue.config.js
View file @
aa9b847a
const
env
=
process
.
env
.
NODE_ENV
===
"production"
;
//
const publicPath = env ? "/manage-h5/" : "/"; //正式
const
publicPath
=
env
?
"/smartExam-h5/"
:
"/"
;
//测试
const
publicPath
=
env
?
"/manage-h5/"
:
"/"
;
//正式
//
const publicPath = env ? "/smartExam-h5/" : "/"; //测试
module
.
exports
=
{
publicPath
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment