|
|
@ -69,6 +69,8 @@ |
|
|
<span v-if="scope.row.bdzt === 3">{{ $t('page.business.form.statusYtj') }}</span> |
|
|
<span v-if="scope.row.bdzt === 3">{{ $t('page.business.form.statusYtj') }}</span> |
|
|
<span v-if="scope.row.bdzt === 5">{{ $t('page.business.form.statusYtg') }}</span> |
|
|
<span v-if="scope.row.bdzt === 5">{{ $t('page.business.form.statusYtg') }}</span> |
|
|
<span v-if="scope.row.bdzt === 7">{{ $t('page.business.form.statusWtg') }}</span> |
|
|
<span v-if="scope.row.bdzt === 7">{{ $t('page.business.form.statusWtg') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 9">{{ $t('page.business.form.statusDgb') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 11">{{ $t('page.business.form.statusYgb') }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
@ -100,6 +102,14 @@ |
|
|
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:studyFormPre:sh']" |
|
|
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:studyFormPre:sh']" |
|
|
v-if="scope.row.bdzt === 3 && isMatchSubject">{{ $t('page.business.form.audit') }}</el-button> |
|
|
v-if="scope.row.bdzt === 3 && isMatchSubject">{{ $t('page.business.form.audit') }}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
<template v-if="scope.row.bdzt === 5 && id == scope.row.userId"> |
|
|
|
|
|
<el-button type="text" @click="gb(scope.row)">{{ $t('page.business.study.studyFormPre.guanbi') |
|
|
|
|
|
}}</el-button> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template v-if="scope.row.bdzt === 9 && id == scope.row.sjshryId"> |
|
|
|
|
|
<el-button type="text" @click="qrgb(scope.row)">{{ $t('page.business.study.studyFormPre.qrgb') |
|
|
|
|
|
}}</el-button> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
@ -114,6 +124,11 @@ |
|
|
<Xq v-show="showDetail" key="Xq" ref="Xq" @close="xqClose" /> |
|
|
<Xq v-show="showDetail" key="Xq" ref="Xq" @close="xqClose" /> |
|
|
<!-- 审核 --> |
|
|
<!-- 审核 --> |
|
|
<Sh v-show="showAudit" key="Sh" ref="Sh" @close="shClose" /> |
|
|
<Sh v-show="showAudit" key="Sh" ref="Sh" @close="shClose" /> |
|
|
|
|
|
<!-- 关闭 --> |
|
|
|
|
|
<Gb key="Gb" ref="Gb" @callback="search" /> |
|
|
|
|
|
<!-- 确认关闭 --> |
|
|
|
|
|
<Qrgb key="Qrgb" ref="Qrgb" @callback="search" /> |
|
|
|
|
|
|
|
|
<el-dialog :title="$t('page.business.study.studyFormPre.xjbd')" :visible.sync="open" width="500px" append-to-body |
|
|
<el-dialog :title="$t('page.business.study.studyFormPre.xjbd')" :visible.sync="open" width="500px" append-to-body |
|
|
:close-on-click-modal="false"> |
|
|
:close-on-click-modal="false"> |
|
|
<el-form ref="form" label-width="120px"> |
|
|
<el-form ref="form" label-width="120px"> |
|
|
@ -178,6 +193,8 @@ import TemplateTable from '@/views/business/comps/template/TemplateTable'; |
|
|
import Bj from "./ytbd/Bj"; |
|
|
import Bj from "./ytbd/Bj"; |
|
|
import Xq from "./ytbd/Xq"; |
|
|
import Xq from "./ytbd/Xq"; |
|
|
import Sh from "./ytbd/Sh"; |
|
|
import Sh from "./ytbd/Sh"; |
|
|
|
|
|
import Gb from "./ytbd/Gb"; |
|
|
|
|
|
import Qrgb from "./ytbd/Qrgb"; |
|
|
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; |
|
|
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; |
|
|
import moment from "moment"; |
|
|
import moment from "moment"; |
|
|
import { mapGetters } from 'vuex' |
|
|
import { mapGetters } from 'vuex' |
|
|
@ -211,7 +228,7 @@ export default { |
|
|
deep: true |
|
|
deep: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { Bj, Xq, Sh, SelectDeptUser, TemplateTable }, |
|
|
|
|
|
|
|
|
components: { Gb, Qrgb, Bj, Xq, Sh, SelectDeptUser, TemplateTable }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
isMatchSubject: false, |
|
|
isMatchSubject: false, |
|
|
@ -378,7 +395,7 @@ export default { |
|
|
edit(row) { |
|
|
edit(row) { |
|
|
this.showEdit = true |
|
|
this.showEdit = true |
|
|
this.$emit('showDetail', this.showEdit) |
|
|
this.$emit('showDetail', this.showEdit) |
|
|
this.$refs.Bj.edit(row) |
|
|
|
|
|
|
|
|
this.$refs.Bj.edit(_.merge({}, row, { permitForSecectUser: 'business:studyFormPre:sh' })) |
|
|
}, |
|
|
}, |
|
|
bjClose() { |
|
|
bjClose() { |
|
|
this.showEdit = false |
|
|
this.showEdit = false |
|
|
@ -400,6 +417,12 @@ export default { |
|
|
this.$emit('showDetail', this.showDetail) |
|
|
this.$emit('showDetail', this.showDetail) |
|
|
this.$refs.Xq.show(row, false) |
|
|
this.$refs.Xq.show(row, false) |
|
|
}, |
|
|
}, |
|
|
|
|
|
gb(row) { |
|
|
|
|
|
this.$refs.Gb.show(row) |
|
|
|
|
|
}, |
|
|
|
|
|
qrgb(row) { |
|
|
|
|
|
this.$refs.Qrgb.show(row) |
|
|
|
|
|
}, |
|
|
audit(row) { |
|
|
audit(row) { |
|
|
this.showAudit = true |
|
|
this.showAudit = true |
|
|
this.$emit('showDetail', this.showAudit) |
|
|
this.$emit('showDetail', this.showAudit) |
|
|
|