Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
+18
-1
@@ -29,6 +29,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { getAction, postAction, downloadFile, deleteAction } from '@/api/manage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'addConfiguration',
|
name: 'addConfiguration',
|
||||||
data() {
|
data() {
|
||||||
@@ -65,7 +67,22 @@
|
|||||||
handleOk() {
|
handleOk() {
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
if (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
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
+3
-3
@@ -11,9 +11,9 @@
|
|||||||
style="height: 100%;overflow: auto;margin-bottom: 436px;">
|
style="height: 100%;overflow: auto;margin-bottom: 436px;">
|
||||||
|
|
||||||
<JLoading :loading="loading">{{textLoading}}</JLoading>
|
<JLoading :loading="loading">{{textLoading}}</JLoading>
|
||||||
<a-button style="float: right" @click="referenceDeliverablesClick"
|
<!-- <a-button style="float: right" @click="referenceDeliverablesClick"-->
|
||||||
v-if="this.queryData.isDisplay && (queryData.TaskKey == 'zrrtjjfw' || queryData.TaskKey == 'dezrrtjjfw')"
|
<!-- v-if="this.queryData.isDisplay && (queryData.TaskKey == 'zrrtjjfw' || queryData.TaskKey == 'dezrrtjjfw')"-->
|
||||||
type="primary">{{$t('referenceDeliverables')}}</a-button>
|
<!-- type="primary">{{$t('referenceDeliverables')}}</a-button>-->
|
||||||
<projectInformation
|
<projectInformation
|
||||||
v-if="isDisplay"
|
v-if="isDisplay"
|
||||||
:title="$t('basicInformation')"
|
:title="$t('basicInformation')"
|
||||||
|
|||||||
Reference in New Issue
Block a user