|
|
|
@ -2,48 +2,37 @@ |
|
|
|
<div> |
|
|
|
<div class="sqbd-list" v-show="!showDetail && !showEdit && !showAudit && !showFh && !showSh"> |
|
|
|
<div class="sqbd-search"> |
|
|
|
<el-form :model="searchForm" ref="searchForm" :inline="true" label-width="110px"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form :model="searchForm" ref="searchForm" :inline="true"> |
|
|
|
<el-form-item :label="$t('page.business.form.bdmc')" prop="name"> |
|
|
|
<el-input v-model="searchForm.bdmc" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
style="width: 200px" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item :label="$t('page.business.study.studyFormApply.sywzmc')" prop="sn"> |
|
|
|
<el-input v-model="searchForm.sywzmc" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
style="width: 200px" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
<el-form-item :label="$t('page.business.form.gsr')" prop="userId"> |
|
|
|
<SelectDeptUser v-model="searchForm.userId" style="width: 200px" :name="searchForm.userMc" key="userId" |
|
|
|
@change="userChange" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyFormApply.xysj')"> |
|
|
|
<el-date-picker v-model="daterange" clearable type="daterange" @change="search" range-separator="-" |
|
|
|
:start-placeholder="$t('page.business.form.startDate')" |
|
|
|
:end-placeholder="$t('page.business.form.endDate')" value-format="yyyy-MM-dd" style="width: 200px" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyFormApply.xynd')" prop="templateName"> |
|
|
|
<el-input v-model="searchForm.xynd" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
style="width: 200px" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyFormApply.sybhbm')" prop="templateName"> |
|
|
|
<el-input v-model="searchForm.sybhbm" :placeholder="$t('form.placeholderInput')" clearable |
|
|
|
style="width: 200px" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
<el-form-item :label="$t('page.business.study.studyFormApply.sfbl')"> |
|
|
|
<el-select v-model="searchForm.sfbl" :placeholder="$t('form.placeholderSelect')" clearable |
|
|
|
@change="search"> |
|
|
|
@ -51,17 +40,14 @@ |
|
|
|
<el-option :label="$t('page.business.study.studyFormApply.no')" value="否" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
<el-form-item :label="$t('page.business.form.tjsj')"> |
|
|
|
<el-date-picker v-model="daterangetj" clearable type="daterange" @change="search" range-separator="-" |
|
|
|
:start-placeholder="$t('page.business.form.startDate')" |
|
|
|
:end-placeholder="$t('page.business.form.endDate')" value-format="yyyy-MM-dd" style="width: 200px" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item :label="$t('page.business.form.status')"> |
|
|
|
<el-select v-model="searchForm.bdzt" :placeholder="$t('form.placeholderSelect')" clearable |
|
|
|
@change="search"> |
|
|
|
@ -74,21 +60,17 @@ |
|
|
|
<el-option :label="$t('page.business.study.studyFormApply.yfz')" :value="11" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-button type="primary" icon="el-icon-search" @click="search">{{ $t('form.search') }}</el-button> |
|
|
|
<el-button icon="el-icon-refresh" @click="reset">{{ $t('form.reset') }}</el-button> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
<div class="sqbd-content"> |
|
|
|
<el-row class="add-box"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="add()" v-if="searchForm.studyStatus < 5" |
|
|
|
v-hasPermi="['business:drugFormApply:xz']">{{ |
|
|
|
$t('page.business.study.studyFormApply.xzbd') }}</el-button> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12" style="text-align: right;"> |
|
|
|
<el-button type="primary" icon="el-icon-search" @click="search">{{ $t('form.search') }}</el-button> |
|
|
|
<el-button icon="el-icon-refresh" @click="reset">{{ $t('form.reset') }}</el-button> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list" :default-sort="{ prop: 'tjsj', order: 'descending' }" |
|
|
|
@ -174,7 +156,7 @@ |
|
|
|
$t('page.business.study.studyFormApply.sh') }}</el-button> |
|
|
|
<!-- 废止 --> |
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1 && id == scope.row.userId" @click="fz(scope.row)" |
|
|
|
v-hasPermi="['business:drugFormApply:fz']">{{ |
|
|
|
>{{ |
|
|
|
$t('page.business.study.studyFormApply.fz') }}</el-button> |
|
|
|
<!-- 确认废止 --> |
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 9 && checkRole(['bz'])" @click="qrfz(scope.row)" |
|
|
|
@ -192,13 +174,13 @@ |
|
|
|
<!-- 编辑 --> |
|
|
|
<Bj v-show="showEdit" key="Bj" ref="Bj" @close="bjClose" /> |
|
|
|
<!-- 详情 --> |
|
|
|
<Xq v-if="showDetail" key="Xq" ref="Xq" @close="xqClose" /> |
|
|
|
<Xq v-show="showDetail" key="Xq" ref="Xq" @close="xqClose" /> |
|
|
|
<!-- 审阅 --> |
|
|
|
<Sy v-if="showAudit" key="Sy" ref="Sy" @close="syClose" /> |
|
|
|
<Sy v-show="showAudit" key="Sy" ref="Sy" @close="syClose" /> |
|
|
|
<!-- 复核 --> |
|
|
|
<Fh v-if="showFh" key="Fh" ref="Fh" @close="fhClose" /> |
|
|
|
<Fh v-show="showFh" key="Fh" ref="Fh" @close="fhClose" /> |
|
|
|
<!-- 审核 --> |
|
|
|
<Sh v-if="showSh" key="Sh" ref="Sh" @close="shClose" /> |
|
|
|
<Sh v-show="showSh" key="Sh" ref="Sh" @close="shClose" /> |
|
|
|
<!-- 废止 --> |
|
|
|
<Fz key="Fz" ref="Fz" @callback="search" /> |
|
|
|
<!-- 确认废止 --> |
|
|
|
|