对接设计符合性确认
This commit is contained in:
@@ -149,7 +149,6 @@ service.interceptors.request.use(config => {
|
|||||||
...config.data
|
...config.data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(config)
|
|
||||||
return config
|
return config
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
return Promise.reject(error)
|
return Promise.reject(error)
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
queryBy: {},
|
queryBy: {},
|
||||||
queryProject: {},
|
queryProject: {},
|
||||||
loading: false,
|
loading: false,
|
||||||
textLoading:this.$t('dataLoading'),
|
textLoading: this.$t('dataLoading'),
|
||||||
projectInformationList: [
|
projectInformationList: [
|
||||||
{
|
{
|
||||||
title: this.$t('entryName'),
|
title: this.$t('entryName'),
|
||||||
@@ -183,6 +183,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
let _this = this
|
||||||
|
this.queryTaskDetailByTask(function() {
|
||||||
|
_this.queryProjectLawsInventoryInfo()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
@@ -194,6 +198,33 @@
|
|||||||
},
|
},
|
||||||
sendBack() {
|
sendBack() {
|
||||||
|
|
||||||
|
},
|
||||||
|
queryTaskDetailByTask(callback) {
|
||||||
|
this.loading = true
|
||||||
|
getAction(this.url.queryTaskDetailByTaskIds, { taskIds: this.$route.query.taskIds }).then((res) => {
|
||||||
|
if (res instanceof String) {
|
||||||
|
this.queryBy = JSON.parse(res)
|
||||||
|
callback()
|
||||||
|
} else {
|
||||||
|
this.queryBy = res
|
||||||
|
callback()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
queryProjectLawsInventoryInfo() {
|
||||||
|
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
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,8 +52,8 @@
|
|||||||
>
|
>
|
||||||
<div slot="standardInformation" slot-scope="text,result" class="box-left">
|
<div slot="standardInformation" slot-scope="text,result" class="box-left">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<a class="box-content">GB-7258-2017</a><br/>
|
<a class="box-content">{{result.serialNumber}}</a><br/>
|
||||||
<a>及东盟火车大师傅但是</a>
|
<a>{{result.title}}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="areaOfResponsibility" slot-scope="text,result" class="box-left">
|
<div slot="areaOfResponsibility" slot-scope="text,result" class="box-left">
|
||||||
@@ -63,28 +63,34 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="confirmationOfDesignConformity" slot-scope="text,result" class="box-left">
|
<div slot="confirmationOfDesignConformity" slot-scope="text,result" class="box-left">
|
||||||
<div class="content">
|
<div class="content" v-if="result.designTaskStatus">
|
||||||
<span class="box-content">截止时间: 2022-06-01</span><br/>
|
<span class="box-content">截止时间: 2022-06-01</span><br/>
|
||||||
<span class="box-content">流程状态: 待审核</span><br/>
|
<span class="box-content">流程状态: 待审核</span><br/>
|
||||||
<span class="box-content-color">待追踪</span>
|
<span class="box-content-color">待追踪</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-box">
|
<div class="content-box" v-if="result.designTaskStatus == 'NotDone'" @click="verifyTaskClick(result,1)">
|
||||||
<div class="content-box-jiao"></div>
|
<div class="content-box-jiao"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="PrehomoConfirmation" slot-scope="text,result" class="box-left">
|
<div slot="PrehomoConfirmation" slot-scope="text,result" class="box-left">
|
||||||
<div class="content">
|
<div class="content" v-if="result.prehomoTaskStatus">
|
||||||
<span class="box-content">截止时间: 2022-06-01</span><br/>
|
<span class="box-content">截止时间: 2022-06-01</span><br/>
|
||||||
<span class="box-content">流程状态: 待审核</span><br/>
|
<span class="box-content">流程状态: 待审核</span><br/>
|
||||||
<span class="box-content-color">待追踪</span>
|
<span class="box-content-color">待追踪</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="content-box" v-if="result.prehomoTaskStatus == 'NotDone'" @click="verifyTaskClick(result,2)">
|
||||||
|
<div class="content-box-jiao"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="verificationAndConformityconfirmation" slot-scope="text,result" class="box-left">
|
<div slot="verificationAndConformityconfirmation" slot-scope="text,result" class="box-left">
|
||||||
<div class="content">
|
<div class="content" v-if="result.verifyTaskStatus">
|
||||||
<span class="box-content">截止时间: 2022-06-01</span><br/>
|
<span class="box-content">截止时间: 2022-06-01</span><br/>
|
||||||
<span class="box-content">流程状态: 待审核</span><br/>
|
<span class="box-content">流程状态: 待审核</span><br/>
|
||||||
<span class="box-content-color">待追踪</span>
|
<span class="box-content-color">待追踪</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="content-box" v-if="result.verifyTaskStatus == 'NotDone'" @click="verifyTaskClick(result,3)">
|
||||||
|
<div class="content-box-jiao"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="CertificationProgress" slot-scope="text,result">
|
<div slot="CertificationProgress" slot-scope="text,result">
|
||||||
<span class="box-content-color box-content-cou" @click="CertificationProgressClick(result)">
|
<span class="box-content-color box-content-cou" @click="CertificationProgressClick(result)">
|
||||||
@@ -171,6 +177,11 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
|
status: {
|
||||||
|
'NotDone': '待办',
|
||||||
|
'haveDone': '已办',
|
||||||
|
'showData': '展示数据'
|
||||||
|
},
|
||||||
queryParam: {},
|
queryParam: {},
|
||||||
url: {
|
url: {
|
||||||
list: '/project/projectTaskInventoryEO/list'
|
list: '/project/projectTaskInventoryEO/list'
|
||||||
@@ -195,6 +206,31 @@
|
|||||||
},
|
},
|
||||||
handleExport() {
|
handleExport() {
|
||||||
|
|
||||||
|
},
|
||||||
|
verifyTaskClick(val, num) {
|
||||||
|
let query = {}
|
||||||
|
switch (num) {
|
||||||
|
case 1:
|
||||||
|
query = {
|
||||||
|
taskIds: val.designTaskId
|
||||||
|
}
|
||||||
|
break
|
||||||
|
case 2:
|
||||||
|
query = {
|
||||||
|
taskIds: val.prehomoTaskId
|
||||||
|
}
|
||||||
|
break
|
||||||
|
case 3:
|
||||||
|
query = {
|
||||||
|
taskIds: val.verifyTaskId
|
||||||
|
}
|
||||||
|
break
|
||||||
|
}
|
||||||
|
let newUrl = this.$router.resolve({
|
||||||
|
path: '/taskListProcess',
|
||||||
|
query: query
|
||||||
|
})
|
||||||
|
window.open(newUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
CertificationDirectory() {
|
CertificationDirectory() {
|
||||||
this.$refs.certificationDirectoryRef.addModel()
|
this.$refs.certificationDirectoryRef.addModel()
|
||||||
@@ -206,8 +242,8 @@
|
|||||||
}
|
}
|
||||||
getAction(this.url.list, query).then((res) => {
|
getAction(this.url.list, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
// this.dataSource = res.result
|
this.dataSource = res.result
|
||||||
this.dataSource = [{}]
|
// this.dataSource = [{}]
|
||||||
} else {
|
} else {
|
||||||
this.dataSource = []
|
this.dataSource = []
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user