修改禅道bug

This commit is contained in:
zyx.net
2022-08-10 09:56:44 +08:00
parent 0640224704
commit 24dc594118
9 changed files with 15 additions and 9 deletions
@@ -86,7 +86,7 @@
size="middle" size="middle"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: '100%',y:'calc(100vh)'}" :scroll="{x: '100%',y:'calc(100vh - 130px)'}"
rowKey="id" rowKey="id"
:data-source="dataSource" :data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -3,7 +3,7 @@
<a-modal <a-modal
:title="title" :title="title"
:maskClosable="false" :maskClosable="false"
:width="800" :width="600"
placement="right" placement="right"
:closable="true" :closable="true"
@cancel="handleCancel" @cancel="handleCancel"
+1 -1
View File
@@ -127,7 +127,7 @@
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
rowKey="id" rowKey="id"
:scroll="{x: 10}" :scroll="{x: 10,y:'calc(100vh - 130px)'}"
:data-source="dataSource" :data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:columns="columns" :columns="columns"
@@ -296,6 +296,7 @@ export default {
this.confirmLoading = true this.confirmLoading = true
downloadFile('report/detail/exportNormal', query.exportName+'.zip', query) downloadFile('report/detail/exportNormal', query.exportName+'.zip', query)
this.confirmLoading = false this.confirmLoading = false
this.visible = false
} }
}) })
}, },
@@ -252,6 +252,7 @@ export default {
this.confirmLoading = true this.confirmLoading = true
downloadFile('report/detail/exportCustom', query.exportName+'.zip', query) downloadFile('report/detail/exportCustom', query.exportName+'.zip', query)
this.confirmLoading = false this.confirmLoading = false
this.visible = false
} }
}) })
}, },
@@ -217,7 +217,7 @@ export default {
this.visible = false this.visible = false
this.$emit('addModelList') this.$emit('addModelList')
} else { } else {
this.$message.warning(this.$t('operationFailed')) this.$message.warning(res.message)
this.confirmLoading = false this.confirmLoading = false
} }
}) })
@@ -736,6 +736,10 @@ export default {
}) })
let querycontentList = JSON.parse(JSON.stringify(this.contentList)) let querycontentList = JSON.parse(JSON.stringify(this.contentList))
query.certCategoryParamsInfoEOList = querycontentList query.certCategoryParamsInfoEOList = querycontentList
if(this.formInline.controlType == 11){
query.certCategoryParamsInfoEOList = []
query.certCategory = ''
}
this.confirmLoading = true this.confirmLoading = true
Action(url, query).then((res) => { Action(url, query).then((res) => {
if (res.success) { if (res.success) {
@@ -373,8 +373,7 @@ export default {
} }
.title-text { .title-text {
width: 20%; width: 110px;
min-width: 110px;
color: #000F16; color: #000F16;
display: inline-block; display: inline-block;
font-weight: 500; font-weight: 500;
@@ -42,9 +42,10 @@
树操作 <a-icon type="up" /> 树操作 <a-icon type="up" />
</a-button> </a-button>
</a-dropdown> </a-dropdown>
<a-popconfirm title="确定放弃编辑?" @confirm="close" okText="确定" cancelText="取消"> <!-- <a-popconfirm title="确定放弃编辑?" @confirm="close" okText="确定" cancelText="取消">-->
<a-button style="margin-right: .8rem">取消</a-button> <!-- <a-button style="margin-right: .8rem">取消</a-button>-->
</a-popconfirm> <!-- </a-popconfirm>-->
<a-button @click="close()" type="primary" :loading="loading" ghost style="margin-right: 0.8rem">取消</a-button>
<a-button @click="handleSubmit(false)" type="primary" :loading="loading" ghost style="margin-right: 0.8rem">仅保存</a-button> <a-button @click="handleSubmit(false)" type="primary" :loading="loading" ghost style="margin-right: 0.8rem">仅保存</a-button>
<a-button @click="handleSubmit(true)" type="primary" :loading="loading">保存并关闭</a-button> <a-button @click="handleSubmit(true)" type="primary" :loading="loading">保存并关闭</a-button>
</div> </div>