@@ -54,7 +54,7 @@
:loading="loading"
rowKey="uuid"
:pagination="false"
- :scroll="{x: true}"
+ :scroll="{x: '100%'}"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:data-source="dataSource"
:columns="columns"
@@ -94,38 +94,52 @@
title: this.$t('standard'),
align: 'center',
dataIndex: 'serialNumber',
- scopedSlots: { customRender: 'standard' }
+ scopedSlots: { customRender: 'standard' },
+ ellipsis: true,
+ width: 180
},
{
title: this.$t('title'),
align: 'center',
dataIndex: 'title',
+ ellipsis: true,
+ width: 180,
scopedSlots: { customRender: 'standard' }
},
{
title: this.$t('ProcessType'),
align: 'center',
- dataIndex: 'flowType'
+ dataIndex: 'flowType',
+ ellipsis: true,
+ width: 180
},
{
title: this.$t('areaOfResponsibility'),
align: 'center',
- dataIndex: 'dutyTerritory_dictText'
+ dataIndex: 'dutyTerritory_dictText',
+ ellipsis: true,
+ width: 180
},
{
title: this.$t('problemType'),
align: 'center',
- dataIndex: 'problemType'
+ dataIndex: 'problemType',
+ ellipsis: true,
+ width: 180
},
{
title: this.$t('Sponsor'),
align: 'center',
- dataIndex: 'initiator'
+ dataIndex: 'initiator',
+ ellipsis: true,
+ width: 140
},
{
title: this.$t('personLiable'),
align: 'center',
- dataIndex: 'duty'
+ dataIndex: 'duty',
+ ellipsis: true,
+ width: 140
}
],
total: 0,
@@ -213,7 +227,7 @@
serialNumber: val.serialNumber,
actiProcInstId: val.prcId,
primaryKeyId: val.projectTaskInventoryDetailId,
- TaskKey: val.taskDefinitionKey,
+ TaskKey: val.taskDefinitionKey,
isDisplay: val.status == 'NotDone' ? true : false
}
switch (num) {
diff --git a/jero-web/src/views/projectManagement/dialog/ParameterTemplateAdd.vue b/jero-web/src/views/projectManagement/dialog/ParameterTemplateAdd.vue
index 5a3426ace..55014ce84 100644
--- a/jero-web/src/views/projectManagement/dialog/ParameterTemplateAdd.vue
+++ b/jero-web/src/views/projectManagement/dialog/ParameterTemplateAdd.vue
@@ -57,12 +57,6 @@
:scroll='{x: 600}'
:rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'
@change='handleTableChange'>
-
{{ text }}
-
- {{ $t('edit') }}
- {{ $t('delete') }}
-
{
+ if (res.success) {
+ this.formData.templatetitle = res.result.title
+ this.selectedRowKeys = res.result.paramsTemplateId.split(',')
+ // this.rowId = res.result.id
+ // this.version = res.result.paramsTemplatePublishVersion
+ } else {
+ }
+ })
+ },
//新增
handleSubmit() {
if (this.selectedRowKeys.length == 0) {
@@ -236,6 +249,7 @@ export default {
projectId: this.projectId
}
if (this.rowId) {
+ console.log('编辑')
//编辑
postAction(`params/manifest/edit`, postDate).then(res => {
if (res.success) {
@@ -252,6 +266,7 @@ export default {
this.newVisible = false
})
} else {
+ console.log('新增')
//新增
postAction(`params/manifest/add`, postDate).then(res => {
if (res.success) {
@@ -310,25 +325,11 @@ export default {
}
})
},
- //编辑按钮
- editArea(val) {
- this.title = this.$t('edit')
- this.newVisible = true
- let params = {
- id: val
- }
- getAction(`tag/onlCgformArea/queryById`, params).then((res) => {
- if (res.success) {
- this.form = { ...res.result }
- // this.$emit('updateOk',res.result)
-
- }
- })
- }
+ // 编辑
},
watch: {
templateTitle(val) {
- this.templatetitle = val
+ this.formData.templatetitle = val
},
selectedRowKeyS(val) {
this.selectedRowKeys = val
diff --git a/jero-web/src/views/projectManagement/projectNonConformance/index.vue b/jero-web/src/views/projectManagement/projectNonConformance/index.vue
index a16435549..4195c6126 100644
--- a/jero-web/src/views/projectManagement/projectNonConformance/index.vue
+++ b/jero-web/src/views/projectManagement/projectNonConformance/index.vue
@@ -154,13 +154,13 @@
rowKey="uuid"
:loading="loading"
:pagination="false"
- :scroll="{x: true}"
+ :scroll="{x: '100%'}"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:data-source="dataSource"
:columns="columns"
>
- {{text}}
+ {{text}}
@@ -201,48 +201,56 @@
align: 'center',
dataIndex: 'serialNumber',
ellipsis: true,
- scopedSlots: { customRender: 'standard' }
+ width:180,
+ scopedSlots: { customRender: 'standard' },
},
{
title: this.$t('title'),
align: 'center',
dataIndex: 'title',
ellipsis: true,
+ width:180,
scopedSlots: { customRender: 'standard' }
},
{
title: this.$t('ProcessType'),
align: 'center',
dataIndex: 'flowType',
+ width:180,
ellipsis: true
},
{
title: this.$t('areaOfResponsibility'),
align: 'center',
dataIndex: 'dutyTerritory_dictText',
+ width:180,
ellipsis: true
},
{
title: this.$t('RelatedItems'),
align: 'center',
dataIndex: 'projectName',
+ width:180,
ellipsis: true
},
{
title: this.$t('problemType'),
align: 'center',
dataIndex: 'problemType',
- ellipsis: true
+ width:140,
+ ellipsis: true,
},
{
title: this.$t('Sponsor'),
align: 'center',
- dataIndex: 'initiator'
+ dataIndex: 'initiator',
+ width:140,
},
{
title: this.$t('personLiable'),
align: 'center',
- dataIndex: 'duty'
+ dataIndex: 'duty',
+ width:140,
}
],
total: 0,