|
|
@ -1,22 +1,36 @@ |
|
|
<!-- 饲养间列表 --> |
|
|
<!-- 饲养间列表 --> |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
<div> |
|
|
<div class="tbbd-list" v-show="!showDetail && !showEdit && !showAudit && !showFh"> |
|
|
|
|
|
|
|
|
<div class="tbbd-list"> |
|
|
<div class="tbbd-search"> |
|
|
<div class="tbbd-search"> |
|
|
<el-form :model="searchForm" ref="searchForm" class="search-area" :inline="true" label-width="88px"> |
|
|
<el-form :model="searchForm" ref="searchForm" class="search-area" :inline="true" label-width="88px"> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
<el-form-item :label="$t('page.business.form.bdmc')" prop="name"> |
|
|
|
|
|
<el-input v-model="searchForm.bdmc" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
|
|
@keyup.enter.native="search" /> |
|
|
|
|
|
|
|
|
<!-- 饲养间号 --> |
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyRoom.syjh')" prop="syjh"> |
|
|
|
|
|
<el-input v-model="searchForm.syjh" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
|
|
@keyup.enter.native="search" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('page.business.form.bdbh')" prop="sn"> |
|
|
|
|
|
<el-input v-model="searchForm.bdbh" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
|
|
@keyup.enter.native="search" /> |
|
|
|
|
|
|
|
|
<!-- 试验区域 --> |
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyRoom.syqy')" prop="syqy"> |
|
|
|
|
|
<el-input v-model="searchForm.syqy" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
|
|
@keyup.enter.native="search" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('page.business.form.gsr')" prop="userId"> |
|
|
|
|
|
<SelectDeptUser v-model="searchForm.userId" :name="searchForm.userMc" key="userId" |
|
|
|
|
|
@change="userChange" /> |
|
|
|
|
|
|
|
|
<!-- 启用人 --> |
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyRoom.qyr')" prop="qyr"> |
|
|
|
|
|
<el-input v-model="searchForm.qyr" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
|
|
@keyup.enter.native="search" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 结束人 --> |
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyRoom.jsr')" prop="jsr"> |
|
|
|
|
|
<el-input v-model="searchForm.jsr" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
|
|
@keyup.enter.native="search" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 开始时间 --> |
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyRoom.kssj') + ':'"> |
|
|
|
|
|
<el-date-picker v-model="daterange" class="chat-histogram-daterange" type="daterange" |
|
|
|
|
|
range-separator="-" :start-placeholder="$t('form.startDate')" :end-placeholder="$t('form.endDate')" |
|
|
|
|
|
value-format="yyyy-MM-dd" @change="search" style="width: 250px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<el-button type="primary" icon="el-icon-search" @click="search">{{ $t('form.search') }}</el-button> |
|
|
<el-button type="primary" icon="el-icon-search" @click="search">{{ $t('form.search') }}</el-button> |
|
|
@ -30,74 +44,39 @@ |
|
|
<div class="tbbd-content"> |
|
|
<div class="tbbd-content"> |
|
|
<el-row class="add-box"> |
|
|
<el-row class="add-box"> |
|
|
<el-col> |
|
|
<el-col> |
|
|
<el-button type="primary" icon="el-icon-plus" @click="add()" v-hasPermi="['business:studyFormFill:xz']">{{ |
|
|
|
|
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="add()">{{ |
|
|
$t('page.business.study.studyRoom.xzqy') }}</el-button> |
|
|
$t('page.business.study.studyRoom.xzqy') }}</el-button> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list"> |
|
|
<el-table v-loading="loading" :data="list"> |
|
|
<el-table-column :label="$t('page.business.form.bh')" prop="bdbh" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.form.bdmc')" prop="bdmc" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.form.xtmbmc')" prop="templateMc" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.form.cjsj')" align="center" prop="createTime" width="140" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.form.gsr')" align="center" prop="userMc" width="100" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.form.status')" prop="status" align="center" width="100"> |
|
|
|
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.syjh')" prop="syjh" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.syqy')" prop="syqy" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.dwzs')" prop="dwzs" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.longju')" align="center" prop="lj" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.kssyyl')" align="center" prop="kssyyl" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.qyr')" align="center" prop="qyrMc" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.kssj')" align="center" prop="createTime" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.jssyyl')" align="center" prop="jssyyl" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.jsr')" align="center" prop="jsrMc" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.jssj')" align="center" prop="jssj" /> |
|
|
|
|
|
<el-table-column :label="$t('page.business.study.studyRoom.zt')" prop="status" align="center" width="100"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.bdzt === 1">{{ $t('page.business.study.studyFormFill.tbz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 3">{{ $t('page.business.study.studyFormFill.ytj') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 5">{{ $t('page.business.study.studyFormFill.ywc') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 7">{{ $t('page.business.study.studyFormFill.ywcfh') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 9">{{ $t('page.business.study.studyFormFill.dfz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 11">{{ $t('page.business.study.studyFormFill.yfz') }}</span> |
|
|
|
|
|
|
|
|
<span v-if="scope.row.zt === 1">{{ $t('page.business.study.studyRoom.syz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.zt === 3">{{ $t('page.business.study.studyRoom.yjs') }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column :label="$t('page.business.study.studyFormFill.sfbl')" align="center" prop="status" |
|
|
|
|
|
width="100"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<span v-if="scope.row.sfbl === 10">{{ $t('page.business.study.studyFormFill.yes') }}</span> |
|
|
|
|
|
<span v-if="scope.row.sfbl === 1">{{ $t('page.business.study.studyFormFill.no') }}</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column :label="$t('page.business.form.tjsj')" align="center" prop="tjsj" width="140" /> |
|
|
|
|
|
<el-table-column :label="$t('form.operate')" align="left" fixed="right" width="200"> |
|
|
<el-table-column :label="$t('form.operate')" align="left" fixed="right" width="200"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<!-- 表单状态:1:填报中;3:已提交;5:已完成(经复核);7:已完成;9:待废止;11:已废止 --> |
|
|
|
|
|
<!-- 详情 --> |
|
|
|
|
|
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:studyFormFill:xq']">{{ |
|
|
|
|
|
$t('form.detail') }}</el-button> |
|
|
|
|
|
<!-- 编辑 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1 || scope.row.bdzt === 5 || scope.row.bdzt === 7" |
|
|
|
|
|
@click="edit(scope.row)" v-hasPermi="['business:studyFormFill:bj']">{{ |
|
|
|
|
|
$t('form.edit') }}</el-button> |
|
|
|
|
|
<!-- 复核 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 3" @click="fh(scope.row)" |
|
|
|
|
|
v-hasPermi="['business:studyFormFill:fh']">{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.fh') }}</el-button> |
|
|
|
|
|
<!-- 加签 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1" @click="jq(scope.row)" |
|
|
|
|
|
v-hasPermi="['business:studyFormFill:jq']">{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.jq') }}</el-button> |
|
|
|
|
|
<!-- 更换归属人 --> |
|
|
|
|
|
<el-button type="text" |
|
|
|
|
|
v-if="scope.row.bdzt === 1 || scope.row.bdzt === 3 || scope.row.bdzt === 5 || scope.row.bdzt === 7" |
|
|
|
|
|
@click="ghgsr(scope.row)" v-hasPermi="['business:studyFormFill:ghgsr']">{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.ghgsr') }}</el-button> |
|
|
|
|
|
<!-- 审阅 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 5 || scope.row.bdzt === 7" @click="sy(scope.row)" |
|
|
|
|
|
v-hasPermi="['business:studyFormFill:sy']">{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.sy') }}</el-button> |
|
|
|
|
|
<!-- 废止 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1" @click="fz(scope.row)" |
|
|
|
|
|
v-hasPermi="['business:studyFormFill:fz']">{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.fz') }}</el-button> |
|
|
|
|
|
<!-- 确认废止 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 9" @click="qrfz(scope.row)" |
|
|
|
|
|
v-hasPermi="['business:studyFormFill:qrfz']">{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.qrfz') }}</el-button> |
|
|
|
|
|
<!-- 观察 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1" @click="gc(scope.row)" |
|
|
|
|
|
v-hasPermi="['business:studyFormFill:gc']">{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.gc') }}</el-button> |
|
|
|
|
|
|
|
|
<!-- 笼具记录 --> |
|
|
|
|
|
<el-button type="text" @click="detail(scope.row)">{{ |
|
|
|
|
|
$t('page.business.study.studyRoom.ljjl') }}</el-button> |
|
|
|
|
|
<!-- 更换笼具 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.zt === 1" @click="edit(scope.row)">{{ |
|
|
|
|
|
$t('page.business.study.studyRoom.ghlj') }}</el-button> |
|
|
|
|
|
<!-- 结束 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.zt === 1" @click="end(scope.row)">{{ |
|
|
|
|
|
$t('page.business.study.studyRoom.js') }}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
@ -106,42 +85,24 @@ |
|
|
@pagination="getList" /> |
|
|
@pagination="getList" /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- 编辑 --> |
|
|
|
|
|
<Bj v-show="showEdit" key="Bj" ref="Bj" @close="bjClose" /> |
|
|
|
|
|
<!-- 详情 --> |
|
|
|
|
|
<Xq v-show="showDetail" key="Xq" ref="Xq" @close="xqClose" /> |
|
|
|
|
|
<!-- 审阅 --> |
|
|
|
|
|
<Sy v-show="showAudit" key="Sy" ref="Sy" @close="syClose" /> |
|
|
|
|
|
<!-- 复核 --> |
|
|
|
|
|
<Fh v-show="showFh" key="Fh" ref="Fh" @close="fhClose" /> |
|
|
|
|
|
<!-- 废止 --> |
|
|
|
|
|
<Fz key="Fz" ref="Fz" @callback="search" /> |
|
|
|
|
|
<!-- 确认废止 --> |
|
|
|
|
|
<Qrfz key="Qrfz" ref="Qrfz" @callback="search" /> |
|
|
|
|
|
<!-- 加签 --> |
|
|
|
|
|
<Jq key="Jq" ref="Jq" @callback="search" /> |
|
|
|
|
|
<!-- 观察 --> |
|
|
|
|
|
<Gc key="Gc" ref="Gc" @callback="search" /> |
|
|
|
|
|
<!-- 更换归属人 --> |
|
|
|
|
|
<Ghgsr key="Ghgsr" ref="Ghgsr" @callback="search" /> |
|
|
|
|
|
<SelectDeptUserDialog ref="selectDeptUserDialog" @change="ghgsrChange" /> |
|
|
|
|
|
|
|
|
<!-- 新增 --> |
|
|
|
|
|
<Xz key="Xz" ref="Xz" @callback="search" /> |
|
|
|
|
|
<!-- 更换笼具 --> |
|
|
|
|
|
<Bj key="Bj" ref="Bj" @callback="search" /> |
|
|
|
|
|
<!-- 结束使用 --> |
|
|
|
|
|
<Js key="Js" ref="Js" @callback="search" /> |
|
|
|
|
|
<!-- 笼具更换记录 --> |
|
|
|
|
|
<Jl key="Jl" ref="Jl" @callback="search" /> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { studyFormFill_list } from '@/api/business/study/studyFormFill' |
|
|
|
|
|
import Bj from "./tbbd/Bj"; |
|
|
|
|
|
import Xq from "./tbbd/Xq"; |
|
|
|
|
|
import Sy from "./tbbd/Sy"; |
|
|
|
|
|
import Fz from "./tbbd/Fz"; |
|
|
|
|
|
import Fh from "./tbbd/Fh"; |
|
|
|
|
|
import Qrfz from "./tbbd/Qrfz"; |
|
|
|
|
|
import Jq from "./tbbd/Jq"; |
|
|
|
|
|
import Ghgsr from "./tbbd/Ghgsr"; |
|
|
|
|
|
import Gc from "./tbbd/Gc"; |
|
|
|
|
|
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; |
|
|
|
|
|
import SelectDeptUserDialog from '@/views/business/comps/select/SelectDeptUserDialog'; |
|
|
|
|
|
|
|
|
import { studyRoom_list } from '@/api/business/study/studyRoom' |
|
|
|
|
|
import Xz from "./syj/Xz"; |
|
|
|
|
|
import Bj from "./syj/Bj"; |
|
|
|
|
|
import Js from "./syj/Js"; |
|
|
|
|
|
import Jl from "./syj/Jl"; |
|
|
import { mapGetters } from 'vuex' |
|
|
import { mapGetters } from 'vuex' |
|
|
import moment from "moment"; |
|
|
import moment from "moment"; |
|
|
export default { |
|
|
export default { |
|
|
@ -173,32 +134,22 @@ export default { |
|
|
deep: true |
|
|
deep: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { Ghgsr, Fh, Fz, Bj, Xq, Qrfz, Sy, Jq, Gc, SelectDeptUser, SelectDeptUserDialog }, |
|
|
|
|
|
|
|
|
components: { Xz, Bj, Js, Jl }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
leader: null, |
|
|
|
|
|
|
|
|
daterange: [], |
|
|
showFh: false, |
|
|
showFh: false, |
|
|
showAudit: false, |
|
|
|
|
|
showEdit: false, |
|
|
|
|
|
showDetail: false, |
|
|
|
|
|
daterangetj: [], |
|
|
|
|
|
daterange: [], |
|
|
daterange: [], |
|
|
searchForm: { |
|
|
searchForm: { |
|
|
pageNum: 1, |
|
|
pageNum: 1, |
|
|
pageSize: 10, |
|
|
pageSize: 10, |
|
|
studyId: '', |
|
|
studyId: '', |
|
|
studySn: '', |
|
|
|
|
|
studyMc: '', |
|
|
|
|
|
studySubjectId: '', |
|
|
|
|
|
bdbh: '', |
|
|
|
|
|
bdmc: '', |
|
|
|
|
|
userId: '', |
|
|
|
|
|
userMc: '', |
|
|
|
|
|
templateMc: '', |
|
|
|
|
|
cjsjjs: '', |
|
|
|
|
|
cjsjks: '', |
|
|
|
|
|
tjsjjs: '', |
|
|
|
|
|
tjsjks: '', |
|
|
|
|
|
|
|
|
syjh: '', |
|
|
|
|
|
syqy: '', |
|
|
|
|
|
qyr: '', |
|
|
|
|
|
jsr: '', |
|
|
|
|
|
startDate: '', |
|
|
|
|
|
endDate: '' |
|
|
}, |
|
|
}, |
|
|
loading: false, |
|
|
loading: false, |
|
|
total: 0, |
|
|
total: 0, |
|
|
@ -208,104 +159,44 @@ export default { |
|
|
}, |
|
|
}, |
|
|
created() { }, |
|
|
created() { }, |
|
|
methods: { |
|
|
methods: { |
|
|
ghgsr(row) { |
|
|
|
|
|
this.currentRow = row |
|
|
|
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
|
|
|
}, |
|
|
|
|
|
ghgsrChange(val) { |
|
|
|
|
|
this.$refs.Ghgsr.show({ id: this.currentRow.id, userId: val.id, userMc: val.name }) |
|
|
|
|
|
}, |
|
|
|
|
|
jq(row) { |
|
|
|
|
|
this.$refs.Jq.show(row) |
|
|
|
|
|
}, |
|
|
|
|
|
qrfz(row) { |
|
|
|
|
|
this.$refs.Qrfz.show(row) |
|
|
|
|
|
}, |
|
|
|
|
|
gc(row) { |
|
|
|
|
|
this.$refs.Gc.show(row) |
|
|
|
|
|
}, |
|
|
|
|
|
fz(row) { |
|
|
|
|
|
this.$refs.Fz.show(row) |
|
|
|
|
|
}, |
|
|
|
|
|
userChange(val) { |
|
|
|
|
|
this.searchForm.userId = val.id |
|
|
|
|
|
this.searchForm.userMc = val.name |
|
|
|
|
|
this.search() |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
search() { |
|
|
search() { |
|
|
this.searchForm.pageNum = 1 |
|
|
this.searchForm.pageNum = 1 |
|
|
this.getList() |
|
|
this.getList() |
|
|
}, |
|
|
}, |
|
|
reset() { |
|
|
reset() { |
|
|
this.resetForm("searchForm") |
|
|
this.resetForm("searchForm") |
|
|
this.handleQuery() |
|
|
|
|
|
|
|
|
this.search() |
|
|
}, |
|
|
}, |
|
|
getList() { |
|
|
getList() { |
|
|
if (this.daterange != null && this.daterange.length > 0) { |
|
|
if (this.daterange != null && this.daterange.length > 0) { |
|
|
this.searchForm.cjsjks = this.daterange[0] |
|
|
|
|
|
this.searchForm.cjsjjs = moment().add(this.daterange[1], 'days').format('YYYY-MM-DD'); |
|
|
|
|
|
} else { |
|
|
|
|
|
this.searchForm.cjsjks = '' |
|
|
|
|
|
this.searchForm.cjsjjs = '' |
|
|
|
|
|
} |
|
|
|
|
|
if (this.daterangetj != null && this.daterangetj.length > 0) { |
|
|
|
|
|
this.searchForm.tjsjks = this.daterangetj[0] |
|
|
|
|
|
this.searchForm.tjsjjs = moment().add(this.daterangetj[1], 'days').format('YYYY-MM-DD'); |
|
|
|
|
|
|
|
|
this.searchForm.startDate = this.daterange[0] + " 00:00:00" |
|
|
|
|
|
this.searchForm.endDate = this.daterange[1] + " 23:59:59" |
|
|
} else { |
|
|
} else { |
|
|
this.searchForm.tjsjks = '' |
|
|
|
|
|
this.searchForm.tjsjjs = '' |
|
|
|
|
|
|
|
|
this.searchForm.startDate = '' |
|
|
|
|
|
this.searchForm.endDate = '' |
|
|
} |
|
|
} |
|
|
this.loading = true |
|
|
this.loading = true |
|
|
studyFormFill_list(this.searchForm).then(response => { |
|
|
|
|
|
|
|
|
studyRoom_list(this.searchForm).then(response => { |
|
|
this.list = response.rows |
|
|
this.list = response.rows |
|
|
this.total = response.total |
|
|
this.total = response.total |
|
|
this.loading = false |
|
|
this.loading = false |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
add() { |
|
|
add() { |
|
|
this.showEdit = true |
|
|
|
|
|
this.$emit('showDetail', this.showEdit) |
|
|
|
|
|
this.$refs.Bj.edit({ studySn:this.searchForm.studySn, studyMc:this.searchForm.studyMc,studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }) |
|
|
|
|
|
|
|
|
this.$refs.Xz.show(this.study.studyId); |
|
|
}, |
|
|
}, |
|
|
edit(row) { |
|
|
edit(row) { |
|
|
this.showEdit = true |
|
|
|
|
|
this.$emit('showDetail', this.showEdit) |
|
|
|
|
|
this.$refs.Bj.edit(row) |
|
|
|
|
|
|
|
|
this.$refs.Bj.show(row) |
|
|
}, |
|
|
}, |
|
|
bjClose() { |
|
|
|
|
|
this.showEdit = false |
|
|
|
|
|
this.$emit('showDetail', this.showEdit) |
|
|
|
|
|
this.search() |
|
|
|
|
|
}, |
|
|
|
|
|
xqClose() { |
|
|
|
|
|
this.showDetail = false |
|
|
|
|
|
this.$emit('showDetail', this.showDetail) |
|
|
|
|
|
this.search() |
|
|
|
|
|
}, |
|
|
|
|
|
syClose() { |
|
|
|
|
|
this.showAudit = false |
|
|
|
|
|
this.$emit('showDetail', this.showAudit) |
|
|
|
|
|
this.search() |
|
|
|
|
|
}, |
|
|
|
|
|
fhClose() { |
|
|
|
|
|
this.showFh = false |
|
|
|
|
|
this.$emit('showDetail', this.showFh) |
|
|
|
|
|
this.search() |
|
|
|
|
|
|
|
|
end(row) { |
|
|
|
|
|
this.$refs.Js.show(row) |
|
|
}, |
|
|
}, |
|
|
detail(row) { |
|
|
detail(row) { |
|
|
this.showDetail = true |
|
|
|
|
|
this.$emit('showDetail', this.showDetail) |
|
|
|
|
|
this.$refs.Xq.show(row) |
|
|
|
|
|
}, |
|
|
|
|
|
sy(row) { |
|
|
|
|
|
this.showAudit = true |
|
|
|
|
|
this.$emit('showDetail', this.showAudit) |
|
|
|
|
|
this.$refs.Sy.show(row) |
|
|
|
|
|
}, |
|
|
|
|
|
fh(row) { |
|
|
|
|
|
this.showFh = true |
|
|
|
|
|
this.$emit('showDetail', this.showFh) |
|
|
|
|
|
this.$refs.Fh.show(row) |
|
|
|
|
|
|
|
|
this.$refs.Jl.show(row) |
|
|
|
|
|
// this.showDetail = true |
|
|
|
|
|
// this.$emit('showDetail', this.showDetail) |
|
|
|
|
|
// this.$refs.Xq.show(row) |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|