Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -716,5 +716,6 @@ module.exports = {
|
|||||||
result: 'result',
|
result: 'result',
|
||||||
opinion: 'opinion',
|
opinion: 'opinion',
|
||||||
operationNode: 'operation node',
|
operationNode: 'operation node',
|
||||||
taskDataConfirmation: 'Please select the data whose list confirmation status is accepted and task confirmation status is not initiated or rejected, and the regulatory engineer and certification engineer are not empty'
|
taskDataConfirmation: 'Please select the data whose list confirmation status is accepted and task confirmation status is not initiated or rejected, and the regulatory engineer and certification engineer are not empty',
|
||||||
|
selectIssuer:'Select issuer',
|
||||||
}
|
}
|
||||||
@@ -722,4 +722,5 @@ module.exports = {
|
|||||||
result:'结果',
|
result:'结果',
|
||||||
opinion:'意见',
|
opinion:'意见',
|
||||||
operationNode:'操作节点',
|
operationNode:'操作节点',
|
||||||
|
selectIssuer:'选择下发人',
|
||||||
}
|
}
|
||||||
@@ -562,6 +562,9 @@
|
|||||||
isTableEdit:false,
|
isTableEdit:false,
|
||||||
// 新增添加字段
|
// 新增添加字段
|
||||||
standardSelectionContent: [], // 所选择的标准选择的全部字段
|
standardSelectionContent: [], // 所选择的标准选择的全部字段
|
||||||
|
formArrayName: [], // 标准选择的名字
|
||||||
|
formArrayId: [], // 标准选择的id
|
||||||
|
valueItem: '' // 标准选择的自定义字段名
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props:{
|
props:{
|
||||||
@@ -685,10 +688,25 @@
|
|||||||
},
|
},
|
||||||
//保存
|
//保存
|
||||||
splitSave(){
|
splitSave(){
|
||||||
// console.log('vallll',this.contentList)
|
// todo
|
||||||
this.$refs.splitEditForm.validate(valid=>{
|
this.$refs.splitEditForm.validate(valid=>{
|
||||||
if(valid){
|
if(valid){
|
||||||
|
// 标准编号 -- 选取或者填写的
|
||||||
|
let _formInlinevalueItem = this.formInline[this.valueItem].split(',')
|
||||||
|
// 标准编号的id临时变量
|
||||||
|
let _valueItemArr = []
|
||||||
|
if(this.formArrayName.length > 0) {
|
||||||
|
this.formArrayName.forEach((item, index) => {
|
||||||
|
_formInlinevalueItem.forEach((itemlabel, indexlabel) => {
|
||||||
|
if(itemlabel === item) {
|
||||||
|
_valueItemArr.push(this.formArrayId[index])
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
if(_valueItemArr.length > 0) {
|
||||||
|
this.formInline[this.valueItem + '_id'] = _valueItemArr.join(',')
|
||||||
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
if(!this.submitFlag){
|
if(!this.submitFlag){
|
||||||
this.submitFlag=true
|
this.submitFlag=true
|
||||||
@@ -1104,14 +1122,16 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
changeContent(val) {
|
changeContent(val) {
|
||||||
console.log(val,'kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk')
|
|
||||||
this.standardSelectionContent = val
|
this.standardSelectionContent = val
|
||||||
console.log(this.standardSelectionContent,'vcalllll')
|
|
||||||
},
|
},
|
||||||
StandardselectionChange(value, id) {
|
StandardselectionChange(value, id) {
|
||||||
this.formInline[value + '_id'] = id
|
// todo
|
||||||
|
this.valueItem = value
|
||||||
|
if(this.formInline[value] !== undefined) {
|
||||||
|
this.formArrayName = this.formInline[value].split(',')
|
||||||
|
this.formArrayId = id.split(',')
|
||||||
|
}
|
||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
console.log(this.formInline,'this.formInlinethis.formInlinethis.formInline')
|
|
||||||
},
|
},
|
||||||
PersonnelSelectionChange(value, id) {
|
PersonnelSelectionChange(value, id) {
|
||||||
this.formInline[value + '_id'] = id
|
this.formInline[value + '_id'] = id
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ export default {
|
|||||||
dataSource: [],
|
dataSource: [],
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
url: {
|
url: {
|
||||||
list: 'params/template/list',
|
list: 'params/template/page',
|
||||||
add: 'params/template/add',
|
add: 'params/template/add',
|
||||||
edit: 'params/template/edit',
|
edit: 'params/template/edit',
|
||||||
deleteBatch: 'params/template/delete',
|
deleteBatch: 'params/template/delete',
|
||||||
@@ -278,7 +278,7 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.dataSource = res.result || []
|
this.dataSource = res.result.records || []
|
||||||
this.total = res.result.total
|
this.total = res.result.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -6,14 +6,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24" v-if="isFlag">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('reviewResults')">{{$t('reviewResults')}}</span>
|
<span class="title-text-text" :title="$t('reviewResults')">{{$t('reviewResults')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="standard">
|
<a-form-model-item class="itemModel" prop="flag">
|
||||||
<a-radio-group style="margin-top: 2px" class="box-input" v-model="formInline.resource">
|
<a-radio-group style="margin-top: 2px" @change="flagChange" class="box-input" v-model="formInline.flag">
|
||||||
<a-radio value="1">
|
<a-radio value="1">
|
||||||
{{$t('agree')}}
|
{{$t('agree')}}
|
||||||
</a-radio>
|
</a-radio>
|
||||||
@@ -28,29 +29,47 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24" v-if="isTrue">
|
||||||
|
<a-col :span="12">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
|
<span class="title-text-text" :title="$t('selectIssuer')">{{$t('selectIssuer')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" prop="dreUserIdName">
|
||||||
|
<PersonnelSelection class="box-input"
|
||||||
|
:personneQuery="formInline"
|
||||||
|
:query="{db_field_name:'dreUserId',db_field_txt:$t('selectIssuer')}"
|
||||||
|
:isInput="true"
|
||||||
|
@change="PersonnelSelectionChange"
|
||||||
|
v-model="formInline.dreUserIdName"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24" v-if="isApprovalOpinion">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text" :title="$t('feedbackMessage')">{{$t('feedbackMessage')}}</span>
|
<span class="title-text-text" :title="$t('feedbackMessage')">{{$t('feedbackMessage')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="standard">
|
<a-form-model-item class="itemModel" prop="standard">
|
||||||
<a-textarea placeholder="Basic usage" v-model="formInline.desc" :rows="4" />
|
<a-textarea placeholder="Basic usage" v-model="formInline.approvalOpinion" :rows="4"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24" v-if="isViewUploadedFiles">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text" :title="$t('enclosure')">{{$t('enclosure')}}</span>
|
<span class="title-text-text" :title="$t('enclosure')">{{$t('enclosure')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="enclosure">
|
<a-form-model-item class="itemModel" prop="approvalFile">
|
||||||
<a-button type="primary" class="button-text"
|
<a-button type="primary" class="button-text"
|
||||||
@click="clickButtonToUpload('enclosure')">
|
@click="clickButtonToUpload('approvalFile')">
|
||||||
{{ (formInline.enclosure === 'null' || formInline.enclosure === '' ||
|
{{ (formInline.approvalFile === 'null' || formInline.approvalFile === '' ||
|
||||||
formInline.enclosure == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
formInline.approvalFile == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
||||||
}}
|
}}
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -65,20 +84,53 @@
|
|||||||
<script>
|
<script>
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
|
import PersonnelSelection from '@/components/PersonnelSelection/index'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'examineInformation',
|
name: 'examineInformation',
|
||||||
components:{
|
props: {
|
||||||
uploadFile
|
isFlag:{
|
||||||
|
type:Boolean,
|
||||||
|
default:false,
|
||||||
|
},
|
||||||
|
isViewUploadedFiles:{
|
||||||
|
type:Boolean,
|
||||||
|
default:false,
|
||||||
|
},
|
||||||
|
isApprovalOpinion:{
|
||||||
|
type:Boolean,
|
||||||
|
default:false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
uploadFile,
|
||||||
|
PersonnelSelection
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
formInline: {},
|
formInline: {},
|
||||||
rules: {}
|
isTrue: false,
|
||||||
|
rules: {
|
||||||
|
flag: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('reviewResults') + this.$t('cannotEmpty'),
|
||||||
|
trigger: 'change'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
dreUserIdName: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('selectIssuer') + this.$t('cannotEmpty'),
|
||||||
|
trigger: 'change'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods:{
|
methods: {
|
||||||
clickButtonToUpload(item) {
|
clickButtonToUpload(item) {
|
||||||
this.$refs.uploadFile.perentHandleFunc()
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
this.$refs.uploadFile.visible = true
|
this.$refs.uploadFile.visible = true
|
||||||
@@ -103,7 +155,25 @@
|
|||||||
this.formInline[this.uploadName] = attIdList.join(',')
|
this.formInline[this.uploadName] = attIdList.join(',')
|
||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
},
|
},
|
||||||
},
|
PersonnelSelectionChange(value, id) {
|
||||||
|
this.formInline[value] = id
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
|
},
|
||||||
|
flagChange(event) {
|
||||||
|
if (event.target.value == 3) {
|
||||||
|
this.isTrue = true
|
||||||
|
} else {
|
||||||
|
this.isTrue = false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
submit(callBack) {
|
||||||
|
this.$refs.ruleForm.validate(valid => {
|
||||||
|
if (valid) {
|
||||||
|
callBack(this.formInline)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -133,7 +203,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
width: 57px;
|
width: 88px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@@ -172,6 +242,7 @@
|
|||||||
.formAdd {
|
.formAdd {
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-text {
|
.button-text {
|
||||||
height: 38px;
|
height: 38px;
|
||||||
width: calc(100% - 100px);
|
width: calc(100% - 100px);
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="content-text">
|
<div class="content-text">
|
||||||
<div class="text-field" v-for="(item,index) in projectInformationList" :key="index">
|
<div class="text-field" v-for="(item,index) in projectInformationList" :key="index">
|
||||||
<span class="text-field-left" :title="item.title">{{item.title}}</span>
|
<span class="text-field-left" :title="item.title">{{item.title}}</span>
|
||||||
<span class="text-field-right"
|
<span class="text-field-right" :title="queryForm[item.value]"
|
||||||
>{{queryForm[item.value]}}</span>
|
>{{queryForm[item.value]}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="content-text">
|
<div class="content-text">
|
||||||
<div class="text-field" v-for="(item,index) in standardContentList" :key="index">
|
<div class="text-field" v-for="(item,index) in standardContentList" :key="index">
|
||||||
<span class="text-field-left" :title="item.title">{{item.title}}</span>
|
<span class="text-field-left" :title="item.title">{{item.title}}</span>
|
||||||
<span class="text-field-right"
|
<span class="text-field-right" :title="queryForm[item.value]"
|
||||||
>{{queryForm[item.value]}}</span>
|
>{{queryForm[item.value]}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -31,30 +31,20 @@
|
|||||||
type: Object,
|
type: Object,
|
||||||
default: {}
|
default: {}
|
||||||
},
|
},
|
||||||
standardContentId: {
|
standardContentQuery: {
|
||||||
type: String,
|
type: Object,
|
||||||
default: ''
|
default: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
queryForm: {},
|
queryForm: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getQueryForm()
|
this.queryForm = this.standardContentQuery
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {}
|
||||||
getQueryForm() {
|
|
||||||
getAction(this.url.urlFrom, { id: this.projectInformationId }).then((res) => {
|
|
||||||
if (res.success) {
|
|
||||||
this.queryForm = res.result[0] || {}
|
|
||||||
} else {
|
|
||||||
this.queryForm = {}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,12 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'standardContentList',
|
name: 'standardContentList',
|
||||||
|
props: {
|
||||||
|
standardContentListQuery: {
|
||||||
|
type: Object,
|
||||||
|
default: {}
|
||||||
|
}
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
@@ -159,7 +165,7 @@
|
|||||||
],
|
],
|
||||||
loading: false,
|
loading: false,
|
||||||
dataSourceFile: [],
|
dataSourceFile: [],
|
||||||
visibleFile:false,
|
visibleFile: false,
|
||||||
columnsFile: [
|
columnsFile: [
|
||||||
{
|
{
|
||||||
title: this.$t('deliverableTemplate'),
|
title: this.$t('deliverableTemplate'),
|
||||||
@@ -178,6 +184,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.dataSource = []
|
||||||
|
this.dataSource.push(this.standardContentListQuery)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
pdfPreview(fileQuery) {
|
pdfPreview(fileQuery) {
|
||||||
|
|||||||
@@ -7,21 +7,35 @@
|
|||||||
@terminationProcess="terminationProcess"
|
@terminationProcess="terminationProcess"
|
||||||
@submit="submit"
|
@submit="submit"
|
||||||
/>
|
/>
|
||||||
<div class="detail-box">
|
<a-spin tip="加载中..." :spinning="loading">
|
||||||
<div class="detail-content" style="height: 100%">
|
<div class="detail-box" v-if="!loading">
|
||||||
<projectInformation
|
<div class="detail-content" style="height: 100%">
|
||||||
:projectInformationList="projectInformationList"
|
<projectInformation
|
||||||
:url="url"
|
:projectInformationList="projectInformationList"
|
||||||
:projectInformationId="'1517332232949133313'"
|
:url="url"
|
||||||
/>
|
:projectInformationId="this.queryBy.projectLibraryId"
|
||||||
<standardContent
|
/>
|
||||||
:standardContentList="standardContentList"
|
<standardContent
|
||||||
:url="url"
|
:standardContentList="standardContentList"
|
||||||
/>
|
:url="url"
|
||||||
<standardContentList :url="url"/>
|
:standardContentQuery="queryProject"
|
||||||
<examineInformation :url="url"/>
|
/>
|
||||||
<circulationHistory :url="url"/>
|
<standardContentListTable
|
||||||
|
:standardContentListQuery="queryProject"
|
||||||
|
:url="url
|
||||||
|
"/>
|
||||||
|
<examineInformation
|
||||||
|
isFlag
|
||||||
|
isViewUploadedFiles
|
||||||
|
isApprovalOpinion
|
||||||
|
ref="examineInformationRef"
|
||||||
|
:url="url"/>
|
||||||
|
<circulationHistory :url="url"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</a-spin>
|
||||||
|
<div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -30,9 +44,11 @@
|
|||||||
import headerProcess from '../../components/headerProcess'
|
import headerProcess from '../../components/headerProcess'
|
||||||
import projectInformation from '../../components/projectInformation'
|
import projectInformation from '../../components/projectInformation'
|
||||||
import standardContent from '../../components/standardContent'
|
import standardContent from '../../components/standardContent'
|
||||||
import standardContentList from '../../components/standardContentList'
|
import standardContentListTable from '../../components/standardContentList'
|
||||||
import examineInformation from '../../components/examineInformation'
|
import examineInformation from '../../components/examineInformation'
|
||||||
import circulationHistory from '../../components/circulationHistory'
|
import circulationHistory from '../../components/circulationHistory'
|
||||||
|
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'handshakeProcess',
|
name: 'handshakeProcess',
|
||||||
@@ -40,7 +56,7 @@
|
|||||||
headerProcess,
|
headerProcess,
|
||||||
projectInformation,
|
projectInformation,
|
||||||
standardContent,
|
standardContent,
|
||||||
standardContentList,
|
standardContentListTable,
|
||||||
examineInformation,
|
examineInformation,
|
||||||
circulationHistory
|
circulationHistory
|
||||||
},
|
},
|
||||||
@@ -133,16 +149,64 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
url: {
|
url: {
|
||||||
urlFrom: 'project/projectLibraryBase/queryById'
|
urlFrom: 'project/projectLibraryBase/queryById',
|
||||||
}
|
queryProjectLawsInventoryInfoById: 'project/projectLawsInventoryEO/queryProjectLawsInventoryInfoById'
|
||||||
|
},
|
||||||
|
queryBy: {},
|
||||||
|
queryProject: {},
|
||||||
|
loading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
if (this.$route.query.mes) {
|
||||||
|
this.queryBy = eval('(' + JSON.parse(this.$route.query.mes) + ')')
|
||||||
|
}
|
||||||
|
this.queryProjectLawsInventoryInfo()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
...mapGetters(['userInfo']),
|
||||||
terminationProcess() {
|
terminationProcess() {
|
||||||
|
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
|
this.$refs.examineInformationRef.submit(function(res) {
|
||||||
|
this.completeTask(res)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
completeTask(value) {
|
||||||
|
let json = Object.assign({}, value, this.queryBy)
|
||||||
|
let data = JSON.stringify(json).replace(/\"/g, '\'')
|
||||||
|
let query = {
|
||||||
|
userid: this.userInfo().id,
|
||||||
|
taskId: this.$route.query.taskId || this.$route.query.taskIds,
|
||||||
|
json: data
|
||||||
|
}
|
||||||
|
postAction('/workFlow/completeTask', query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
|
this.$router.push({
|
||||||
|
path: '/ProcessCenter'
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
queryProjectLawsInventoryInfo() {
|
||||||
|
this.loading = true
|
||||||
|
let query = {
|
||||||
|
id: this.queryBy.id,
|
||||||
|
operatorType: 'taskAffirmQuery'
|
||||||
|
}
|
||||||
|
getAction(this.url.queryProjectLawsInventoryInfoById, query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.queryProject = res.result.projectLawsInventory || {}
|
||||||
|
this.loading = false
|
||||||
|
} else {
|
||||||
|
this.queryProject = {}
|
||||||
|
this.loading = false
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -143,12 +143,9 @@
|
|||||||
},
|
},
|
||||||
// 打开查看
|
// 打开查看
|
||||||
classAdd(row) {
|
classAdd(row) {
|
||||||
this.$store.commit('setDetailMap', this.$route.path)
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/ProcessDetail',
|
path: '/handshakeProcess',
|
||||||
query: {
|
query: row
|
||||||
prcNum: row.prcNum
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -850,7 +850,9 @@
|
|||||||
this.visible = false
|
this.visible = false
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.$route
|
this.$router.push({
|
||||||
|
path: '/ProcessCenter'
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user