Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
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
王浩
zh-baseversion-project
Commits
f3fb4bf9
Commit
f3fb4bf9
authored
Jul 08, 2024
by
xulihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改行业专家库
parent
37def2d7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
81 additions
and
10 deletions
+81
-10
behBrowse.js
zh-baseversion-web/src/api/specialist/behBrowse.js
+9
-0
browse.js
zh-baseversion-web/src/api/specialist/browse.js
+9
-0
index.vue
zh-baseversion-web/src/views/specialist/behBrowse/index.vue
+32
-1
index.vue
zh-baseversion-web/src/views/specialist/browse/index.vue
+23
-1
index.vue
zh-baseversion-web/src/views/specialist/info/index.vue
+8
-8
No files found.
zh-baseversion-web/src/api/specialist/behBrowse.js
View file @
f3fb4bf9
...
@@ -51,3 +51,12 @@ export function exportBrowse(query) {
...
@@ -51,3 +51,12 @@ export function exportBrowse(query) {
params
:
query
params
:
query
})
})
}
}
//获取任务
export
function
getProBehInforBrowseTask
(
query
)
{
return
request
({
url
:
'/government/supervision/getBehaviour'
,
method
:
'get'
,
params
:
query
})
}
zh-baseversion-web/src/api/specialist/browse.js
View file @
f3fb4bf9
...
@@ -51,3 +51,12 @@ export function exportBrowse(query) {
...
@@ -51,3 +51,12 @@ export function exportBrowse(query) {
params
:
query
params
:
query
})
})
}
}
//获取任务
export
function
getExpertDeclarationTask
(
query
)
{
return
request
({
url
:
'/government/supervision/getProfessorInfo'
,
method
:
'get'
,
params
:
query
})
}
zh-baseversion-web/src/views/specialist/behBrowse/index.vue
View file @
f3fb4bf9
...
@@ -56,6 +56,14 @@
...
@@ -56,6 +56,14 @@
@
click=
"handleExport"
@
click=
"handleExport"
>
导出
</el-button>
>
导出
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
plain
size=
"mini"
type=
"info"
@
click=
"getGovermentTaskInfo"
>
从省平台获取数据
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
...
@@ -132,8 +140,18 @@
...
@@ -132,8 +140,18 @@
</template>
</template>
<
script
>
<
script
>
import
{
listBrowse
,
getBrowse
,
delBrowse
,
addBrowse
,
updateBrowse
,
exportBrowse
}
from
"@/api/specialist/behBrowse"
;
import
{
listBrowse
,
getBrowse
,
delBrowse
,
addBrowse
,
updateBrowse
,
exportBrowse
,
getProBehInforBrowseTask
}
from
"@/api/specialist/behBrowse"
;
import
DetailInfo
from
"./components/DetailInfo"
;
import
DetailInfo
from
"./components/DetailInfo"
;
import
{
getExpertDeclarationTask
}
from
"@/api/specialist/browse"
;
import
moment
from
"moment/moment"
;
export
default
{
export
default
{
name
:
"Browse"
,
name
:
"Browse"
,
components
:
{
components
:
{
...
@@ -291,6 +309,19 @@ export default {
...
@@ -291,6 +309,19 @@ export default {
this
.
exportLoading
=
false
;
this
.
exportLoading
=
false
;
}).
catch
(()
=>
{});
}).
catch
(()
=>
{});
},
},
//获取数据
getGovermentTaskInfo
(){
this
.
$confirm
(
'是否确认从省平台获取数据?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
return
getProBehInforBrowseTask
({
updateTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
pageIndex
:
1
,
pageSize
:
1000
});
}).
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"从省平台获取数据成功"
);
}).
catch
(()
=>
{});
},
//详情
//详情
handleDetail
(
row
){
handleDetail
(
row
){
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fProBehInforId
);
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fProBehInforId
);
...
...
zh-baseversion-web/src/views/specialist/browse/index.vue
View file @
f3fb4bf9
...
@@ -103,6 +103,14 @@
...
@@ -103,6 +103,14 @@
@
click=
"handleExport"
@
click=
"handleExport"
>
导出
</el-button>
>
导出
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
plain
size=
"mini"
type=
"info"
@
click=
"getGovermentTaskInfo"
>
从省平台获取数据
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
...
@@ -303,8 +311,9 @@
...
@@ -303,8 +311,9 @@
</template>
</template>
<
script
>
<
script
>
import
{
listBrowse
,
getBrowse
,
delBrowse
,
addBrowse
,
updateBrowse
,
exportBrowse
}
from
"@/api/specialist/browse"
;
import
{
listBrowse
,
getBrowse
,
delBrowse
,
addBrowse
,
updateBrowse
,
exportBrowse
,
getExpertDeclarationTask
}
from
"@/api/specialist/browse"
;
import
DetailInfo
from
"./components/DetailInfo"
;
import
DetailInfo
from
"./components/DetailInfo"
;
import
moment
from
"moment"
;
export
default
{
export
default
{
name
:
"Browse"
,
name
:
"Browse"
,
components
:
{
components
:
{
...
@@ -557,6 +566,19 @@ export default {
...
@@ -557,6 +566,19 @@ export default {
this
.
exportLoading
=
false
;
this
.
exportLoading
=
false
;
}).
catch
(()
=>
{});
}).
catch
(()
=>
{});
},
},
//获取数据
getGovermentTaskInfo
(){
this
.
$confirm
(
'是否确认从省平台获取数据?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
return
getExpertDeclarationTask
({
updateTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
pageIndex
:
1
,
pageSize
:
1000
});
}).
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"从省平台获取数据成功"
);
}).
catch
(()
=>
{});
},
//详情
//详情
handleDetail
(
row
){
handleDetail
(
row
){
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fProAppInforId
);
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fProAppInforId
);
...
...
zh-baseversion-web/src/views/specialist/info/index.vue
View file @
f3fb4bf9
...
@@ -255,11 +255,11 @@
...
@@ -255,11 +255,11 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<!--
<el-col :span="12">
<el-form-item label="数据限定" prop="fDeptCode">
<el-form-item label="数据限定" prop="fDeptCode">
<el-input v-model="form.fDeptCode" placeholder="请输入数据限定" />
<el-input v-model="form.fDeptCode" placeholder="请输入数据限定" />
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"数据来源"
prop=
"fSource"
>
<el-form-item
label=
"数据来源"
prop=
"fSource"
>
...
@@ -579,9 +579,9 @@ export default {
...
@@ -579,9 +579,9 @@ export default {
form
:
{},
form
:
{},
// 表单校验
// 表单校验
rules
:
{
rules
:
{
fDeptCode
:
[
/*
fDeptCode: [
{ required: true, message: "数据限定不能为空", trigger: "blur" }
{ required: true, message: "数据限定不能为空", trigger: "blur" }
],
],
*/
fSource
:
[
fSource
:
[
{
required
:
true
,
message
:
"数据来源不能为空"
,
trigger
:
"change"
}
{
required
:
true
,
message
:
"数据来源不能为空"
,
trigger
:
"change"
}
],
],
...
...
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