@ -5,10 +5,7 @@
ref = "queryForm"
: inline = "true"
v - show = "showSearch"
label - width = "68px"
>
< el -form -item label = "下达日期" prop = "releaseTime" >
< el -date -picker
clearable
@ -25,9 +22,8 @@
< el -form -item >
< el -button icon = "el-icon-refresh" size = "mini" @click ="resetQuery"
> 重置
< / e l - b u t t o n
>
> 重置
< / e l - b u t t o n >
< / e l - f o r m - i t e m >
< / e l - f o r m >
@ -39,9 +35,8 @@
size = "mini"
@ click = "handleAdd"
v - hasPermi = "['build:sourceFunds:add']"
> 新增
< / e l - b u t t o n
>
> 新增
< / e l - b u t t o n >
< / e l - c o l >
< el -col :span ="1.5" >
< el -button
@ -51,9 +46,8 @@
: disabled = "single"
@ click = "handleUpdate"
v - hasPermi = "['build:sourceFunds:edit']"
> 修改
< / e l - b u t t o n
>
> 修改
< / e l - b u t t o n >
< / e l - c o l >
< el -col :span ="1.5" >
< el -button
@ -63,9 +57,8 @@
: disabled = "multiple"
@ click = "handleDelete"
v - hasPermi = "['build:sourceFunds:remove']"
> 删除
< / e l - b u t t o n
>
> 删除
< / e l - b u t t o n >
< / e l - c o l >
< right -toolbar
: showSearch . sync = "showSearch"
@ -78,7 +71,7 @@
: data = "subcontractsList"
@ selection - change = "handleSelectionChange"
>
< el -table -column type = "selection" width = "55" align = "center" fixed / >
< el -table -column type = "selection" width = "55" align = "center" fixed / >
< el -table -column
label = "序号"
type = "index"
@ -87,152 +80,150 @@
fixed
/ >
<!-- < el -table v -loading = " loading " :data ="historyList" @selection-change ="handleSelectionChange" - - >
<!-- : row - key = "getRowKeys" -- >
<!-- : expand - row - keys = "expands" -- >
<!-- @ expand - change = "handledetail" > -- >
<!-- < el -table -column type = "expand" > -- >
<!-- < template slot -scope = " props " > -- >
<!-- < el -table v -loading = " loading " - - >
<!-- : data = "infoList" -- >
<!-- : row - style = "{background:'rgb(48,133,154)',color:'#bbcafb',opacity:1,}" -- >
<!-- : header - cell - style = "{opacity:1,background:'rgb(48,133,154)',color:'#bbcafb'}" -- >
<!-- @ selection - change = "xthandleSelectionChange" > -- >
<!-- < el -table -column type = "selection" width = "55" align = "center" / > -- >
<!-- < el -table -column label = "标题" align = "center" prop = "detailsTitle" / > -- >
<!-- < el -table -column label = "排序" align = "center" prop = "sort" / > -- >
<!-- < el -table -column label = "展示位" align = "center" prop = "code" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < dict -tag :options ="dict.type.sys_details_code" :value ="scope.row.code" / > -- >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "类型" align = "center" prop = "detailsType" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < dict -tag :options ="dict.type.sys_content_type" :value ="scope.row.detailsType" / > -- >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "是否发布" align = "center" prop = "xqIsRelease" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -switch - - >
<!-- v - model = "scope.row.xqIsRelease" -- >
<!-- active - value = "1" -- >
<!-- inactive - value = "0" -- >
<!-- @ change = "xtswitchChange($event,scope.row)" -- >
<!-- > -- >
<!-- < / e l - s w i t c h > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "操作" align = "center" class -name = " small -padding fixed -width " > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-view" -- >
<!-- @ click = "xthandleLook(scope.row)" -- >
<!-- v - hasPermi = "['system:info:query']" -- >
<!-- > 查看 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-edit" -- >
<!-- @ click = "xthandleUpdate(scope.row)" -- >
<!-- v - hasPermi = "['system:info:edit']" -- >
<!-- > 修改 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-delete" -- >
<!-- @ click = "xthandleDelete(scope.row)" -- >
<!-- v - hasPermi = "['system:info:remove']" -- >
<!-- > 删除 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < / e l - t a b l e > - - >
<!-- < pagination - - >
<!-- v - show = "xttotal>0" -- >
<!-- : total = "xttotal" -- >
<!-- : page . sync = "currentOpenRow.pageNum" -- >
<!-- : limit . sync = "currentOpenRow.pageSize" -- >
<!-- @ pagination = "getxtList" -- >
<!-- / > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "名称" align = "center" prop = "historyName" / > -- >
<!-- < el -table -column label = "排序" align = "center" prop = "historySort" / > -- >
<!-- < el -table -column label = "标题图片" align = "center" prop = "filePath" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -image - - >
<!-- v - if = "undefined!=scope.row.filePath && ''!=scope.row.filePath && null!=scope.row.filePath && 'null'!=scope.row.filePath" -- >
<!-- style = "width: 100px; height: 100px;cursor: pointer" -- >
<!-- : src = "returnImgPath(scope.row.filePath)" > -- >
<!-- < / e l - i m a g e > - - >
<!-- < span v-else > 未上传文件 < / span > - - >
<!-- < el -table v -loading = " loading " :data ="historyList" @selection-change ="handleSelectionChange" - - >
<!-- : row - key = "getRowKeys" -- >
<!-- : expand - row - keys = "expands" -- >
<!-- @ expand - change = "handledetail" > -- >
<!-- < el -table -column type = "expand" > -- >
<!-- < template slot -scope = " props " > -- >
<!-- < el -table v -loading = " loading " - - >
<!-- : data = "infoList" -- >
<!-- : row - style = "{background:'rgb(48,133,154)',color:'#bbcafb',opacity:1,}" -- >
<!-- : header - cell - style = "{opacity:1,background:'rgb(48,133,154)',color:'#bbcafb'}" -- >
<!-- @ selection - change = "xthandleSelectionChange" > -- >
<!-- < el -table -column type = "selection" width = "55" align = "center" / > -- >
<!-- < el -table -column label = "标题" align = "center" prop = "detailsTitle" / > -- >
<!-- < el -table -column label = "排序" align = "center" prop = "sort" / > -- >
<!-- < el -table -column label = "展示位" align = "center" prop = "code" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < dict -tag :options ="dict.type.sys_details_code" :value ="scope.row.code" / > -- >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "类型" align = "center" prop = "detailsType" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < dict -tag :options ="dict.type.sys_content_type" :value ="scope.row.detailsType" / > -- >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "是否发布" align = "center" prop = "xqIsRelease" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -switch - - >
<!-- v - model = "scope.row.xqIsRelease" -- >
<!-- active - value = "1" -- >
<!-- inactive - value = "0" -- >
<!-- @ change = "xtswitchChange($event,scope.row)" -- >
<!-- > -- >
<!-- < / e l - s w i t c h > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "操作" align = "center" class -name = " small -padding fixed -width " > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-view" -- >
<!-- @ click = "xthandleLook(scope.row)" -- >
<!-- v - hasPermi = "['system:info:query']" -- >
<!-- > 查看 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-edit" -- >
<!-- @ click = "xthandleUpdate(scope.row)" -- >
<!-- v - hasPermi = "['system:info:edit']" -- >
<!-- > 修改 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-delete" -- >
<!-- @ click = "xthandleDelete(scope.row)" -- >
<!-- v - hasPermi = "['system:info:remove']" -- >
<!-- > 删除 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < / e l - t a b l e > - - >
<!-- < pagination - - >
<!-- v - show = "xttotal>0" -- >
<!-- : total = "xttotal" -- >
<!-- : page . sync = "currentOpenRow.pageNum" -- >
<!-- : limit . sync = "currentOpenRow.pageSize" -- >
<!-- @ pagination = "getxtList" -- >
<!-- / > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "名称" align = "center" prop = "historyName" / > -- >
<!-- < el -table -column label = "排序" align = "center" prop = "historySort" / > -- >
<!-- < el -table -column label = "标题图片" align = "center" prop = "filePath" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -image - - >
<!-- v - if = "undefined!=scope.row.filePath && ''!=scope.row.filePath && null!=scope.row.filePath && 'null'!=scope.row.filePath" -- >
<!-- style = "width: 100px; height: 100px;cursor: pointer" -- >
<!-- : src = "returnImgPath(scope.row.filePath)" > -- >
<!-- < / e l - i m a g e > - - >
<!-- < span v-else > 未上传文件 < / span > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- & lt ; ! & ndash ; < el -table -column label = "创建时间" align = "center" prop = "historyCreatetime" / > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < el -table -column label = "更新时间" align = "center" prop = "historyUpdatetime" / > & ndash ; & gt ; -- >
<!-- < el -table -column label = "是否发布" align = "center" prop = "isRelease" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -switch - - >
<!-- v - model = "scope.row.isRelease" -- >
<!-- active - value = "1" -- >
<!-- inactive - value = "0" -- >
<!-- @ change = "switchChange($event,scope.row)" -- >
<!-- > -- >
<!-- < / e l - s w i t c h > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "操作" align = "center" class -name = " small -padding fixed -width " > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-view" -- >
<!-- @ click = "dshandleLook(scope.row)" -- >
<!-- v - hasPermi = "['system:history:show']" -- >
<!-- > 查看 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-edit" -- >
<!-- @ click = "handleUpdate(scope.row)" -- >
<!-- v - hasPermi = "['system:history:edit']" -- >
<!-- > 修改 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-delete" -- >
<!-- @ click = "handleDelete(scope.row)" -- >
<!-- v - hasPermi = "['system:history:remove']" -- >
<!-- > 删除 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-plus" -- >
<!-- @ click = "addxt(scope.row)" -- >
<!-- v - hasPermi = "['system:info:add']" -- >
<!-- > 新建详情 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < / e l - t a b l e > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- & lt ; ! & ndash ; < el -table -column label = "创建时间" align = "center" prop = "historyCreatetime" / > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < el -table -column label = "更新时间" align = "center" prop = "historyUpdatetime" / > & ndash ; & gt ; -- >
<!-- < el -table -column label = "是否发布" align = "center" prop = "isRelease" > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -switch - - >
<!-- v - model = "scope.row.isRelease" -- >
<!-- active - value = "1" -- >
<!-- inactive - value = "0" -- >
<!-- @ change = "switchChange($event,scope.row)" -- >
<!-- > -- >
<!-- < / e l - s w i t c h > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < el -table -column label = "操作" align = "center" class -name = " small -padding fixed -width " > -- >
<!-- < template slot -scope = " scope " > -- >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-view" -- >
<!-- @ click = "dshandleLook(scope.row)" -- >
<!-- v - hasPermi = "['system:history:show']" -- >
<!-- > 查看 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-edit" -- >
<!-- @ click = "handleUpdate(scope.row)" -- >
<!-- v - hasPermi = "['system:history:edit']" -- >
<!-- > 修改 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-delete" -- >
<!-- @ click = "handleDelete(scope.row)" -- >
<!-- v - hasPermi = "['system:history:remove']" -- >
<!-- > 删除 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < el -button - - >
<!-- size = "mini" -- >
<!-- type = "text" -- >
<!-- icon = "el-icon-plus" -- >
<!-- @ click = "addxt(scope.row)" -- >
<!-- v - hasPermi = "['system:info:add']" -- >
<!-- > 新建详情 -- >
<!-- < / e l - b u t t o n > - - >
<!-- < / template > -- >
<!-- < / e l - t a b l e - c o l u m n > - - >
<!-- < / e l - t a b l e > - - >
< pagination
v - show = "total>0"
v - show = "total > 0"
: total = "total"
: page . sync = "queryParams.pageNum"
: limit . sync = "queryParams.pageSize"
@ pagination = "getList"
/ >
< el -table -column
label = "下达日期"
align = "center"
@ -240,9 +231,7 @@
min - width = "120"
>
< template slot -scope = " scope " >
< span > { {
parseTime ( scope . row . releaseTime , "{y}-{m}-{d}" )
} } < / span >
< span > { { parseTime ( scope . row . releaseTime , "{y}-{m}-{d}" ) } } < / span >
< / template >
< / e l - t a b l e - c o l u m n >
@ -294,18 +283,16 @@
icon = "el-icon-edit"
@ click = "handleUpdate(scope.row)"
v - hasPermi = "['build:sourceFunds:edit']"
> 修改
< / e l - b u t t o n
>
> 修改
< / e l - b u t t o n >
< el -button
size = "mini"
type = "text"
icon = "el-icon-delete"
@ click = "handleDelete(scope.row)"
v - hasPermi = "['build:sourceFunds:remove']"
> 删除
< / e l - b u t t o n
>
> 删除
< / e l - b u t t o n >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e >
@ -345,7 +332,9 @@
< / e l - c o l >
< el -col :span ="12" >
< el -form -item label = "中央资金" prop = "centralArrangedFunds" >
< el -input v -model = " form.centralArrangedFunds " placeholder = "请输入中央资金"
< el -input
v - model = "form.centralArrangedFunds"
placeholder = "请输入中央资金"
>
< template slot = "append" > 万元 < / template >
< / e l - i n p u t >
@ -356,9 +345,9 @@
< el -input
v - model = "form.provincialFunding"
placeholder = "请输入省级资金"
>
< template slot = "append" > 万元 < / template >
< / e l - i n p u t >
>
< template slot = "append" > 万元 < / template >
< / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="12" >
@ -366,28 +355,34 @@
< el -input
v - model = "form.cityLevelFunds"
placeholder = "请输入地市级资金"
>
>
< template slot = "append" > 万元 < / template >
< / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="12" >
< el -form -item label = "县级资金" prop = "countyLevelFunds" >
< el -input v -model = " form.countyLevelFunds " placeholder = "请输入县级资金"
< el -input
v - model = "form.countyLevelFunds"
placeholder = "请输入县级资金"
>
< template slot = "append" > 万元 < / template >
< / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="12" >
< el -form -item label = "乡镇及群众自筹和其他投资" prop = "townshipInvestments" >
< el -input v -model = " form.townshipInvestments " placeholder = "请输入乡镇及群众自筹和其他投资"
< el -form -item
label = "乡镇及群众自筹和其他投资"
prop = "townshipInvestments"
>
< el -input
v - model = "form.townshipInvestments"
placeholder = "请输入乡镇及群众自筹和其他投资"
>
< template slot = "append" > 万元 < / template >
< / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - c o l >
< / e l - f o r m >
< / e l - r o w >
< div slot = "footer" class = "dialog-footer" >
@ -405,7 +400,8 @@ import {
addFunds ,
updateFunds ,
delFunds ,
exportFunds , getSourceFundsList ,
exportFunds ,
getSourceFundsList ,
} from "@/api/build/sourceFunds" ;
export default {
@ -465,7 +461,6 @@ export default {
/ / } ,
/ / } ,
methods : {
getList ( ) {
if ( this . $route . query . proNo ) {
this . queryParams . data . proNo = this . $route . query . proNo ;
@ -596,8 +591,7 @@ export default {
this . getList ( ) ;
this . msgSuccess ( "删除成功" ) ;
} )
. catch ( function ( ) {
} ) ;
. catch ( function ( ) { } ) ;
} else {
this . $message . warning ( "请选择要删除的数据!!" ) ;
}