{{$t('engineeringInterfacePerson')}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -589,6 +590,25 @@
+
+
+
+
+
+
+
+
@@ -606,12 +626,14 @@
import Standardselection from '@/components/Standardselection/index'
import PersonnelSelection from '@/components/PersonnelSelection/index'
import { getAction, postAction, putAction } from '@/api/manage'
+ import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
import uploadFile from '@/components/uploadFile/file'
import moment from 'moment'
import { mapGetters } from 'vuex'
export default {
name: 'listEditModel',
+ mixins: [ResizeHeader, ResizeColumnProvide],
components: {
Standardselection,
PersonnelSelection,
@@ -621,6 +643,53 @@
data() {
return {
visible: false,
+ dataList: [],
+ selectedRowKeys: [],
+ loading: false,
+ columns: [
+ {
+ title: this.$t('entryName'),
+ dataIndex: 'projectName',
+ align: 'left',
+ ellipsis: true,
+ width: 120
+ },
+ {
+ title: this.$t('design') + this.$t('typeOfDeliverables'),
+ dataIndex: 'designDeliverableTypeName',
+ align: 'left',
+ ellipsis: true,
+ width: 180
+ },
+ {
+ title: this.$t('design') + this.$t('deliverableTemplate'),
+ align: 'left',
+ width: 180,
+ ellipsis: true,
+ dataIndex: 'designDeliverableTemplateName'
+ },
+ {
+ title: this.$t('verify') + this.$t('typeOfDeliverables'),
+ dataIndex: 'verifyDeliverableTypeName',
+ align: 'left',
+ ellipsis: true,
+ width: 200
+ },
+ {
+ title: this.$t('verify') + this.$t('deliverableTemplate'),
+ dataIndex: 'verifyDeliverableTemplateName',
+ align: 'left',
+ ellipsis: true,
+ width: 200
+ }
+ // {
+ // title: this.$t('operation'),
+ // align: 'left',
+ // fixed: 'right',
+ // width: 130,
+ // scopedSlots: { customRender: 'operation' }
+ // }
+ ],
confirmLoading: false,
rejectCauseListOne: [],
firstLevelDutyTerritoryList: [],
@@ -761,6 +830,9 @@
this.userInfoQuery = this.userInfo()
},
methods: {
+ onSelectChange(value) {
+ this.selectedRowKeys = value
+ },
getFirstLevelDutyTerritory() {
getAction('/sys/dictItem/getFirstLevelDutyTerritory', {}).then((res) => {
if (res.success) {
@@ -928,6 +1000,7 @@
this.verifyDutyList = []
this.prehomoDutyList = []
this.getDeliverableTree()
+ this.getQueryQuoteList(item)
item.designDeliverableType = item.designDeliverableType ? item.designDeliverableType.split(',') : []
item.prehomoDeliverableType = item.prehomoDeliverableType ? item.prehomoDeliverableType.split(',') : []
item.verifyDeliverableType = item.verifyDeliverableType ? item.verifyDeliverableType.split(',') : []
@@ -940,15 +1013,24 @@
// if (item.dutyTerritory && item.dutyTerritory.length > 0) {
// this.queryPersonByProject(item)
// } else {
- this.formInline = item
- this.formInline = { ...this.formInline }
+ this.formInline = item
+ this.formInline = { ...this.formInline }
// }
- console.log(this.formInline)
- console.log(this.formInline.dutyTerritory)
this.$nextTick(() => {
this.$refs.ruleForm.clearValidate()
})
},
+ getQueryQuoteList(item) {
+ console.log(item)
+ getAction('/platform/projectLibraryBase/queryQuoteList', { platformLawsInventoryId: item.id }).then((res) => {
+ if (res.success) {
+ this.dataList = res.result || []
+ console.log(this.dataList)
+ } else {
+ this.dataList = []
+ }
+ })
+ },
clickButtonToUpload(item) {
let isTrue = false
if (item == 'designDeliverableTemplate') {