-
-
{{$t('remarks')}}
+
+
+
+
+
+
+ {{$t('remarks')}}
+
+
+
+
-
-
-
-
-
-
-
-
-
- {{ $t('cancel') }}
-
-
- {{ $t('determine') }}
-
-
-
+
+
+
+
+
+ {{ $t('cancel') }}
+
+
+ {{ $t('determine') }}
+
+
+
@@ -449,6 +472,11 @@
rules: {},
tablerules: {
standNumberOrClause: [
+ {
+ required: true,
+ message: this.$t('Statutenumberclause') + this.$t('cannotEmpty'),
+ trigger: 'blur'
+ },
{
// required: true,
max: 200,
@@ -456,6 +484,20 @@
trigger: 'blur'
}
],
+ implementationType:[
+ {
+ required: true,
+ message: this.$t('Typeofimplementation') + this.$t('cannotEmpty'),
+ trigger: 'change'
+ },
+ ],
+ implementationDate:[
+ {
+ required: true,
+ message: this.$t('implementationDateTwo') + this.$t('cannotEmpty'),
+ trigger: 'change'
+ },
+ ],
remarks: [
{
// required: true,
@@ -495,25 +537,27 @@
],
columnsGrading: [
{
- title: this.$t('Statutenumberclause'),
dataIndex: 'standNumberOrClause',
align: 'left',
ellipsis: true,
- width: 160
+ width: 160,
+ scopedSlots: { title: 'standNumberOrClause' }
},
{
- title: this.$t('Typeofimplementation'),
+ // title: this.$t('Typeofimplementation'),
dataIndex: 'implementationTypeText',
align: 'left',
ellipsis: true,
- width: 150
+ width: 150,
+ scopedSlots: { title: 'Typeofimplementation' }
},
{
- title: this.$t('ImplementationDate'),
+ // title: this.$t('implementationDateTwo'),
dataIndex: 'implementationDate',
align: 'left',
ellipsis: true,
- width: 150
+ width: 150,
+ scopedSlots: { title: 'implementationDateTwo' }
},
{
title: this.$t('remarks'),
@@ -530,45 +574,44 @@
scopedSlots: { customRender: 'Gradoperation' }
}
],
- dataGrad: [],
+ dataGrad: []
}
},
mounted() {
},
methods: {
- tablehandleSubmit(){
+ tablehandleSubmit() {
this.$refs.tableruleFormedit.validate((valid) => {
- if(valid){
+ if (valid) {
this.tablevisibleGrad = false
- console.log(this.tabledataGrad)
this.dataGradto[this.tabledataIndex] = this.tabledataGrad
- this.dataGradto= [... this.dataGradto]
+ this.dataGradto = [...this.dataGradto]
}
})
},
- deleteLib(val,index) {
+ deleteLib(val, index) {
let _this = this
this.$confirm({
content: _this.$t('ConfirmDelete'),
onOk() {
- _this.dataGradto.splice(index,1)
+ _this.dataGradto.splice(index, 1)
_this.dataGradto = [..._this.dataGradto]
}
})
},
- newlyAdded(){
+ newlyAdded() {
this.tabledataGrad = {}
this.visibleGrad = true
},
- handeredit(result,index){
+ handeredit(result, index) {
this.tablevisibleGrad = true
this.tabledataIndex = index
this.tabledataGrad = JSON.parse(JSON.stringify(result))
},
- handleSubmit(){
+ handleSubmit() {
this.$refs.tableruleForm.validate(valid => {
- if (valid){
+ if (valid) {
this.dataGradto.push(this.tabledataGrad)
this.visibleGrad = false
}
@@ -638,7 +681,7 @@
this.tabledataGrad.implementationDate = this.tabledataGrad.implementationDate ? moment(this.tabledataGrad.implementationDate).format('YYYY-MM-DD') : ''
console.log(this.tabledataGrad.implementationDate)
},
- implementationTypeChange(val){
+ implementationTypeChange(val) {
this.tabledataGrad.implementationTypeText = val
},
onChange(item) {
@@ -759,7 +802,7 @@
}
})
},
- postTable(){
+ postTable() {
let params = this.dataGradto
postAction(this.url.getDocumentInfo, params).then((res) => {
if (res.success) {
diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue
index fa7898358..b6c149e5a 100644
--- a/jero-web/src/views/documentManage/library/docDetail/index.vue
+++ b/jero-web/src/views/documentManage/library/docDetail/index.vue
@@ -376,7 +376,7 @@
width: 150
},
{
- title: this.$t('ImplementationDate'),
+ title: this.$t('implementationDateTwo'),
dataIndex: 'implementationDate',
align: 'left',
ellipsis: true,
diff --git a/jero-web/src/views/regulatoryEarlyWarning/index.vue b/jero-web/src/views/regulatoryEarlyWarning/index.vue
index d4952cef3..a52d07cb6 100644
--- a/jero-web/src/views/regulatoryEarlyWarning/index.vue
+++ b/jero-web/src/views/regulatoryEarlyWarning/index.vue
@@ -42,7 +42,7 @@
{{text}}
-
+
{{text}}
@@ -53,7 +53,7 @@
{{text}}
-
+
{{text}}
@@ -64,7 +64,7 @@
{{text}}
-
+
{{text}}