|
|
@ -84,8 +84,9 @@ |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.bdzt === 1">{{ $t('page.business.study.studyFormApply.tbz') }}</span> |
|
|
<span v-if="scope.row.bdzt === 1">{{ $t('page.business.study.studyFormApply.tbz') }}</span> |
|
|
<span v-if="scope.row.bdzt === 3">{{ $t('page.business.study.studyFormApply.ytj') }}</span> |
|
|
<span v-if="scope.row.bdzt === 3">{{ $t('page.business.study.studyFormApply.ytj') }}</span> |
|
|
<span v-if="scope.row.bdzt === 5">{{ $t('page.business.study.studyFormApply.ywc') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 7">{{ $t('page.business.study.studyFormApply.ywcfh') }}</span> |
|
|
|
|
|
|
|
|
<span v-if="scope.row.bdzt === 5">{{ $t('page.business.study.studyFormApply.yfh') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 6">{{ $t('page.business.study.studyFormApply.wtg') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 7">{{ $t('page.business.study.studyFormApply.ywc') }}</span> |
|
|
<span v-if="scope.row.bdzt === 9">{{ $t('page.business.study.studyFormApply.dfz') }}</span> |
|
|
<span v-if="scope.row.bdzt === 9">{{ $t('page.business.study.studyFormApply.dfz') }}</span> |
|
|
<span v-if="scope.row.bdzt === 11">{{ $t('page.business.study.studyFormApply.yfz') }}</span> |
|
|
<span v-if="scope.row.bdzt === 11">{{ $t('page.business.study.studyFormApply.yfz') }}</span> |
|
|
</template> |
|
|
</template> |
|
|
@ -100,12 +101,12 @@ |
|
|
<el-table-column :label="$t('page.business.form.tjsj')" align="center" prop="tjsj" width="140" /> |
|
|
<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:已废止 --> |
|
|
|
|
|
|
|
|
<!-- 表单状态:1:填报中;3:已提交;5:已复核;6:未通过;7:已完成;9:待废止;11:已废止 --> |
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
|
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:drugFormApply:xq']">{{ |
|
|
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:drugFormApply:xq']">{{ |
|
|
$t('form.detail') }}</el-button> |
|
|
$t('form.detail') }}</el-button> |
|
|
<!-- 编辑 --> |
|
|
<!-- 编辑 --> |
|
|
<el-button type="text" v-if="scope.row.bdzt === 1 || scope.row.bdzt === 5 || scope.row.bdzt === 7" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1 || scope.row.bdzt === 6 || scope.row.bdzt === 7" |
|
|
@click="edit(scope.row)" v-hasPermi="['business:drugFormApply:bj']">{{ |
|
|
@click="edit(scope.row)" v-hasPermi="['business:drugFormApply:bj']">{{ |
|
|
$t('form.edit') }}</el-button> |
|
|
$t('form.edit') }}</el-button> |
|
|
<!-- 复核 --> |
|
|
<!-- 复核 --> |
|
|
@ -122,7 +123,11 @@ |
|
|
@click="ghgsr(scope.row)" v-hasPermi="['business:drugFormApply:ghgsr']">{{ |
|
|
@click="ghgsr(scope.row)" v-hasPermi="['business:drugFormApply:ghgsr']">{{ |
|
|
$t('page.business.study.studyFormApply.ghgsr') }}</el-button> |
|
|
$t('page.business.study.studyFormApply.ghgsr') }}</el-button> |
|
|
<!-- 审阅 --> |
|
|
<!-- 审阅 --> |
|
|
<el-button type="text" v-if="scope.row.bdzt === 5 || scope.row.bdzt === 7" @click="sy(scope.row)" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 7" @click="sy(scope.row)" |
|
|
|
|
|
v-hasPermi="['business:drugFormApply:sy']">{{ |
|
|
|
|
|
$t('page.business.study.studyFormApply.sy') }}</el-button> |
|
|
|
|
|
<!-- 审核 --> |
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 5" @click="sh(scope.row)" |
|
|
v-hasPermi="['business:drugFormApply:sy']">{{ |
|
|
v-hasPermi="['business:drugFormApply:sy']">{{ |
|
|
$t('page.business.study.studyFormApply.sy') }}</el-button> |
|
|
$t('page.business.study.studyFormApply.sy') }}</el-button> |
|
|
<!-- 废止 --> |
|
|
<!-- 废止 --> |
|
|
@ -149,6 +154,8 @@ |
|
|
<Sy v-show="showAudit" key="Sy" ref="Sy" @close="syClose" /> |
|
|
<Sy v-show="showAudit" key="Sy" ref="Sy" @close="syClose" /> |
|
|
<!-- 复核 --> |
|
|
<!-- 复核 --> |
|
|
<Fh v-show="showFh" key="Fh" ref="Fh" @close="fhClose" /> |
|
|
<Fh v-show="showFh" key="Fh" ref="Fh" @close="fhClose" /> |
|
|
|
|
|
<!-- 审核 --> |
|
|
|
|
|
<Sh v-show="showSh" key="Sh" ref="Sh" @close="shClose" /> |
|
|
<!-- 废止 --> |
|
|
<!-- 废止 --> |
|
|
<Fz key="Fz" ref="Fz" @callback="search" /> |
|
|
<Fz key="Fz" ref="Fz" @callback="search" /> |
|
|
<!-- 确认废止 --> |
|
|
<!-- 确认废止 --> |
|
|
@ -169,6 +176,7 @@ import Xq from "@/views/business/study/comp/sqbd/Xq"; |
|
|
import Sy from "@/views/business/study/comp/sqbd/Sy"; |
|
|
import Sy from "@/views/business/study/comp/sqbd/Sy"; |
|
|
import Fz from "@/views/business/study/comp/sqbd/Fz"; |
|
|
import Fz from "@/views/business/study/comp/sqbd/Fz"; |
|
|
import Fh from "@/views/business/study/comp/sqbd/Fh"; |
|
|
import Fh from "@/views/business/study/comp/sqbd/Fh"; |
|
|
|
|
|
import Sh from "@/views/business/study/comp/sqbd/Sh"; |
|
|
import Qrfz from "@/views/business/study/comp/sqbd/Qrfz"; |
|
|
import Qrfz from "@/views/business/study/comp/sqbd/Qrfz"; |
|
|
import Jq from "@/views/business/study/comp/sqbd/Jq"; |
|
|
import Jq from "@/views/business/study/comp/sqbd/Jq"; |
|
|
import Ghgsr from "@/views/business/study/comp/sqbd/Ghgsr"; |
|
|
import Ghgsr from "@/views/business/study/comp/sqbd/Ghgsr"; |
|
|
@ -205,11 +213,12 @@ export default { |
|
|
deep: true |
|
|
deep: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { Ghgsr, Fh, Fz, Bj, Xq, Qrfz, Sy, Jq, SelectDeptUser, SelectDeptUserDialog }, |
|
|
|
|
|
|
|
|
components: { Ghgsr, Fh, Sh,Fz, Bj, Xq, Qrfz, Sy, Jq, SelectDeptUser, SelectDeptUserDialog }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
leader: null, |
|
|
leader: null, |
|
|
showFh: false, |
|
|
showFh: false, |
|
|
|
|
|
showSh: false, |
|
|
showAudit: false, |
|
|
showAudit: false, |
|
|
showEdit: false, |
|
|
showEdit: false, |
|
|
showDetail: false, |
|
|
showDetail: false, |
|
|
@ -321,6 +330,11 @@ export default { |
|
|
this.$emit('showDetail', this.showFh) |
|
|
this.$emit('showDetail', this.showFh) |
|
|
this.search() |
|
|
this.search() |
|
|
}, |
|
|
}, |
|
|
|
|
|
shClose() { |
|
|
|
|
|
this.showSh = false |
|
|
|
|
|
this.$emit('showDetail', this.showSh) |
|
|
|
|
|
this.search() |
|
|
|
|
|
}, |
|
|
detail(row) { |
|
|
detail(row) { |
|
|
this.showDetail = true |
|
|
this.showDetail = true |
|
|
this.$emit('showDetail', this.showDetail) |
|
|
this.$emit('showDetail', this.showDetail) |
|
|
@ -336,6 +350,11 @@ export default { |
|
|
this.$emit('showDetail', this.showFh) |
|
|
this.$emit('showDetail', this.showFh) |
|
|
this.$refs.Fh.show(row) |
|
|
this.$refs.Fh.show(row) |
|
|
}, |
|
|
}, |
|
|
|
|
|
sh(row) { |
|
|
|
|
|
this.showSh = true |
|
|
|
|
|
this.$emit('showDetail', this.showSh) |
|
|
|
|
|
this.$refs.Sh.show(row) |
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|