Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhanglw
sensorConsult
Commits
a8face2f
Commit
a8face2f
authored
Jun 15, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
ceaa6ce2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
65 deletions
+65
-65
common.js
src/api/common.js
+7
-0
index.vue
src/views/backstage/guidanceMgt/guidanceTabulate/index.vue
+7
-7
view.vue
src/views/backstage/guidanceMgt/guidanceTabulate/view.vue
+51
-58
No files found.
src/api/common.js
View file @
a8face2f
...
...
@@ -177,6 +177,13 @@ export const HttpReq = {
method
:
'
get
'
})
},
// 查询咨询信息详情
queryInformationDetail
:
function
(
params
)
{
return
request
({
url
:
'
/api/bsw/information/queryInformationDetail?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
xxx
:
null
}
}
...
...
src/views/backstage/guidanceMgt/guidanceTabulate/index.vue
View file @
a8face2f
...
...
@@ -2,10 +2,10 @@
<div
class=
"app-container"
>
<!--工具栏-->
<div
class=
"head-container"
>
<el-select
v-model=
"query.
type"
clearable
placeholder=
"请选择咨询类型"
style=
"width: 15
0px"
>
<el-select
v-model=
"query.
consultType"
clearable
placeholder=
"请选择咨询类型"
style=
"width: 12
0px"
>
<el-option
v-for=
"item in dict.consult_type"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
<el-select
v-model=
"query.
area
"
clearable
placeholder=
"请选择地区"
style=
"width: 120px"
>
<el-select
v-model=
"query.
contactPersonProvince
"
clearable
placeholder=
"请选择地区"
style=
"width: 120px"
>
<el-option
v-for=
"item in dict.area_province"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
<el-input
v-model=
"query.productName"
clearable
placeholder=
"请输入咨询产品名称"
style=
"width:280px;"
/>
...
...
@@ -29,8 +29,8 @@
<el-table
id=
"dataTable"
ref=
"dataTable"
v-loading=
"loading"
:data=
"tableData"
tooltip-effect=
"dark"
style=
"width:auto;min-height: 70vh"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"index"
width=
"55"
label=
"序号"
:index=
"indexMethod"
/>
<el-table-column
prop=
"
t
ype"
label=
"咨询产品类型"
width=
"180"
:formatter=
"(row, col, val)=>
{return dict.label.consult_type[val]}" />
<el-table-column
prop=
"area"
label=
"地区"
width=
"1
00"
:formatter=
"(row, col, val)=>
{return dict.label.area_province[val]}
" />
<el-table-column
prop=
"
consultT
ype"
label=
"咨询产品类型"
width=
"180"
:formatter=
"(row, col, val)=>
{return dict.label.consult_type[val]}" />
<el-table-column
prop=
"area"
label=
"地区"
width=
"1
20
"
/>
<el-table-column
prop=
"productName"
label=
"咨询产品名称"
/>
<el-table-column
prop=
"productId"
label=
"产品ID"
width=
"100"
/>
<el-table-column
label=
"状态"
width=
"100"
>
...
...
@@ -42,7 +42,7 @@
<el-table-column
prop=
"handleTime"
label=
"处理日期"
align=
"center"
width=
"180"
/>
<el-table-column
label=
"操作"
align=
"right"
width=
"140"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
v-
show=
"scope.row.status==3
"
content=
"处理"
><el-button
round
plain
type=
"success"
icon=
"el-icon-finished"
@
click=
"toView(scope.row)"
/></el-tooltip>
<el-tooltip
v-
if=
"scope.row.status==='2'
"
content=
"处理"
><el-button
round
plain
type=
"success"
icon=
"el-icon-finished"
@
click=
"toView(scope.row)"
/></el-tooltip>
<el-tooltip
content=
"查看"
><el-button
round
plain
icon=
"el-icon-view"
@
click=
"toView(scope.row)"
/></el-tooltip>
</
template
>
</el-table-column>
...
...
@@ -63,7 +63,7 @@ export default {
dicts
:
[
'
consult_status
'
,
'
consult_type
'
,
'
area_province
'
],
data
()
{
return
{
textColors
:
[
'
#ccc
'
,
'
#
32cd32
'
,
'
#000
'
,
'
#ff4949
'
],
textColors
:
[
'
#ccc
'
,
'
#
000
'
,
'
#32cd32
'
,
'
#ff4949
'
],
loading
:
false
,
page
:
1
,
pageSize
:
20
,
...
...
@@ -129,7 +129,7 @@ export default {
},
toView
(
item
)
{
this
.
$refs
.
viewPage
.
loadData
(
item
.
product
Id
)
this
.
$refs
.
viewPage
.
loadData
(
item
.
information
Id
)
},
toSearch
()
{
this
.
page
=
1
...
...
src/views/backstage/guidanceMgt/guidanceTabulate/view.vue
View file @
a8face2f
...
...
@@ -5,56 +5,66 @@
<el-form
ref=
"formViewRef"
:model=
"formData"
:status-icon=
"true"
label-width=
"240px"
>
<el-form-item
label=
"咨询类型:"
class=
"form-cell"
prop=
"supplierLevel"
>
<div
class=
"cell-box"
>
<el-select
v-model=
"formData.
supplierLevel
"
disabled
placeholder=
"无"
class=
"cell-select"
>
<el-option
v-for=
"item in dict.
produc
t_type"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
<el-select
v-model=
"formData.
type
"
disabled
placeholder=
"无"
class=
"cell-select"
>
<el-option
v-for=
"item in dict.
consul
t_type"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</div>
</el-form-item>
<el-form-item
label=
"区域:"
class=
"form-cell"
prop=
"supplierLevel"
>
<el-form-item
v-if=
"formData.status
<8
"
label=
"区域:"
class=
"form-cell"
prop=
"supplierLevel"
>
<div
class=
"cell-box"
>
<el-select
v-model=
"formData.
supplierLevel
"
disabled
placeholder=
"无"
class=
"cell-select"
>
<el-select
v-model=
"formData.
area
"
disabled
placeholder=
"无"
class=
"cell-select"
>
<el-option
v-for=
"item in dict.area_province"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</div>
</el-form-item>
<el-form-item
label=
"咨询产品名称:"
class=
"form-cell"
prop=
"enterpriseName"
>
<el-form-item
v-if=
"formData.status
<8
"
label=
"咨询产品名称:"
class=
"form-cell"
prop=
"enterpriseName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.
enterpriseName"
disabled
placeholder=
"请输入企业名称"
class=
"cell-input"
/>
<el-input
v-model=
"formData.
productName"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"产品ID:"
class=
"form-cell"
prop=
"enterpriseName"
>
<el-form-item
v-if=
"formData.status
<8
"
label=
"产品ID:"
class=
"form-cell"
prop=
"enterpriseName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.enterpriseName"
disabled
placeholder=
"请输入企业名称"
class=
"cell-input"
/>
<el-input
v-model=
"formData.productId"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.status>7"
label=
"标题:"
class=
"form-cell"
prop=
"enterpriseName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.productId"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"咨询内容:"
class=
"form-cell"
prop=
"mainProductsIntroduction"
>
<div
class=
"cell-box"
>
<div
class=
"cell-textarea"
>
{{
formData
.
mainProductsIntroduction
}}
</div>
<div
class=
"cell-textarea"
>
{{
formData
.
consultationContent
}}
</div>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.status
<8
"
label=
"咨询企业名称:"
class=
"form-cell"
prop=
"enterpriseName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.enterpriseName"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"咨询
企业名称
:"
class=
"form-cell"
prop=
"enterpriseName"
>
<el-form-item
label=
"咨询
人
:"
class=
"form-cell"
prop=
"enterpriseName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.enterprise
Name"
disabled
placeholder=
"请输入企业名称"
class=
"cell-input"
/>
<el-input
v-model=
"formData.enterprise
ContactPerson"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"咨询人电话:"
class=
"form-cell"
prop=
"enterpriseName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.enterprise
Name"
disabled
placeholder=
"请输入企业名称"
class=
"cell-input"
/>
<el-input
v-model=
"formData.enterprise
ContactPersonPhone"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"电子邮箱:"
class=
"form-cell"
prop=
"enterpriseName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.enterprise
Name"
disabled
placeholder=
"请输入企业名称"
class=
"cell-input"
/>
<el-input
v-model=
"formData.enterprise
Email"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"联系地址:"
class=
"form-cell"
prop=
"enterpriseName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.enterprise
Name"
disabled
placeholder=
"请输入企业名称"
class=
"cell-input"
/>
<el-input
v-model=
"formData.enterprise
Address"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"处理状态:"
class=
"form-cell"
prop=
"supplierLevel"
>
<div
class=
"cell-box"
>
<el-select
v-model=
"formData.s
upplierLevel"
disabled
placeholder=
"无"
class=
"cell-select"
>
<el-select
v-model=
"formData.s
tatus"
disabled
class=
"cell-select"
>
<el-option
v-for=
"item in dict.consult_status"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</div>
...
...
@@ -62,7 +72,7 @@
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center"
>
<el-button
@
click=
"cancelView"
>
关闭
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm(true)"
>
处理
</el-button>
<el-button
v-if=
"formData.status==='2'"
type=
"primary"
@
click=
"submitForm(true)"
>
处理
</el-button>
</div>
</el-dialog>
</
template
>
...
...
@@ -70,41 +80,25 @@
import
{
HttpReq
}
from
'
@/api/common
'
export
default
{
dicts
:
[
'
produc
t_type
'
,
'
area_province
'
,
'
consult_status
'
],
dicts
:
[
'
consul
t_type
'
,
'
area_province
'
,
'
consult_status
'
],
data
()
{
return
{
stampImgSrc
:
''
,
visible
:
false
,
title
:
'
咨询信息详情
'
,
formData
:
{
annualInspectionDate
:
''
,
// 审核日期
businessLicense
:
''
,
// 营业执照的照片名称
businessScope
:
''
,
// 经营范围
businessScopeIntroduction
:
''
,
// 业务范围介绍
businessStatus
:
''
,
// 经营状态
enterpriseAddress
:
''
,
// 企业地址
enterpriseContactPerson
:
''
,
// 企业联系人
enterpriseContactPersonPhone
:
''
,
// 企业联系人手机号
enterpriseEmail
:
''
,
// 企业邮箱
enterpriseIntroduction
:
''
,
// 企业介绍
enterpriseName
:
''
,
// 企业名称
enterpriseType
:
''
,
// 企业类型
establishmentDate
:
''
,
// 成立日期
industry
:
''
,
// 所属行业
legalRepresentative
:
''
,
// 法定代表人
mainProductsIntroduction
:
''
,
// 主营产品介绍
operatingPeriod
:
''
,
// 经营期限
registeredAddressArea
:
''
,
// 注册地址-区
registeredAddressCity
:
''
,
// 注册地址-市
registeredAddressProvince
:
''
,
// 注册地址-省
registeredAddressStreet
:
''
,
// 注册地址-街道
registeredCapital
:
''
,
// 注册资本
registrationAuthority
:
''
,
// 登记机关
supplierLevel
:
'
1
'
,
// 供应商级别
taxpayerIdentificationNumber
:
''
,
// 纳税人识别号
unifiedSocialCreditCode
:
''
,
// 统一社会信用代码
reviewComments
:
''
,
// 审核意见
sysUserId
:
null
area
:
''
,
consultationContent
:
''
,
enterpriseAddress
:
''
,
enterpriseContactPerson
:
''
,
enterpriseContactPersonPhone
:
''
,
enterpriseEmail
:
''
,
enterpriseName
:
''
,
productName
:
''
,
productId
:
''
,
status
:
'
1
'
,
type
:
'
1
'
,
informationId
:
null
}
}
},
...
...
@@ -142,19 +136,18 @@ export default {
}
})
},
loadData
(
customerId
)
{
loadData
(
informationId
)
{
HttpReq
.
backstageApi
.
queryInformationDetail
({
informationId
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
formData
=
res
.
data
this
.
showView
()
// HttpReq.backstageApi.queryCustomerDetail({ customerId }).then((res) => {
// if (res.code === 200) {
// this.formData = res.data
// this.showView()
// } else {
// this.$message({
// message: res.msg,
// type: 'error'
// })
// }
// })
}
else
{
this
.
$message
({
message
:
res
.
msg
,
type
:
'
error
'
})
}
})
}
}
}
...
...
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