Commit bc4a4b0d authored by 李苏's avatar 李苏 💬

excel/import

parent 1158af1b
......@@ -316,7 +316,7 @@ export const powerRoutes = [{
"icon": "",
"noCache": false,
"link": null,
"mkid": 'test',
"mkid": '901030540',
},
name: 'yszxfxzh',
path: "yszxfxzh"
......
......@@ -10,7 +10,7 @@
<!-- right-->
<el-row class="tool-bar">
<!-- <ToolButton :app='app'></ToolButton> -->
<ImportTempButton @success='success' url="hafms/yszhcxzb/import" :params="{
<ImportTempButton @success='success' url="hafms/yszhcxzb/excel/import" :params="{
lx:'C'
}" />
<!-- 导入-->
......@@ -63,7 +63,7 @@
},
{
title: "国网项目编码",
field: "gwxmbm",
field: "gwxmmc",
fieldType: "ftString",
width: 160
},
......@@ -77,7 +77,7 @@
title: "项目包名称",
field: "xmbmc",
fieldType: "ftString",
width: 160
width: 230
},
{
title: "一级单位",
......@@ -118,13 +118,25 @@
{
title: "是否预安排项目",
field: "yapxm",
fieldType: "ftString",
formatter(a,b,v){
let map={
Y:'是',
N:'否'
}
return map[v]
},
width: 160
},
{
title: "是否安全生产",
field: "aqsc",
fieldType: "ftString",
formatter(a,b,v){
let map={
Y:'是',
N:'否'
}
return map[v]
},
width: 160
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment