Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a6a71674
authored
Dec 18, 2023
by
Thews
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.97.176.204:19000/wangwansu/iact_jiagou_drowio
2 parents
53b6bd36
cd3ee29a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
85 additions
and
112 deletions
src/api/index.js
src/views/report-template-fabric/index.vue
src/views/report-template-relative-use/index.vue
src/views/tech-politics-fabric/index.vue
src/views/tech-politics-relative-use/index.vue
src/api/index.js
View file @
a6a7167
...
@@ -156,7 +156,7 @@ export function getYMXZDGLProyDel(params) {
...
@@ -156,7 +156,7 @@ export function getYMXZDGLProyDel(params) {
}
}
// 技术政策结构化-列表
// 技术政策结构化-列表
export
function
getJiShuZhengCeJieGouHuaTable
(
params
)
{
export
function
getJiShuZhengCeJieGouHuaTable
(
params
)
{
return
ge
t
(
'/kl-tech-policy/'
,
params
);
return
pos
t
(
'/kl-tech-policy/'
,
params
);
}
}
// 技术政策结构化-新增
// 技术政策结构化-新增
export
function
addJiShuZhengCeJieGouHuaTable
(
params
)
{
export
function
addJiShuZhengCeJieGouHuaTable
(
params
)
{
...
...
src/views/report-template-fabric/index.vue
View file @
a6a7167
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
<div
class=
"search_menu_item"
>
<div
class=
"search_menu_item"
>
<span
class=
"search_title"
>
模板类型
</span>
<span
class=
"search_title"
>
模板类型
</span>
<el-select
v-model=
"searchParams.tempType"
placeholder=
"请选择"
class=
"search_item"
>
<el-select
v-model=
"searchParams.tempType"
placeholder=
"请选择"
class=
"search_item"
>
<el-option
label=
"需求模版"
value=
"1"
></el-option>
<el-option
label=
"需求模版"
:
value=
"1"
></el-option>
<el-option
label=
"概设模版"
value=
"2"
></el-option>
<el-option
label=
"概设模版"
:
value=
"2"
></el-option>
</el-select>
</el-select>
</div>
</div>
<div
class=
"search_menu_item"
>
<div
class=
"search_menu_item"
>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</div>
</div>
<div
class=
"search_btn"
>
<div
class=
"search_btn"
>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
@
click=
"add"
>
新建
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
@
click=
"add"
>
新建
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
>
删除
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
@
click=
"moreDelete"
>
删除
</el-button>
</div>
</div>
<el-table
:height=
"tableHeight"
@
selection-change=
"select_table_rows"
v-loading=
"loading"
:data=
"tableData"
stripe
border
>
<el-table
:height=
"tableHeight"
@
selection-change=
"select_table_rows"
v-loading=
"loading"
:data=
"tableData"
stripe
border
>
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"selectable"
></el-table-column>
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"selectable"
></el-table-column>
...
@@ -58,8 +58,8 @@
...
@@ -58,8 +58,8 @@
<el-table-column
label=
"操作"
width=
"260"
align=
"center"
>
<el-table-column
label=
"操作"
width=
"260"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
<el-button
icon=
"el-icon-edit"
type=
"primary"
size=
"mini"
:disabled=
"scope.row.state == 1
"
>
编辑
</el-button>
<el-button
icon=
"el-icon-edit"
type=
"primary"
size=
"mini"
@
click=
"editItem(scope.row)
"
>
编辑
</el-button>
<el-button
class=
"shanChu_btn"
icon=
"el-icon-delete"
size=
"mini"
@
click=
"deleteItem(scope.row)"
:disabled=
"scope.row.state == 1"
>
删除
</el-button>
<el-button
class=
"shanChu_btn"
icon=
"el-icon-delete"
size=
"mini"
@
click=
"deleteItem(scope.row)"
>
删除
</el-button>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</div>
</div>
<el-dialog
<el-dialog
title=
"
新建
模板信息"
title=
"模板信息"
:visible
.
sync=
"add_dialog"
:visible
.
sync=
"add_dialog"
:center=
"false"
:center=
"false"
width=
"60%"
>
width=
"60%"
>
...
@@ -94,23 +94,22 @@
...
@@ -94,23 +94,22 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"模版类型:"
prop=
"let2"
style=
"margin-left: 27px;width: 30.5%;"
>
<el-form-item
label=
"模版类型:"
prop=
"let2"
style=
"margin-left: 27px;width: 30.5%;"
>
<el-select
v-model=
"ruleForm.let2"
placeholder=
"请选择"
style=
"width: 200px;"
>
<el-select
v-model=
"ruleForm.let2"
placeholder=
"请选择"
style=
"width: 200px;"
>
<el-option
label=
"已发布"
value=
"1"
></el-option>
<el-option
label=
"需求模版"
:value=
"1"
></el-option>
<el-option
label=
"已停用"
value=
"0"
></el-option>
<el-option
label=
"概设模版"
:value=
"2"
></el-option>
<el-option
label=
"暂存"
value=
"2"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"模版文件:"
prop=
"let3"
style=
"width: 100%;"
>
<el-form-item
label=
"模版文件:"
prop=
"let3"
style=
"width: 100%;"
>
<!-- <input @change="fileUpload" type="file" /> -->
<!-- <input @change="fileUpload" type="file" /> -->
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
action=
"
#
"
action=
"
http://43.143.211.42:7005/oss/upload
"
ref=
"upload"
ref=
"upload"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:
http-request=
"handleFileUpload
"
:
on-success=
"handleFileUploadSuccess
"
:limit=
"1"
:limit=
"1"
:file-list=
"fileList"
>
:file-list=
"fileList"
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<
div
slot=
"tip"
class=
"el-upload__tip"
>
只能上传jpg/png文件, 且不超过500kb
</div
>
<
!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件, 且不超过500kb</div> --
>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
<el-form-item
class=
"cross1"
label=
"备注:"
prop=
"let4"
>
<el-form-item
class=
"cross1"
label=
"备注:"
prop=
"let4"
>
...
@@ -186,11 +185,19 @@ export default {
...
@@ -186,11 +185,19 @@ export default {
this
.
get_table
();
this
.
get_table
();
},
},
methods
:
{
methods
:
{
editItem
(
row
)
{
//编辑
this
.
ruleForm
.
let1
=
row
.
tempName
;
this
.
ruleForm
.
let2
=
row
.
tempType
;
this
.
ruleForm
.
let4
=
row
.
tempRemark
;
this
.
add_dialog
=
true
;
},
handleRemove
(
file
,
fileList
)
{
//文件移出
handleRemove
(
file
,
fileList
)
{
//文件移出
console
.
log
(
file
,
fileList
);
console
.
log
(
file
,
fileList
);
},
},
handleFileUpload
(
file
)
{
//文件上传
handleFileUploadSuccess
(
res
,
file
,
fileList
)
{
//文件上传
console
.
log
(
res
);
console
.
log
(
file
);
console
.
log
(
file
);
console
.
log
(
fileList
);
},
},
deleteItem
(
row
)
{
//删除
deleteItem
(
row
)
{
//删除
MessageBox
.
confirm
(
'确定删除?'
,
'提示'
,
{
MessageBox
.
confirm
(
'确定删除?'
,
'提示'
,
{
...
@@ -256,12 +263,24 @@ export default {
...
@@ -256,12 +263,24 @@ export default {
},
},
add
()
{
//新建按钮
add
()
{
//新建按钮
this
.
add_dialog
=
true
;
this
.
add_dialog
=
true
;
this
.
ruleForm
.
let1
=
null
;
this
.
ruleForm
.
let2
=
null
;
this
.
ruleForm
.
let4
=
null
;
},
moreDelete
()
{
//批量删除
if
(
this
.
selectTable
.
length
==
0
)
{
Message
({
type
:
'error'
,
message
:
'请选择至少一条数据!'
});
}
else
{
}
},
},
reset
()
{
//重置
reset
()
{
//重置
this
.
query_item1
=
null
;
this
.
searchParams
.
tempName
=
null
;
this
.
query_item3
=
null
;
this
.
searchParams
.
tempType
=
null
;
this
.
query_item4
=
null
;
this
.
searchParams
.
createTime
=
null
;
},
},
// 每页条数改变
// 每页条数改变
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
...
src/views/report-template-relative-use/index.vue
View file @
a6a7167
...
@@ -37,14 +37,14 @@
...
@@ -37,14 +37,14 @@
<p>
新建
</p>
<p>
新建
</p>
</div>
-->
</div>
-->
<el-button
@
click=
"add"
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
>
新建
</el-button>
<el-button
@
click=
"add"
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
>
新建
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
>
删除
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
@
click=
"moreDelete"
>
删除
</el-button>
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导入
</el-button>
-->
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导入
</el-button>
-->
<div
class=
"import_btn"
@
click=
"importFile"
>
<div
class=
"import_btn"
@
click=
"importFile"
>
<img
class=
"btn_icon"
src=
"@/assets/tech-politics-fabric/import.png"
alt=
""
/>
<img
class=
"btn_icon"
src=
"@/assets/tech-politics-fabric/import.png"
alt=
""
/>
<p>
导入
</p>
<p>
导入
</p>
</div>
</div>
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导出
</el-button>
-->
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导出
</el-button>
-->
<div
class=
"import_btn"
style=
"margin-left: 0;"
>
<div
class=
"import_btn"
@
click=
"exportFile"
style=
"margin-left: 0;"
>
<img
class=
"btn_icon"
src=
"@/assets/tech-politics-fabric/export.png"
alt=
""
/>
<img
class=
"btn_icon"
src=
"@/assets/tech-politics-fabric/export.png"
alt=
""
/>
<p>
导出
</p>
<p>
导出
</p>
</div>
</div>
...
@@ -56,14 +56,14 @@
...
@@ -56,14 +56,14 @@
<el-table-column
prop=
"tepContent"
label=
"系统名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"tepContent"
label=
"系统名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"scope"
label=
"项目名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"scope"
label=
"项目名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"deptName"
label=
"模板名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"deptName"
label=
"模板名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"
level
"
label=
"创建时间"
align=
"center"
></el-table-column>
<el-table-column
prop=
"
createTime
"
label=
"创建时间"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作"
width=
"600"
align=
"center"
>
<el-table-column
label=
"操作"
width=
"600"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
<el-button
icon=
"el-icon-edit"
type=
"primary"
size=
"mini"
@
click=
"editItem(scope.row)"
>
编辑
</el-button>
<el-button
icon=
"el-icon-edit"
type=
"primary"
size=
"mini"
@
click=
"editItem(scope.row)"
>
编辑
</el-button>
<el-button
icon=
"el-icon-edit"
type=
"primary"
size=
"mini"
@
click=
"
start
Item(scope.row)"
>
编辑文档
</el-button>
<el-button
icon=
"el-icon-edit"
type=
"primary"
size=
"mini"
@
click=
"
editDoc
Item(scope.row)"
>
编辑文档
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
size=
"mini"
@
click=
"
stop
Item(scope.row)"
>
评审及评审意见内容抽取
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
size=
"mini"
@
click=
"
editDoc
Item(scope.row)"
>
评审及评审意见内容抽取
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
size=
"mini"
@
click=
"
delete
Item(scope.row)"
>
督查内容抽取
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
size=
"mini"
@
click=
"
editDoc
Item(scope.row)"
>
督查内容抽取
</el-button>
<el-button
class=
"shanChu_btn"
icon=
"el-icon-delete"
size=
"mini"
@
click=
"deleteItem(scope.row)"
>
删除
</el-button>
<el-button
class=
"shanChu_btn"
icon=
"el-icon-delete"
size=
"mini"
@
click=
"deleteItem(scope.row)"
>
删除
</el-button>
</div>
</div>
</
template
>
</
template
>
...
@@ -195,82 +195,18 @@ export default {
...
@@ -195,82 +195,18 @@ export default {
});
});
inpEle
.
click
();
inpEle
.
click
();
},
},
exportFile
()
{
//导出
},
editItem
(
row
)
{
//编辑
editItem
(
row
)
{
//编辑
this
.
ruleForm
.
let1
=
row
.
tpoName
;
this
.
ruleForm
.
let1
=
row
.
tpoName
;
this
.
ruleForm
.
let2
=
row
.
scope
;
this
.
ruleForm
.
let2
=
row
.
scope
;
this
.
ruleForm
.
let3
=
row
.
deptName
;
this
.
ruleForm
.
let3
=
row
.
deptName
;
this
.
ruleForm
.
let4
=
row
.
level
;
this
.
ruleForm
.
let4
=
row
.
level
;
this
.
ruleForm
.
let5
=
row
.
startTime
;
this
.
ruleForm
.
let6
=
row
.
state
;
this
.
ruleForm
.
let7
=
row
.
tepContent
;
this
.
ruleForm
.
let8
=
row
.
tepRemark
;
this
.
add_dialog
=
true
;
this
.
add_dialog
=
true
;
},
},
startItem
(){
//启用
editDocItem
(){
//编辑文档
MessageBox
.
confirm
(
'确定发布?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'messageClass'
,
confirmButtonClass
:
'confirmClass'
,
type
:
'warning'
}).
then
(()
=>
{
const
params
=
{
id
:
row
.
ktepId
,
state
:
1
}
editJiShuZhengCeJieGouHuaTable
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
get_table
();
Message
({
type
:
'success'
,
message
:
'删除成功!'
});
}
else
{
Message
({
type
:
'error'
,
message
:
res
.
msg
});
}
});
}).
catch
(()
=>
{
Message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
stopItem
(
row
)
{
//停用
MessageBox
.
confirm
(
'确定停用?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'messageClass'
,
confirmButtonClass
:
'confirmClass'
,
type
:
'warning'
}).
then
(()
=>
{
const
params
=
{
id
:
row
.
ktepId
,
state
:
0
}
editJiShuZhengCeJieGouHuaTable
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
get_table
();
Message
({
type
:
'success'
,
message
:
'删除成功!'
});
}
else
{
Message
({
type
:
'error'
,
message
:
res
.
msg
});
}
});
}).
catch
(()
=>
{
Message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
},
deleteItem
(
row
)
{
//删除
deleteItem
(
row
)
{
//删除
MessageBox
.
confirm
(
'确定删除?'
,
'提示'
,
{
MessageBox
.
confirm
(
'确定删除?'
,
'提示'
,
{
...
@@ -314,10 +250,6 @@ export default {
...
@@ -314,10 +250,6 @@ export default {
scope
:
this
.
ruleForm
.
let2
,
scope
:
this
.
ruleForm
.
let2
,
deptName
:
this
.
ruleForm
.
let3
,
deptName
:
this
.
ruleForm
.
let3
,
level
:
this
.
ruleForm
.
let4
,
level
:
this
.
ruleForm
.
let4
,
startTime
:
this
.
ruleForm
.
let5
,
state
:
this
.
ruleForm
.
let6
,
tepContent
:
this
.
ruleForm
.
let7
,
tepRemark
:
this
.
ruleForm
.
let8
,
};
};
addJiShuZhengCeJieGouHuaTable
(
params
).
then
(
res
=>
{
addJiShuZhengCeJieGouHuaTable
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
...
@@ -360,10 +292,16 @@ export default {
...
@@ -360,10 +292,16 @@ export default {
this
.
ruleForm
.
let2
=
null
;
this
.
ruleForm
.
let2
=
null
;
this
.
ruleForm
.
let3
=
null
;
this
.
ruleForm
.
let3
=
null
;
this
.
ruleForm
.
let4
=
null
;
this
.
ruleForm
.
let4
=
null
;
this
.
ruleForm
.
let5
=
null
;
},
this
.
ruleForm
.
let6
=
null
;
moreDelete
()
{
//批量删除
this
.
ruleForm
.
let7
=
null
;
if
(
this
.
selectTable
.
length
==
0
)
{
this
.
ruleForm
.
let8
=
null
;
Message
({
type
:
'error'
,
message
:
'请选择至少一条数据!'
});
}
else
{
}
},
},
reset
()
{
//重置
reset
()
{
//重置
this
.
query_item1
=
null
;
this
.
query_item1
=
null
;
...
...
src/views/tech-politics-fabric/index.vue
View file @
a6a7167
...
@@ -42,14 +42,14 @@
...
@@ -42,14 +42,14 @@
<p>
新建
</p>
<p>
新建
</p>
</div>
-->
</div>
-->
<el-button
@
click=
"add"
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
>
新建
</el-button>
<el-button
@
click=
"add"
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
>
新建
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
>
删除
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
@
click=
"moreDelete"
>
删除
</el-button>
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导入
</el-button>
-->
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导入
</el-button>
-->
<div
class=
"import_btn"
@
click=
"importFile"
>
<div
class=
"import_btn"
@
click=
"importFile"
>
<img
class=
"btn_icon"
src=
"@/assets/tech-politics-fabric/import.png"
alt=
""
/>
<img
class=
"btn_icon"
src=
"@/assets/tech-politics-fabric/import.png"
alt=
""
/>
<p>
导入
</p>
<p>
导入
</p>
</div>
</div>
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导出
</el-button>
-->
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导出
</el-button>
-->
<div
class=
"import_btn"
style=
"margin-left: 0;"
>
<div
class=
"import_btn"
@
click=
"exportFile"
style=
"margin-left: 0;"
>
<img
class=
"btn_icon"
src=
"@/assets/tech-politics-fabric/export.png"
alt=
""
/>
<img
class=
"btn_icon"
src=
"@/assets/tech-politics-fabric/export.png"
alt=
""
/>
<p>
导出
</p>
<p>
导出
</p>
</div>
</div>
...
@@ -222,6 +222,9 @@ export default {
...
@@ -222,6 +222,9 @@ export default {
});
});
inpEle
.
click
();
inpEle
.
click
();
},
},
exportFile
()
{
//导出
},
editItem
(
row
)
{
//编辑
editItem
(
row
)
{
//编辑
this
.
ruleForm
.
let1
=
row
.
tpoName
;
this
.
ruleForm
.
let1
=
row
.
tpoName
;
this
.
ruleForm
.
let2
=
row
.
scope
;
this
.
ruleForm
.
let2
=
row
.
scope
;
...
@@ -392,10 +395,20 @@ export default {
...
@@ -392,10 +395,20 @@ export default {
this
.
ruleForm
.
let7
=
null
;
this
.
ruleForm
.
let7
=
null
;
this
.
ruleForm
.
let8
=
null
;
this
.
ruleForm
.
let8
=
null
;
},
},
moreDelete
()
{
//批量删除
if
(
this
.
selectTable
.
length
==
0
)
{
Message
({
type
:
'error'
,
message
:
'请选择至少一条数据!'
});
}
else
{
}
},
reset
()
{
//重置
reset
()
{
//重置
this
.
query_item1
=
null
;
this
.
searchParams
.
tpoName
=
null
;
this
.
query_item3
=
null
;
this
.
searchParams
.
startTime
=
null
;
this
.
query_item4
=
null
;
this
.
searchParams
.
state
=
null
;
},
},
// 每页条数改变
// 每页条数改变
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
@@ -411,9 +424,12 @@ export default {
...
@@ -411,9 +424,12 @@ export default {
get_table
()
{
//查询表格数据
get_table
()
{
//查询表格数据
this
.
loading
=
true
;
this
.
loading
=
true
;
getJiShuZhengCeJieGouHuaTable
(
this
.
searchParams
).
then
(
res
=>
{
getJiShuZhengCeJieGouHuaTable
(
this
.
searchParams
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
records
;
this
.
pager
.
current
=
res
.
current
;
this
.
pager
.
total
=
res
.
total
;
this
.
pager
.
size
=
res
.
size
;
// if(res.code == 200) {
// if(res.code == 200) {
// this.loading = false;
// this.loading = false;
// console.log(res)
// console.log(res)
...
...
src/views/tech-politics-relative-use/index.vue
View file @
a6a7167
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
<div
class=
"search_menu_item"
>
<div
class=
"search_menu_item"
>
<span
class=
"search_title"
>
符合度
</span>
<span
class=
"search_title"
>
符合度
</span>
<el-select
v-model=
"searchParams.conformCount"
placeholder=
"请选择"
class=
"search_item"
>
<el-select
v-model=
"searchParams.conformCount"
placeholder=
"请选择"
class=
"search_item"
>
<el-option
label=
"
已发布"
value=
"1
"
></el-option>
<el-option
label=
"
<30
%"
value=
"0
"
></el-option>
<el-option
label=
"
已停用"
value=
"0
"
></el-option>
<el-option
label=
"
30%~60%"
value=
"1
"
></el-option>
<el-option
label=
"
暂存
"
value=
"2"
></el-option>
<el-option
label=
"
>60%
"
value=
"2"
></el-option>
</el-select>
</el-select>
</div>
</div>
</div>
</div>
...
@@ -108,8 +108,8 @@ export default {
...
@@ -108,8 +108,8 @@ export default {
this
.
tableHeight
=
table_container_height
-
search_menu_height
-
90
+
'px'
;
this
.
tableHeight
=
table_container_height
-
search_menu_height
-
90
+
'px'
;
},
},
reset
()
{
//重置
reset
()
{
//重置
this
.
query_item3
=
null
;
this
.
searchParams
.
tpoName
=
null
;
this
.
query_item4
=
null
;
this
.
searchParams
.
conformCount
=
null
;
},
},
// 每页条数改变
// 每页条数改变
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment