标准/译文申请 查看
This commit is contained in:
+9
-6
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="新增标准/译文获取申请"
|
title="新增标准/译文获取申请123"
|
||||||
:visible.sync="visible"
|
:visible.sync="visible"
|
||||||
:direction="direction"
|
:direction="direction"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
@@ -13,12 +13,12 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="申请单位" prop="applyForUnitName" label-width="100px" class="add-form-item">
|
<el-form-item label="申请单位" prop="applyForUnitName" label-width="100px" class="add-form-item">
|
||||||
<el-input disabled v-model="StandardApplyForEO.applyForUnitName" readonly clearable />
|
<el-input v-model="StandardApplyForEO.applyForUnitName" readonly clearable />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="申请人" prop="applyForUserName" label-width="100px" class="add-form-item">
|
<el-form-item label="申请人" prop="applyForUserName" label-width="100px" class="add-form-item">
|
||||||
<el-input disabled v-model="StandardApplyForEO.applyForUserName" readonly clearable />
|
<el-input v-model="StandardApplyForEO.applyForUserName" readonly clearable />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
@@ -192,10 +192,10 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.addFormRef.clearValidate()
|
this.$refs.addFormRef.clearValidate()
|
||||||
this.getDicTypeListCode()
|
this.getDicTypeListCode()
|
||||||
this.selectStandType(this.StandardApplyForEO.standType)
|
this.selectStandType(this.StandardApplyForEO.standType, 'callBack')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
selectStandType (value) {
|
selectStandType (value,tag) {
|
||||||
if (value === '') {
|
if (value === '') {
|
||||||
this.standLbList = []
|
this.standLbList = []
|
||||||
}
|
}
|
||||||
@@ -205,7 +205,10 @@ export default {
|
|||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.standLbList = res.data
|
this.standLbList = res.data
|
||||||
this.$set(this.StandardApplyForEO, 'standLb', null)
|
if (tag !== 'callBack') {
|
||||||
|
console.log(1111)
|
||||||
|
this.$set(this.StandardApplyForEO, 'standLb', null)
|
||||||
|
}
|
||||||
this.showLoading = false
|
this.showLoading = false
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
|||||||
+58
-41
@@ -1,80 +1,97 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="新增标准/译文获取申请"
|
title="新增标准/译文获取申请"
|
||||||
:visible.sync="visible"
|
:visible.sync="visible"
|
||||||
:direction="direction"
|
:direction="direction"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:wrapper-closable="false"
|
:wrapper-closable="false"
|
||||||
:before-close="handleClose"
|
:before-close="handleClose"
|
||||||
size="40%"
|
size="40%"
|
||||||
>
|
>
|
||||||
<loading :loading="showLoading">加载中...</loading>
|
<loading :loading="showLoading">加载中...</loading>
|
||||||
<el-form ref="addFormRef" :model="StandardApplyForEO" class="label-input-form detail-modal-form">
|
<el-form ref="addFormRef" :model="StandardApplyForEO" class="label-input-form detail-modal-form">
|
||||||
<el-row>
|
<el-row style="padding-bottom: 80px">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="申请单位" label-width="100px" class="add-form-item">
|
<el-form-item label="申请单位" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.applyForUnitName ? StandardApplyForEO.applyForUnitName : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.applyForUnitName ? StandardApplyForEO.applyForUnitName : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="申请人" label-width="100px" class="add-form-item">
|
<el-form-item label="申请人" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.applyForUserName ? StandardApplyForEO.applyForUserName : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.applyForUserName ? StandardApplyForEO.applyForUserName : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="类型" label-width="100px" class="add-form-item">
|
<el-form-item label="类型" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.typeShow ? StandardApplyForEO.typeShow : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.typeShow ? StandardApplyForEO.typeShow : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准类型" label-width="100px" class="add-form-item">
|
<el-form-item label="标准类型" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.standTypeShow ? StandardApplyForEO.standTypeShow : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.standTypeShow ? StandardApplyForEO.standTypeShow : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准类别" label-width="100px" class="add-form-item">
|
<el-form-item label="标准类别" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.standLbShow ? StandardApplyForEO.standLbShow : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.standLbShow ? StandardApplyForEO.standLbShow : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准编号" label-width="100px" class="add-form-item">
|
<el-form-item label="标准编号" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.standNum ? StandardApplyForEO.standNum : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.standNum ? StandardApplyForEO.standNum : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准年份" label-width="100px" class="add-form-item">
|
<el-form-item label="标准年份" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.standYear ? StandardApplyForEO.standYear : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.standYear ? StandardApplyForEO.standYear : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="需求时间" label-width="100px" class="add-form-item">
|
<el-form-item label="需求时间" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.requiredTime ? StandardApplyForEO.requiredTime : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.requiredTime ? StandardApplyForEO.requiredTime : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="标准名称" label-width="100px" class="add-form-item">
|
<el-form-item label="标准名称" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.standName ? StandardApplyForEO.standName : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.standName ? StandardApplyForEO.standName : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="原语言" label-width="100px" class="add-form-item">
|
<el-form-item label="原语言" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.sourceLanguage ? StandardApplyForEO.sourceLanguage : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.sourceLanguage ? StandardApplyForEO.sourceLanguage : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="目标语言" label-width="100px" class="add-form-item">
|
<el-form-item label="目标语言" label-width="100px" class="add-form-item">
|
||||||
<span>{{StandardApplyForEO.targetLanguage ? StandardApplyForEO.targetLanguage : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.targetLanguage ? StandardApplyForEO.targetLanguage : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="理由" label-width="100px" class="add-form-item">
|
<el-form-item label="理由" label-width="100px" class="add-form-item reasonContent">
|
||||||
<span>{{StandardApplyForEO.reason ? StandardApplyForEO.reason : '--'}}</span>
|
<div class="content">{{ StandardApplyForEO.reason ? StandardApplyForEO.reason : '--' }}</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="审批人" label-width="100px" class="add-form-item">
|
||||||
|
<div class="content">{{ StandardApplyForEO.applyForUserName ? StandardApplyForEO.applyForUserName : '--' }}</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="审批时间" label-width="100px" class="add-form-item">
|
||||||
|
<div class="content">{{ StandardApplyForEO.approveTime ? StandardApplyForEO.approveTime : '--' }}</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="驳回理由" label-width="100px" class="add-form-item">
|
||||||
|
<div class="content">{{ StandardApplyForEO.refuseCause ? StandardApplyForEO.refuseCause : '--' }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div class="drawer-footer">
|
<div>
|
||||||
<el-button class="common-button-default" @click="visible=false">关闭</el-button>
|
<div class="drawer-footer">
|
||||||
|
<el-button class="common-button-default" @click="visible=false">关闭</el-button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
</template>
|
</template>
|
||||||
@@ -82,7 +99,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'AddModal',
|
name: 'AddModal',
|
||||||
data () {
|
data() {
|
||||||
return {
|
return {
|
||||||
visible: false,
|
visible: false,
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -91,10 +108,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleClose () {
|
handleClose() {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
showModal (item) {
|
showModal(item) {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.StandardApplyForEO = []
|
this.StandardApplyForEO = []
|
||||||
@@ -123,9 +140,9 @@ export default {
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
.detail-modal-form {
|
.content{
|
||||||
/deep/ .el-form-item__content{
|
display: flex;
|
||||||
line-height: 50px;
|
align-items: center;
|
||||||
}
|
min-height: 50px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -157,10 +157,10 @@
|
|||||||
<el-table-column label="操作" align="center" width="200" fixed="right">
|
<el-table-column label="操作" align="center" width="200" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="table-operate-btn" @click="toView(scope.row)">查看</div>
|
<div class="table-operate-btn" @click="toView(scope.row)">查看</div>
|
||||||
<div v-show="scope.row.status==='pendingApproval'" class="table-operate-btn" @click="batchPass([scope.row.id])">通过</div>
|
<div v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchPass([scope.row.id])">通过</div>
|
||||||
<div v-show="scope.row.status==='pendingApproval'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">驳回</div>
|
<div v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">驳回</div>
|
||||||
<div v-show="scope.row.status==='pendingApproval'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">编辑</div>
|
<div v-show="scope.row.buttonFlag ==='editOrDelete'" class="table-operate-btn" @click="edit(scope.row)">编辑</div>
|
||||||
<div v-show="scope.row.status==='pendingApproval'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">重新提交</div>
|
<div v-show="scope.row.status==='refuse'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">重新提交</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -174,6 +174,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<standardsAndTranslationModal ref="standardsAndTranslationModalRef" @updateIndexList="getList" />
|
<standardsAndTranslationModal ref="standardsAndTranslationModalRef" @updateIndexList="getList" />
|
||||||
<detailModal ref="detailModalRef" />
|
<detailModal ref="detailModalRef" />
|
||||||
|
<addModal ref="addModalRef" @updateList="getList"></addModal>
|
||||||
<exportDialog ref="exportDialogRef" @exportData="exportName" />
|
<exportDialog ref="exportDialogRef" @exportData="exportName" />
|
||||||
<Role-tree
|
<Role-tree
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
@@ -187,6 +188,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import standardsAndTranslationModal from './components/standardTranslationAcquisitionRequestModal';
|
import standardsAndTranslationModal from './components/standardTranslationAcquisitionRequestModal';
|
||||||
import detailModal from './components/detailModal';
|
import detailModal from './components/detailModal';
|
||||||
|
import addModal from './components/addModal';
|
||||||
import exportDialog from './components/exportDialog';
|
import exportDialog from './components/exportDialog';
|
||||||
import axios from '@/common/axiosV2'
|
import axios from '@/common/axiosV2'
|
||||||
|
|
||||||
@@ -195,7 +197,8 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
standardsAndTranslationModal,
|
standardsAndTranslationModal,
|
||||||
detailModal,
|
detailModal,
|
||||||
exportDialog
|
exportDialog,
|
||||||
|
addModal
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -248,6 +251,9 @@ export default {
|
|||||||
this.getDicTypeListCode()
|
this.getDicTypeListCode()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
edit (item) {
|
||||||
|
this.$refs.addModalRef.showModal(item)
|
||||||
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
let idList = ''
|
let idList = ''
|
||||||
let nameList = ''
|
let nameList = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user