修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-02 16:46:59 +08:00
parent 9d20350ef5
commit ddd925097c
@@ -59,7 +59,8 @@
</span>
</a-select-option>
</a-select>
<span style='width: 90px;line-height: 29px;float: right'>&nbsp;&nbsp;&nbsp;&nbsp;{{ $t('configure') }}</span>
<span
style='width: 90px;line-height: 29px;float: right'>&nbsp;&nbsp;&nbsp;&nbsp;{{ $t('configure') }}</span>
</a-form-model-item>
</div>
<!-- <a-form-model-item style='line-height: 31.9999px;' prop='targetConfigIds' class='aform'>-->
@@ -92,6 +93,7 @@ import { putAction, postAction, getAction, deleteAction } from '@/api/manage'
import axios from 'axios'
import Vue from 'vue'
import { ACCESS_TOKEN } from '@/store/mutation-types'
export default {
name: 'diolagArea',
components: {},
@@ -113,11 +115,11 @@ export default {
formInline: {},
rules: {
sourceConfigId: [
{ required: true, message: this.$t('pleaseSelect')+this.$t('controlVerification'), trigger: 'change' },
{ required: true, message: this.$t('pleaseSelect') + this.$t('controlVerification'), trigger: 'change' }
],
targetConfigIds: [
{ required: true, message: this.$t('pleaseSelect')+this.$t('controlVerification'), trigger: 'change' },
],
{ required: true, message: this.$t('pleaseSelect') + this.$t('controlVerification'), trigger: 'change' }
]
},
areaTable: [],
flag: false, //表单提交标识
@@ -125,7 +127,7 @@ export default {
confirmLoading: false,
selectedRowKeys: [],
fromDate: [],
fromDateTo: [],
fromDateTo: []
}
},
props: {
@@ -173,8 +175,8 @@ export default {
}
})
.catch((error) => {
console.log(error);
});
console.log(error)
})
},
loadDataTo() {
let _this = this
@@ -204,8 +206,8 @@ export default {
}
})
.catch((error) => {
console.log(error);
});
console.log(error)
})
},
searchQuery() {
this.loadData()
@@ -227,10 +229,11 @@ export default {
handleSubmit() {
this.$refs.ruleForm.validate(valid => {
if (valid) {
if(this.formInline.targetConfigIds instanceof Array){
this.formInline.targetConfigIds = this.formInline.targetConfigIds.join(',')
let formInline = JSON.parse(JSON.stringify(this.formInline))
if (formInline.targetConfigIds instanceof Array) {
formInline.targetConfigIds = formInline.targetConfigIds.join(',')
}
let param = {ids: this.selectedRowKeysArray, ...this.formInline }
let param = { ids: this.selectedRowKeysArray, ...formInline }
this.confirmLoading = true
postAction('params/collectManifest/referParams', param).then((res) => {
if (res.success) {
@@ -239,11 +242,12 @@ export default {
this.$emit('GetgetTableList')
this.confirmLoading = false
} else {
this.$message.warning(this.$t('operationFailed'))
this.$message.warning(res.message)
this.confirmLoading = false
}
})
}})
}
})
// axios({
// url: '/jero-boot/params/collectManifest/referParams',
// method: 'post',
@@ -279,9 +283,11 @@ export default {
<style lang='less' scoped>
@import '~@assets/less/common.less';
/deep/ .ant-form-explain {
padding-left: 62px;
}
.diolag-area {
.table-area {
margin: 20px 0;
@@ -295,14 +301,17 @@ export default {
color: red;
}
}
.drawer-bootom-button {
display: flex;
justify-content: center;
}
.aform {
display: flex;
justify-content: center;
}
.itemOption {
display: inline-block;
width: 100%;
@@ -324,15 +333,18 @@ export default {
}
}
}
.page {
display: flex;
justify-content: flex-end;
margin-bottom: 20px;
}
.Requireditem {
color: red;
line-height: 24px;
}
.box-title-text {
line-height: 1.4;
display: flex;