Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
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
front-end-dev
techbook
Commits
c438ffc4
Commit
c438ffc4
authored
Feb 01, 2021
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运营指标验收等功能
parent
2ca936da
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
2 deletions
+30
-2
kolProfessorsManage.vue
src/views/indexAccepting/kolProfessorsManage.vue
+1
-0
projectManage.vue
src/views/indexAccepting/projectManage.vue
+1
-0
api.js
src/views/kolExpert/api/api.js
+6
-0
kolExpertManage.vue
src/views/kolExpert/kolExpertManage.vue
+22
-2
No files found.
src/views/indexAccepting/kolProfessorsManage.vue
View file @
c438ffc4
...
...
@@ -41,6 +41,7 @@
</el-row>
<el-row
style=
"margin: 20px 0 0 10px"
class=
"contnetform gendisplay"
>
<el-input
style=
"width: 240px;"
v-model=
"search.content"
@
keyup
.
enter
.
native=
"searchCik"
placeholder=
"请输入关键词查询"
></el-input>
<el-button
type=
"primary"
style=
"width: 140px;margin-left: 20px"
@
click=
"searchCik"
>
{{
$t
(
'operationjson.search'
)
}}
</el-button>
<el-button
type=
"primary"
plain
style=
"width: 140px;margin: 0 20px;"
@
click=
"resetCik"
>
重置
</el-button>
...
...
src/views/indexAccepting/projectManage.vue
View file @
c438ffc4
...
...
@@ -42,6 +42,7 @@
<el-row
style=
"margin: 20px 0 0 10px"
class=
"contnetform"
>
<div
style=
"display:flex;line-height: 40px;"
>
<el-input
style=
"width: 240px;margin-left: 20px;"
v-model=
"search.keyName"
@
keyup
.
enter
.
native=
"searchCik"
placeholder=
"请输入关键词查询"
></el-input>
<el-button
type=
"primary"
style=
"width: 140px;margin-left: 20px"
@
click=
"searchCik"
>
{{
$t
(
'operationjson.search'
)
}}
</el-button>
<el-button
type=
"primary"
plain
style=
"width: 140px;margin: 0 20px"
@
click=
"resetCik"
>
重置
</el-button>
...
...
src/views/kolExpert/api/api.js
View file @
c438ffc4
...
...
@@ -30,4 +30,9 @@ export default {
getCheckProfessor
(
params
)
{
return
api
.
fetchGet
(
'/base/check/professor/getCheckProfessor?professorId='
+
params
);
},
//kol专家导出
exportProfessorList
(
params
)
{
return
api
.
fetchLoadingPostex
(
'/base/manage/professor/exportProfessorList'
,
params
);
},
}
\ No newline at end of file
src/views/kolExpert/kolExpertManage.vue
View file @
c438ffc4
...
...
@@ -23,8 +23,8 @@
</
template
>
</el-form-item>
<el-form-item
class=
"formcontentnk"
>
<el-button
type=
"primary"
@
click=
""
style=
"margin-right: 20px;"
>
导出
</el-button>
<el-input
placeholder=
"请输入关键字"
v-model=
"searchs.content"
class=
"input-with-select"
style=
"width: 290px"
>
<el-button
type=
"primary"
@
click=
"
exportSuccess
"
style=
"margin-right: 20px;"
>
导出
</el-button>
<el-input
placeholder=
"请输入关键字"
@
keyup
.
enter
.
native=
"searchCik"
v-model=
"searchs.content"
class=
"input-with-select"
style=
"width: 290px"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"searchCik"
></el-button>
</el-input>
</el-form-item>
...
...
@@ -186,6 +186,26 @@
return
false
;
});
},
// 专家导出
exportSuccess
(){
let
params
=
this
.
searchs
;
api
.
exportProfessorList
(
params
).
then
(
response
=>
{
let
blob
=
new
Blob
([
response
],
{
type
:
"application/vnd.ms-excel"
//word文档为msword,pdf文档为pdf
});
let
objectUrl
=
URL
.
createObjectURL
(
blob
);
let
link
=
document
.
createElement
(
"a"
);
let
fname
=
`维护的专家列表`
+
`.xls`
;
//下载文件的名字
link
.
href
=
objectUrl
;
link
.
setAttribute
(
"download"
,
fname
);
document
.
body
.
appendChild
(
link
);
link
.
click
();
})
.
catch
(
error
=>
{
console
.
log
(
"提交出错"
);
return
false
;
});
},
},
mounted
()
{
this
.
getCreatedProfessors
();
...
...
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