修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-08 10:11:29 +08:00
parent cf2160bdbf
commit 6f827e8098
2 changed files with 7 additions and 1 deletions
@@ -102,6 +102,7 @@
/> />
</div> </div>
<addModel :url="url" ref="addModelRef" @addModelList="addModelList" :certCategoryParamsInfoEOListItem='certCategoryParamsInfoEOList'/> <addModel :url="url" ref="addModelRef" @addModelList="addModelList" :certCategoryParamsInfoEOListItem='certCategoryParamsInfoEOList'/>
<JLoading :loading="textLoading">{{$t('pleaseWaitWhileRunning')}}</JLoading>
</a-card> </a-card>
</template> </template>
@@ -122,6 +123,7 @@ export default {
return { return {
certCategoryParamsInfoEOList: [], certCategoryParamsInfoEOList: [],
orderBy: '1', orderBy: '1',
textLoading:false,
selectedRowKeysArray: '', selectedRowKeysArray: '',
token:Vue.ls.get(ACCESS_TOKEN), token:Vue.ls.get(ACCESS_TOKEN),
loading: false, loading: false,
@@ -235,11 +237,14 @@ export default {
}, },
// 发布版本 // 发布版本
releaseVersion() { releaseVersion() {
this.textLoading = true
getAction('params/paramsInfo/publish', { paramsTemplateId: this.$route.query.id }).then((res) => { getAction('params/paramsInfo/publish', { paramsTemplateId: this.$route.query.id }).then((res) => {
if (res.success) { if (res.success) {
this.$message.success(res.result) this.$message.success(res.result)
this.textLoading = false
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
this.textLoading = false
} }
}) })
}, },
@@ -1124,7 +1124,8 @@
let data = JSON.parse(JSON.stringify(this.dataSource)) let data = JSON.parse(JSON.stringify(this.dataSource))
let selectedRowKeysValue = [] let selectedRowKeysValue = []
data.forEach(res => { data.forEach(res => {
if (res.state == 'Wait Fill' || res.state == '待填写') { if (res.state == 'Wait Fill' || res.state == '待填写' || res.state == '认证工程师退回' ||
res.state == 'Cert Back') {
selectedRowKeysValue.push(res) selectedRowKeysValue.push(res)
} }
}) })