Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH

This commit is contained in:
wangzhijiang
2023-04-12 18:36:26 +08:00
2 changed files with 21 additions and 4 deletions
@@ -29,6 +29,8 @@
</template>
<script>
import { getAction, postAction, downloadFile, deleteAction } from '@/api/manage'
export default {
name: 'addConfiguration',
data() {
@@ -65,7 +67,22 @@
handleOk() {
this.$refs.ruleForm.validate(valid => {
if (valid) {
let query = {
ids: this.ids.join(','),
configItem: this.formInline.configItem
}
this.confirmLoading = true
postAction('/project/projectCertificationInventoryEO/addConfigByIds', query).then((res) => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.confirmLoading = false
this.visible = false
this.$emit('addConfigurationForm')
} else {
this.$message.warning(this.$t('operationFailed'))
this.confirmLoading = false
}
})
}
})
},
@@ -11,9 +11,9 @@
style="height: 100%;overflow: auto;margin-bottom: 436px;">
<JLoading :loading="loading">{{textLoading}}</JLoading>
<a-button style="float: right" @click="referenceDeliverablesClick"
v-if="this.queryData.isDisplay && (queryData.TaskKey == 'zrrtjjfw' || queryData.TaskKey == 'dezrrtjjfw')"
type="primary">{{$t('referenceDeliverables')}}</a-button>
<!-- <a-button style="float: right" @click="referenceDeliverablesClick"-->
<!-- v-if="this.queryData.isDisplay && (queryData.TaskKey == 'zrrtjjfw' || queryData.TaskKey == 'dezrrtjjfw')"-->
<!-- type="primary">{{$t('referenceDeliverables')}}</a-button>-->
<projectInformation
v-if="isDisplay"
:title="$t('basicInformation')"