-
-
{{$t('areaOfResponsibility')}}
+
+ {{$t('Relevantlawsregulations')}}
-
+
+
+
+
+
+
+ {{$t('RelatedItems')}}
+
+
+
+
+ {{ item.projectName}}
+
+
+
-
-
{{$t('ProcessType')}}
+
+ {{$t('problemType')}}
+
+
+
+
+
+
+
+ {{$t('areaOfResponsibility')}}
+
+
+
+
+
+
+
+ {{$t('Problemstate')}}
-
-
- {{ $t('designComplianceReview') }}
-
-
-
-
- {{ $t('preHomeConfirmation') }}
-
-
-
-
- {{ $t('verificationComplianceReview') }}
-
-
-
-
-
-
-
-
- {{$t('RelatedItems')}}
-
-
-
+
-
- {{ item.projectName}}
-
+ :value="item">
+
+ {{ item }}
+
-
-
-
- {{$t('problemType')}}
-
-
-
-
- {{ $t('nonConformity') }}
-
-
-
-
- {{ $t('Tracked') }}
-
-
-
-
-
-
-
-
- {{$t('Sponsor')}}
-
-
-
-
-
-
-
- {{$t('personLiable')}}
-
-
-
-
@@ -142,6 +107,10 @@
+
+
@@ -189,12 +183,16 @@
import PersonnelSelection from '@/components/PersonnelSelection/index'
import designCompliance from '../../toDoCenter/projectRegulationTasks/components/designCompliance'
import store from '@/store/'
+ import addModel from './moudles/addModel'
+ import detilModel from './moudles/detilModel'
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
export default {
name: 'projectNonConformance',
components: {
PersonnelSelection,
+ addModel,
+ detilModel,
designCompliance
},
mixins:[ResizeHeader, ResizeColumnProvide],
@@ -205,10 +203,16 @@
dataSource: [],
selectedRowKeys: [],
projectNameList: [],
+ ProblemstateList:[this.$t('red'),this.$t('yellow'),this.$t('green'),],
+ CertificationColor: {
+ 'red': 'nonConformityColor',
+ 'green': 'accordColor',
+ 'yellow': 'TrackedColor',
+ },
toggleSearchStatus: false,
columns: [
{
- title: this.$t('standard'),
+ title: this.$t('title'),
align: 'left',
dataIndex: 'serialNumber',
width: 170,
@@ -216,33 +220,18 @@
scopedSlots: { customRender: 'standard' }
},
{
- title: this.$t('title'),
+ title: this.$t('Relevantlawsregulations'),
align: 'left',
dataIndex: 'title',
width: 170,
- scopedSlots: { customRender: 'standard' }
- },
- {
- title: this.$t('ProcessType'),
- align: 'left',
- dataIndex: 'flowType',
- width: 150,
- sorter:true,
- ellipsis: true
- },
- {
- title: this.$t('areaOfResponsibility'),
- align: 'left',
- dataIndex: 'dutyTerritory',
- width: 100,
sorter:true,
ellipsis: true
},
{
title: this.$t('RelatedItems'),
align: 'left',
- dataIndex: 'projectName',
- width: 180,
+ dataIndex: 'RelatedItems',
+ width: 170,
sorter:true,
ellipsis: true
},
@@ -250,23 +239,55 @@
title: this.$t('problemType'),
align: 'left',
dataIndex: 'problemType',
+ width: 170,
+ sorter:true,
+ ellipsis: true,
+ scopedSlots: { customRender: 'CertificationProgress' }
+ },
+ {
+ title: this.$t('statisticalNodes'),
+ align: 'left',
+ dataIndex: 'dutyTerritory',
+ width: 100,
+ sorter:true,
+ ellipsis: true
+ },
+ {
+ title: this.$t('creator'),
+ align: 'left',
+ dataIndex: 'creator',
+ width: 100,
+ sorter:true,
+ ellipsis: true
+ },
+ {
+ title: this.$t('Problemstate'),
+ align: 'left',
+ dataIndex: 'Problemstate',
width: 120,
sorter:true,
ellipsis: true
},
{
- title: this.$t('Sponsor'),
+ title: this.$t('createTime'),
align: 'left',
- dataIndex: 'initiator',
+ dataIndex: 'createTime',
sorter:true,
- width: 100
+ width: 180
},
{
- title: this.$t('personLiable'),
+ title: this.$t('updateTime'),
align: 'left',
- dataIndex: 'duty',
+ dataIndex: 'updateTime',
sorter:true,
- width: 100
+ width: 180
+ },
+ {
+ title: this.$t('operation'),
+ align: 'left',
+ fixed: 'right',
+ width: localStorage.getItem('language') == 'zh-cn' ? 160 : 180,
+ scopedSlots: { customRender: 'operation' }
}
],
total: 0,
@@ -274,6 +295,7 @@
pageNo: 1,
orderBy: '1',
orderByField: '',
+ long: '',
isPersonnelSelection:true,
url: {
page: '/project/ncrTrackController/queryPage',
@@ -288,6 +310,7 @@
}
},
mounted() {
+ this.long = localStorage.getItem('language') || 'zh-cn'
this.getList()
this.getNameList()
},
@@ -320,6 +343,9 @@
this.pageNo = 1
this.getList()
},
+ addModelForm(){
+ this.getList()
+ },
onSelectChange(value) {
this.content = []
this.selectedRowKeys = value
@@ -384,6 +410,31 @@
}
})
},
+ handleAdd(){
+ this.$refs.addModelRef.add()
+ },
+ edit(record){
+ this.$refs.addModelRef.edit(JSON.parse(JSON.stringify(record)))
+ },
+ detil(record){
+ this.designFlowStatusClick(record)
+ },
+ deleteLib(record){
+ let _this = this
+ this.$confirm({
+ content: _this.$t('ConfirmDelete'),
+ onOk() {
+ deleteAction(_this.url.deleteBatch, { id: record.id }).then((res) => {
+ if (res.success) {
+ _this.$message.success(_this.$t('OperationSuccessful'))
+ _this.getList()
+ } else {
+ _this.$message.warning(res.message)
+ }
+ })
+ }
+ })
+ },
handleExport() {
let query = {
...this.queryParam,
diff --git a/jero-web/src/views/projectManagement/projectNonConformance/moudles/addModel.vue b/jero-web/src/views/projectManagement/projectNonConformance/moudles/addModel.vue
new file mode 100644
index 000000000..de8ad4ea5
--- /dev/null
+++ b/jero-web/src/views/projectManagement/projectNonConformance/moudles/addModel.vue
@@ -0,0 +1,757 @@
+
+
+
+
+
+
+
+
+
+ *
+ {{$t('title')}}
+
+
+
+
+
+
+
+
+
+
+
+ *
+ {{$t('problemType')}}
+
+
+
+
+
+
+
+
+
+
+ {{'PS-issue'}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('creator')}}
+
+
+
+
+
+
+
+
+
+
+ {{$t('createTime')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('Relevantlawsregulations')}}
+
+
+
+
+
+
+
+
+
+
+ {{$t('RelatedItems')}}
+
+
+
+
+
+ {{ item.projectName}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('statisticalNodes')}}
+
+
+
+
+
+ {{ item.key }}
+
+
+
+
+
+
+
+
+
+
+ {{$t('Problemstate')}}
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('descriptions')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('documents')}}
+
+
+
+
+ {{ (formInline.accessory_id === 'null' || formInline.accessory_id === '' ||
+ formInline.accessory_id == null) ? $t('Fileupload') : $t('viewUploadedFiles')
+ }}
+
+
+
+
+
+
+
+
+
+
+ {{$t('progresstracking')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('conculsion')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('examineapproveevidence')}}
+
+
+
+
+ {{ (formInline.examineapproveevidence === 'null' || formInline.examineapproveevidence === '' ||
+ formInline.examineapproveevidence == null) ? $t('Fileupload') : $t('viewUploadedFiles')
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ *
+
+ {{$t('progresstracking')}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jero-web/src/views/projectManagement/projectNonConformance/moudles/detilModel.vue b/jero-web/src/views/projectManagement/projectNonConformance/moudles/detilModel.vue
new file mode 100644
index 000000000..7d06b0f9d
--- /dev/null
+++ b/jero-web/src/views/projectManagement/projectNonConformance/moudles/detilModel.vue
@@ -0,0 +1,751 @@
+
+
+
+
+
+
+
+
+
+ *
+ {{$t('title')}}
+
+
+
+
+
+
+
+
+
+
+
+ *
+ {{$t('problemType')}}
+
+
+
+
+
+
+
+
+
+
+ {{'PS-issue'}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('creator')}}
+
+
+
+
+
+
+
+
+
+
+ {{$t('createTime')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('Relevantlawsregulations')}}
+
+
+
+
+
+
+
+
+
+
+ {{$t('RelatedItems')}}
+
+
+
+
+
+ {{ item.projectName}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('statisticalNodes')}}
+
+
+
+
+
+ {{ item.key }}
+
+
+
+
+
+
+
+
+
+
+ {{$t('Problemstate')}}
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('descriptions')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('documents')}}
+
+
+
+
+ {{ (formInline.accessory_id === 'null' || formInline.accessory_id === '' ||
+ formInline.accessory_id == null) ? $t('Fileupload') : $t('viewUploadedFiles')
+ }}
+
+
+
+
+
+
+
+
+
+
+ {{$t('progresstracking')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('conculsion')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('examineapproveevidence')}}
+
+
+
+
+ {{ (formInline.examineapproveevidence === 'null' || formInline.examineapproveevidence === '' ||
+ formInline.examineapproveevidence == null) ? $t('Fileupload') : $t('viewUploadedFiles')
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ *
+
+ {{$t('progresstracking')}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file