Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
3508da5e
Commit
3508da5e
authored
Mar 01, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增审核
parent
188823a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
112 additions
and
7 deletions
+112
-7
investmentList.vue
src/components/tradePavilion/investmentList.vue
+56
-4
procurementList.vue
src/components/tradePavilion/procurementList.vue
+56
-3
No files found.
src/components/tradePavilion/investmentList.vue
View file @
3508da5e
...
...
@@ -32,10 +32,15 @@
</el-table-column>
<el-table-column
prop=
"EMail"
width=
"180"
label=
"邮箱"
>
</el-table-column>
<el-table-column
prop=
"AuditStatusStr"
width=
"100"
label=
"审核状态"
>
</el-table-column>
<el-table-column
prop=
"address"
width=
"150"
label=
"操作"
>
<template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<img
@
click=
"getInfo(scope.row)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
<img
@
click=
"getInfo(scope.row,0)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
</el-tooltip>
<el-tooltip
v-if=
"scope.row.AuditStatus==0"
class=
"item"
effect=
"dark"
content=
"审核"
placement=
"top"
>
<img
@
click=
"getInfo(scope.row,1)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
...
...
@@ -117,10 +122,30 @@
</el-form-item>
<el-form-item
label=
"其他内容"
>
<el-input
type=
"text"
v-model=
"addMsg.OtherInfo"
class=
"w400"
disabled
></el-input>
</el-form-item>
</el-form-item>
<template
v-if=
"addMsg.AuditStatus!=0"
>
<el-form-item
label=
"审核状态"
>
<el-radio
v-model=
"addMsg.AuditStatus"
:label=
"1"
disabled
>
通过
</el-radio>
<el-radio
v-model=
"addMsg.AuditStatus"
:label=
"2"
disabled
>
拒绝
</el-radio>
</el-form-item>
<el-form-item
label=
"审核内容"
>
<el-input
type=
"textarea"
v-model=
"addMsg.AuditContent"
class=
"w400"
disabled
></el-input>
</el-form-item>
</
template
>
<
template
v-if=
"showType==1"
>
<el-form-item
label=
"审核状态"
>
<el-radio
v-model=
"auditMsg.AuditStatus"
:label=
"1"
>
通过
</el-radio>
<el-radio
v-model=
"auditMsg.AuditStatus"
:label=
"2"
>
拒绝
</el-radio>
</el-form-item>
<el-form-item
label=
"审核内容"
>
<el-input
type=
"textarea"
v-model=
"auditMsg.AuditContent"
class=
"w400"
></el-input>
</el-form-item>
</
template
>
</el-form>
<el-button
size=
"small"
style=
"margin-top:20px;padding:9px 25px;"
type=
"primary"
@
click=
"isShowInfo=false"
>
返回
</el-button>
<el-button
v-if=
"showType==1"
size=
"small"
style=
"margin-top:20px;padding:9px 25px;margin-left:20px;"
type=
"primary"
@
click=
"audit()"
>
确定审核
</el-button>
</div>
</template>
</div>
...
...
@@ -139,6 +164,12 @@
tableData
:
[],
//数据列表
isShowInfo
:
false
,
//是否显示详情,
addMsg
:
{},
showType
:
0
,
//0-详情,1-审核
auditMsg
:
{
Id
:
0
,
AuditStatus
:
1
,
AuditContent
:
""
}
};
},
created
()
{
...
...
@@ -161,7 +192,10 @@
this
.
getList
();
},
//获取详情
getInfo
(
item
)
{
getInfo
(
item
,
type
)
{
this
.
clearMsg
();
this
.
showType
=
type
;
this
.
auditMsg
.
Id
=
item
.
Id
;
this
.
apipost
(
"/api/Trade/GetInvestmentProcurement"
,
{
Id
:
item
.
Id
},
res
=>
{
...
...
@@ -170,7 +204,25 @@
this
.
addMsg
=
res
.
data
.
data
;
}
})
}
},
//审核投资采购
audit
()
{
this
.
apipost
(
"/api/Trade/AutitInvestmentProcurement"
,
this
.
auditMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
isShowInfo
=
false
;
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
},
//清空消息
clearMsg
()
{
this
.
auditMsg
.
Id
=
0
;
this
.
auditMsg
.
AuditStatus
=
1
;
this
.
auditMsg
.
AuditContent
=
""
;
},
},
mounted
()
{}
};
...
...
src/components/tradePavilion/procurementList.vue
View file @
3508da5e
...
...
@@ -34,10 +34,15 @@
</el-table-column>
<el-table-column
prop=
"AnnualImport"
width=
"100"
label=
"年进口额"
>
</el-table-column>
<el-table-column
prop=
"AuditStatusStr"
width=
"100"
label=
"审核状态"
>
</el-table-column>
<el-table-column
prop=
"address"
width=
"150"
label=
"操作"
>
<template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<img
@
click=
"getInfo(scope.row)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
<img
@
click=
"getInfo(scope.row,0)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
</el-tooltip>
<el-tooltip
v-if=
"scope.row.AuditStatus==0"
class=
"item"
effect=
"dark"
content=
"审核"
placement=
"top"
>
<img
@
click=
"getInfo(scope.row,1)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
...
...
@@ -123,9 +128,30 @@
<el-form-item
label=
"其他内容"
>
<el-input
type=
"text"
v-model=
"addMsg.OtherInfo"
class=
"w400"
disabled
></el-input>
</el-form-item>
<template
v-if=
"addMsg.AuditStatus!=0"
>
<el-form-item
label=
"审核状态"
>
<el-radio
v-model=
"addMsg.AuditStatus"
:label=
"1"
disabled
>
通过
</el-radio>
<el-radio
v-model=
"addMsg.AuditStatus"
:label=
"2"
disabled
>
拒绝
</el-radio>
</el-form-item>
<el-form-item
label=
"审核内容"
>
<el-input
type=
"textarea"
v-model=
"addMsg.AuditContent"
class=
"w400"
disabled
></el-input>
</el-form-item>
</
template
>
<
template
v-if=
"showType==1"
>
<el-form-item
label=
"审核状态"
>
<el-radio
v-model=
"auditMsg.AuditStatus"
:label=
"1"
>
通过
</el-radio>
<el-radio
v-model=
"auditMsg.AuditStatus"
:label=
"2"
>
拒绝
</el-radio>
</el-form-item>
<el-form-item
label=
"审核内容"
>
<el-input
type=
"textarea"
v-model=
"auditMsg.AuditContent"
class=
"w400"
></el-input>
</el-form-item>
</
template
>
</el-form>
<el-button
size=
"small"
style=
"margin-top:20px;padding:9px 25px;"
type=
"primary"
@
click=
"isShowInfo=false"
>
返回
</el-button>
<el-button
v-if=
"showType==1"
size=
"small"
style=
"margin-top:20px;padding:9px 25px;margin-left:20px;"
type=
"primary"
@
click=
"audit()"
>
确定审核
</el-button>
</div>
</template>
</div>
...
...
@@ -144,6 +170,12 @@
tableData
:
[],
//数据列表
isShowInfo
:
false
,
//是否显示详情,
addMsg
:
{},
showType
:
0
,
//0-详情,1-审核
auditMsg
:
{
Id
:
0
,
AuditStatus
:
1
,
AuditContent
:
""
}
};
},
created
()
{
...
...
@@ -166,7 +198,10 @@
this
.
getList
();
},
//获取详情
getInfo
(
item
)
{
getInfo
(
item
,
type
)
{
this
.
clearMsg
();
this
.
showType
=
type
;
this
.
auditMsg
.
Id
=
item
.
Id
;
this
.
apipost
(
"/api/Trade/GetInvestmentProcurement"
,
{
Id
:
item
.
Id
},
res
=>
{
...
...
@@ -175,7 +210,25 @@
this
.
addMsg
=
res
.
data
.
data
;
}
})
}
},
//审核投资采购
audit
()
{
this
.
apipost
(
"/api/Trade/AutitInvestmentProcurement"
,
this
.
auditMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
isShowInfo
=
false
;
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
},
//清空消息
clearMsg
()
{
this
.
auditMsg
.
Id
=
0
;
this
.
auditMsg
.
AuditStatus
=
1
;
this
.
auditMsg
.
AuditContent
=
""
;
},
},
mounted
()
{}
};
...
...
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