[update] 联调年度制修订计划
This commit is contained in:
+11
-3
@@ -278,7 +278,11 @@ export default {
|
||||
* 需要能判断是否是被驳回,产生的待办点击进入的,是的话需要显示带出被驳回的法规的联络人,
|
||||
* 并且去掉批量设置联络人按钮,如需修改联络人,删除该标准重新走标准化发起流程 ??
|
||||
*/
|
||||
// this.isRejectedTodo = false
|
||||
if (this.$route.query.taskId) {
|
||||
this.isRejectedTodo = true
|
||||
} else {
|
||||
this.isRejectedTodo = false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 拿到外面传进来的数据初始化,因为套了几层就不在外层初始化数据了
|
||||
@@ -291,7 +295,9 @@ export default {
|
||||
getData () {
|
||||
// 把数据抛出
|
||||
const data = {}
|
||||
data.dataSource = this.dataSource
|
||||
data.dataSource = this.dataSource.map(item => {
|
||||
return { ...item, enStandardSystem: item.enStandardSystem ? item.enStandardSystem.join(',') : ''}
|
||||
})
|
||||
return data
|
||||
},
|
||||
// 外层获取数据要过校验,返回false表示没有通过校验
|
||||
@@ -299,7 +305,9 @@ export default {
|
||||
// 校验表格是否每行都有数据,每行的联络人是否都有
|
||||
if (this.dataSource && this.dataSource.length > 0) {
|
||||
const data = {}
|
||||
data.dataSource = this.dataSource
|
||||
data.dataSource = this.dataSource.map(item => {
|
||||
return { ...item, enStandardSystem: item.enStandardSystem ? item.enStandardSystem.join(',') : ''}
|
||||
})
|
||||
let hasErr = false
|
||||
for (const item of this.dataSource) {
|
||||
if (!item.contactUser) {
|
||||
|
||||
Reference in New Issue
Block a user