Commit ae4b260b authored by baiyanhao's avatar baiyanhao

发起评审-删除场景-我的已审-我的待审流程参数修改

parent bd476e53
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
min-width="200" min-width="200"
align="left" align="left"
prop="decision" prop="decision"
:formatter="formatDecision"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="操作" label="操作"
...@@ -298,7 +298,7 @@ export default { ...@@ -298,7 +298,7 @@ export default {
return typeList ? typeList.dictLabel : '' return typeList ? typeList.dictLabel : ''
}, },
formatReviewStatus(row,column){ formatReviewStatus(row,column){
const reviewStatusList= this.reviewStatusList.find(item => item.dictValue === row.reviewStatus) const reviewStatusList= this.reviewStatusList.find(item => item.dictValue === row.decision)
return reviewStatusList ? reviewStatusList.dictLabel : '' return reviewStatusList ? reviewStatusList.dictLabel : ''
}, },
/* 关闭移交弹窗-保存*/ /* 关闭移交弹窗-保存*/
......
...@@ -386,6 +386,9 @@ export default { ...@@ -386,6 +386,9 @@ export default {
.catch(error => { .catch(error => {
console.log('testReviewer方法出错', error) console.log('testReviewer方法出错', error)
}) })
this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name
}, },
methods: { methods: {
//下拉框 选择检验类型 //下拉框 选择检验类型
...@@ -414,9 +417,9 @@ export default { ...@@ -414,9 +417,9 @@ export default {
}, },
// 选择标准要求弹窗确认 // 选择标准要求弹窗确认
submitRequirement() { submitRequirement() {
this.newResData.standardNo = this.pageIndexSec.standardNo // this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id // this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name // this.newResData.name = this.pageIndexSec.name
//根据 inspectStandardId => standard/findStandardList 的id //根据 inspectStandardId => standard/findStandardList 的id
// inspectStandardNo => standard/findStandardList 的standardNo // inspectStandardNo => standard/findStandardList 的standardNo
//operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除 //operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除
......
...@@ -331,6 +331,9 @@ export default { ...@@ -331,6 +331,9 @@ export default {
.catch(error => { .catch(error => {
console.log('testReviewer方法出错', error) console.log('testReviewer方法出错', error)
}) })
this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name
}, },
methods: { methods: {
//下拉框 选择检验类型 //下拉框 选择检验类型
...@@ -359,9 +362,9 @@ export default { ...@@ -359,9 +362,9 @@ export default {
}, },
// 选择标准要求弹窗确认 // 选择标准要求弹窗确认
submitRequirement() { submitRequirement() {
this.newResData.standardNo = this.pageIndexSec.standardNo // this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id // this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name // this.newResData.name = this.pageIndexSec.name
//根据 inspectStandardId => standard/findStandardList 的id //根据 inspectStandardId => standard/findStandardList 的id
// inspectStandardNo => standard/findStandardList 的standardNo // inspectStandardNo => standard/findStandardList 的standardNo
//operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除 //operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除
......
...@@ -431,6 +431,9 @@ export default { ...@@ -431,6 +431,9 @@ export default {
.catch(error => { .catch(error => {
console.log('testReviewer方法出错', error) console.log('testReviewer方法出错', error)
}) })
this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name
}, },
methods: { methods: {
//下拉框 选择检验类型 //下拉框 选择检验类型
...@@ -459,9 +462,9 @@ export default { ...@@ -459,9 +462,9 @@ export default {
}, },
// 选择标准要求弹窗确认 // 选择标准要求弹窗确认
submitRequirement() { submitRequirement() {
this.newResData.standardNo = this.pageIndexSec.standardNo // this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id // this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name // this.newResData.name = this.pageIndexSec.name
//根据 inspectStandardId => standard/findStandardList 的id //根据 inspectStandardId => standard/findStandardList 的id
// inspectStandardNo => standard/findStandardList 的standardNo // inspectStandardNo => standard/findStandardList 的standardNo
//operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除 //operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除
...@@ -555,6 +558,7 @@ export default { ...@@ -555,6 +558,7 @@ export default {
.then(response => { .then(response => {
this.receivedScene = response this.receivedScene = response
this.newResDataAdd.newText = this.receivedScene.scene this.newResDataAdd.newText = this.receivedScene.scene
this.newResDataAdd.reviewSceneId = this.receivedScene.reviewSceneId
this.dialogVisibleScene = true this.dialogVisibleScene = true
}) })
.catch(error => { .catch(error => {
...@@ -575,6 +579,8 @@ export default { ...@@ -575,6 +579,8 @@ export default {
this.newResDataAdd.newText = this.newReviewSceneText this.newResDataAdd.newText = this.newReviewSceneText
this.newResDataAdd.remark = this.newReviewSceneRemark this.newResDataAdd.remark = this.newReviewSceneRemark
this.newResDataAdd.reviewSceneId = this.selectedSceneSave.id
console.log(this.newResDataAdd, '提交之前') console.log(this.newResDataAdd, '提交之前')
testInitatereviewAdd(this.newResDataAdd) testInitatereviewAdd(this.newResDataAdd)
.then(response => { .then(response => {
......
...@@ -349,6 +349,9 @@ ...@@ -349,6 +349,9 @@
.catch(error => { .catch(error => {
console.log('testReviewer方法出错', error) console.log('testReviewer方法出错', error)
}) })
this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name
}, },
methods: { methods: {
//下拉框 选择检验类型 //下拉框 选择检验类型
...@@ -377,9 +380,9 @@ ...@@ -377,9 +380,9 @@
}, },
// 选择标准要求弹窗确认 // 选择标准要求弹窗确认
submitRequirement() { submitRequirement() {
this.newResData.standardNo = this.pageIndexSec.standardNo // this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id // this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name // this.newResData.name = this.pageIndexSec.name
//根据 inspectStandardId => standard/findStandardList 的id //根据 inspectStandardId => standard/findStandardList 的id
// inspectStandardNo => standard/findStandardList 的standardNo // inspectStandardNo => standard/findStandardList 的standardNo
//operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除 //operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除
......
...@@ -318,6 +318,9 @@ export default { ...@@ -318,6 +318,9 @@ export default {
.catch(error => { .catch(error => {
console.log('testReviewer方法出错', error) console.log('testReviewer方法出错', error)
}) })
this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name
}, },
methods: { methods: {
// 表单提交验证 // 表单提交验证
...@@ -353,9 +356,9 @@ export default { ...@@ -353,9 +356,9 @@ export default {
}, },
// 选择标准要求弹窗确认 // 选择标准要求弹窗确认
submitRequirement() { submitRequirement() {
this.newResData.standardNo = this.pageIndexSec.standardNo // this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id // this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name // this.newResData.name = this.pageIndexSec.name
//根据 inspectStandardId => standard/findStandardList 的id //根据 inspectStandardId => standard/findStandardList 的id
// inspectStandardNo => standard/findStandardList 的standardNo // inspectStandardNo => standard/findStandardList 的standardNo
//operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除 //operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除
......
...@@ -396,6 +396,9 @@ export default { ...@@ -396,6 +396,9 @@ export default {
.catch(error => { .catch(error => {
console.log('testReviewer方法出错', error) console.log('testReviewer方法出错', error)
}) })
this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name
}, },
methods: { methods: {
//下拉框 选择检验类型 //下拉框 选择检验类型
...@@ -424,9 +427,9 @@ export default { ...@@ -424,9 +427,9 @@ export default {
}, },
// 选择标准要求弹窗确认 // 选择标准要求弹窗确认
submitRequirement() { submitRequirement() {
this.newResData.standardNo = this.pageIndexSec.standardNo // this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id // this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name // this.newResData.name = this.pageIndexSec.name
//根据 inspectStandardId => standard/findStandardList 的id //根据 inspectStandardId => standard/findStandardList 的id
// inspectStandardNo => standard/findStandardList 的standardNo // inspectStandardNo => standard/findStandardList 的standardNo
//operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除 //operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除
......
...@@ -308,6 +308,9 @@ export default { ...@@ -308,6 +308,9 @@ export default {
console.log('testReviewer方法出错', error) console.log('testReviewer方法出错', error)
}) })
this.newResData.type = 'car' this.newResData.type = 'car'
this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name
}, },
methods: { methods: {
//下拉框 选择检验类型 //下拉框 选择检验类型
...@@ -336,9 +339,9 @@ export default { ...@@ -336,9 +339,9 @@ export default {
}, },
// 选择标准要求弹窗确认 // 选择标准要求弹窗确认
submitRequirement() { submitRequirement() {
this.newResData.standardNo = this.pageIndexSec.standardNo // this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id // this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name // this.newResData.name = this.pageIndexSec.name
//根据 inspectStandardId => standard/findStandardList 的id //根据 inspectStandardId => standard/findStandardList 的id
// inspectStandardNo => standard/findStandardList 的standardNo // inspectStandardNo => standard/findStandardList 的standardNo
//operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除 //operationSort => 这个在点击下一步的界面 通过选择新增场景时就已经设置好了 为新增 ADD_SENCE 或删除
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment