|
|
@ -85,7 +85,28 @@ |
|
|
|
</el-form> |
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8"> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<!-- <el-col :span="1.5"> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
icon="el-icon-plus" |
|
|
|
size="mini" |
|
|
|
@click="handleAdd" |
|
|
|
v-hasPermi="['df:jfgl:add']" |
|
|
|
>新增</el-button |
|
|
|
> |
|
|
|
</el-col> --> |
|
|
|
<!-- <el-col :span="1.5"> |
|
|
|
<el-button |
|
|
|
type="success" |
|
|
|
icon="el-icon-edit" |
|
|
|
size="mini" |
|
|
|
:disabled="single" |
|
|
|
@click="handleUpdate" |
|
|
|
v-hasPermi="['df:jfgl:edit']" |
|
|
|
>修改</el-button |
|
|
|
> |
|
|
|
</el-col> --> |
|
|
|
<!-- <el-col :span="1.5"> |
|
|
|
<el-button |
|
|
|
type="danger" |
|
|
|
icon="el-icon-delete" |
|
|
@ -95,19 +116,15 @@ |
|
|
|
v-hasPermi="['df:jfgl:remove']" |
|
|
|
>删除</el-button |
|
|
|
> |
|
|
|
</el-col> |
|
|
|
</el-col> --> |
|
|
|
<right-toolbar |
|
|
|
:showSearch.sync="showSearch" |
|
|
|
@queryTable="getList" |
|
|
|
></right-toolbar> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<el-table |
|
|
|
v-loading="loading" |
|
|
|
:data="jfglList" |
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
> |
|
|
|
<el-table-column type="selection" width="55" align="center" fixed /> |
|
|
|
<el-table v-loading="loading" :data="jfglList"> |
|
|
|
<!-- <el-table-column type="selection" width="55" align="center" fixed /> --> |
|
|
|
<el-table-column |
|
|
|
label="序号" |
|
|
|
type="index" |
|
|
@ -204,12 +221,14 @@ |
|
|
|
<el-row :gutter="15"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="堤防编码" prop="dikeCode"> |
|
|
|
<el-form-item label="堤防名称" prop="dikeName"> |
|
|
|
<el-input |
|
|
|
v-model="form.dikeCode" |
|
|
|
placeholder="请输入堤防编码" |
|
|
|
:disabled="true" |
|
|
|
v-model="form.dikeName" |
|
|
|
placeholder="请输入堤防名称" |
|
|
|
disabled |
|
|
|
/> |
|
|
|
<!-- <linkDike :form="form" v-if="open" /> --> |
|
|
|
<!-- <el-input v-model="form.dikeCode" placeholder="请输入堤防编码" /> --> |
|
|
|
<!-- <el-select |
|
|
|
v-model="form.dikeCode" |
|
|
|
placeholder="请选择堤防名称" |
|
|
@ -225,11 +244,11 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="堤防名称" prop="dikeName"> |
|
|
|
<el-form-item label="堤防编码" prop="dikeCode"> |
|
|
|
<el-input |
|
|
|
v-model="form.dikeName" |
|
|
|
placeholder="请输入堤防名称" |
|
|
|
:disabled="true" |
|
|
|
v-model="form.dikeCode" |
|
|
|
placeholder="请输入堤防编码" |
|
|
|
disabled |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
@ -240,7 +259,7 @@ |
|
|
|
v-model="form.dikeType" |
|
|
|
placeholder="请选择堤防类型" |
|
|
|
style="width: 100%" |
|
|
|
:disabled="true" |
|
|
|
disabled |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="dict in dikeTypeOptions" |
|
|
@ -285,10 +304,10 @@ |
|
|
|
</div> |
|
|
|
<maintenanceFund ref="maintenanceFund" :dikeCode="this.form.dikeCode" /> |
|
|
|
</el-row> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<!-- <div slot="footer" class="dialog-footer"> |
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button> |
|
|
|
<el-button @click="cancel">取 消</el-button> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -302,15 +321,18 @@ import { |
|
|
|
updateJfgl, |
|
|
|
exportJfgl, |
|
|
|
} from "@/api/yg/dike/jfgl"; |
|
|
|
import { listDagl } from "@/api/yg/dike/dagl"; |
|
|
|
// import { listJbxx } from "@/api/yg/jbxx"; |
|
|
|
import personnelExpenses from "./components/personnelExpenses.vue"; |
|
|
|
import maintenanceFund from "./components/maintenanceFund.vue"; |
|
|
|
import linkDike from "@/components/linkNameSelect/linkDike.vue"; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "Jfgl", |
|
|
|
components: { |
|
|
|
personnelExpenses, |
|
|
|
maintenanceFund, |
|
|
|
linkDike, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -398,7 +420,7 @@ export default { |
|
|
|
/** 查询经费管理列表 */ |
|
|
|
getList() { |
|
|
|
this.loading = true; |
|
|
|
listJfgl(this.queryParams).then((response) => { |
|
|
|
listDagl({ data: {} }).then((response) => { |
|
|
|
this.jfglList = response.records; |
|
|
|
this.total = response.total; |
|
|
|
this.loading = false; |
|
|
|