diff --git a/jero-web/src/views/parameter/components/addModel.vue b/jero-web/src/views/parameter/components/addModel.vue index 7cbcd2b56..d7bea327f 100644 --- a/jero-web/src/views/parameter/components/addModel.vue +++ b/jero-web/src/views/parameter/components/addModel.vue @@ -10,64 +10,163 @@ style="height: 100%;overflow: auto;padding-bottom: 53px;"> + + +
+
+ {{$t('entryName')}} +
+ + + + + {{ item.projectName}} + + + + +
+
+ +
+
+ {{$t('targetMarket')}} +
+ + + +
+
+
+ + +
+
+ {{$t('projectStatus')}} +
+ + + +
+
+ +
+
+ {{$t('StudioEngineer')}} +
+ + + +
+
+
+ + +
+
+ {{$t('certifiedEngineer')}} +
+ + + +
+
+ +
+
+ {{$t('IPDInformation')}} +
+ + + +
+ +
+
+ + +
+
+ {{$t('ModelPlatform')}} +
+ + + +
+
+ +
+
+ {{$t('DigitalPlatform')}} +
+ + + +
+
+
{{$t('parameterTemplate')}} + :title="$t('dehicleDevelopmentPlan')">{{$t('dehicleDevelopmentPlan')}}
- + + v-model="formInline.vehicleDevelopmentPlan" + :placeholder="$t('PleaseEnter')+$t('dehicleDevelopmentPlan')"/>
- {{$t('status')}} + {{$t('certificationProgram')}}
- - - -
-
-
- - -
-
- {{$t('zoneOfApplication')}} -
- - - -
-
-
- - -
-
- {{$t('contentDescription')}} -
- + + v-model="formInline.attestationPlan" + :placeholder="$t('PleaseEnter')+$t('certificationProgram')"/>
@@ -97,18 +196,23 @@ export default { confirmLoading: false, visible: false, rules: { - paramsTemplateName: [ - { required: true, message: this.$t('pleaseEnter')+ this.$t('parameterTemplate'),trigger: 'change'}, - { max: 50, message: this.$t('cantExeed')+ 50 + this.$t('characters'),trigger: 'change'}, + ipdInfo: [ + { + pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/, + message: this.$t('pleaseEnterTheCorrectWebAddress') + } ], - status: [ - { required: true, message: this.$t('PleaseSelect')+ this.$t('status'),trigger: 'change'}, + vehicleDevelopmentPlan: [ + { + pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/, + message: this.$t('pleaseEnterTheCorrectWebAddress') + } ], - region: [ - { required: true, message: this.$t('PleaseSelect')+ this.$t('zoneOfApplication'),trigger: 'change'}, - ], - description: [ - { max: 300, message: this.$t('cantExeed')+ 300 + this.$t('characters'),trigger: 'change'}, + attestationPlan: [ + { + pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/, + message: this.$t('pleaseEnterTheCorrectWebAddress') + } ] }, disabled: false, diff --git a/jero-web/src/views/parameter/template.vue b/jero-web/src/views/parameter/template.vue index bb70bffa8..b71fe3b06 100644 --- a/jero-web/src/views/parameter/template.vue +++ b/jero-web/src/views/parameter/template.vue @@ -4,10 +4,10 @@
-
+
{{$t('zoneOfApplication')}}
- @@ -15,12 +15,11 @@
-
+
{{$t('parameterTemplate')}}
- + v-model="queryParam.projectName">
@@ -28,8 +27,8 @@
{{$t('status')}}
-
@@ -47,7 +46,7 @@ {{$t('add')}}
-
+
{{$t('copy')}}
@@ -74,6 +73,7 @@ {{$t('edit')}} {{$t('deleteLib')}} +
@@ -99,7 +99,7 @@ import addModel from './components/addModel' export default { name: 'index', components: { - addModel + addModel, }, data() { return { @@ -126,21 +126,19 @@ export default { { title: this.$t('zoneOfApplication'), align: 'center', + width: '10%', dataIndex: 'region_dictText', - // width: 10%, }, { title: this.$t('parameterTemplate'), align: 'center', dataIndex: 'paramsTemplateName', - scopedSlots: { customRender: 'projectName' }, - // width: 10%, + scopedSlots: { customRender: 'projectName' } }, { title: this.$t('contentDescription'), align: 'center', - dataIndex: 'description', - // width: 10% + dataIndex: 'description' }, { title: this.$t('status'), @@ -150,11 +148,13 @@ export default { { title: this.$t('createTime'), align: 'center', + width: '10%', dataIndex: 'createTime' }, { title: this.$t('updateTime'), align: 'center', + width: '10%', dataIndex: 'updateTime' }, { @@ -183,7 +183,7 @@ export default { this.$refs.addModelRef.addModel() }, // 复制 - handleCode() { + handlecody(){ }, //批量删除 @@ -232,11 +232,11 @@ export default { }, //虚拟清单名称事件 entryNameClick(item) { - // let newUrl = this.$router.resolve({ - // path: '/ProjectDetails', - // query: item - // }) - // window.open(newUrl.href, '_blank') + let newUrl = this.$router.resolve({ + path: '/ProjectDetails', + query: item + }) + window.open(newUrl.href, '_blank') }, searchQuery() { this.pageNo = 1 @@ -273,7 +273,6 @@ export default { this.loading = true getAction(this.url.list, query).then((res) => { if (res.success) { - console.log(res.result) if (res.result.current > 1 && res.result.records.length == 0) { this.pageNo = res.result.current - 1 this.getList()