[update] 上宝库
This commit is contained in:
@@ -962,4 +962,6 @@ module.exports = {
|
|||||||
releaseStatus:'Release status',
|
releaseStatus:'Release status',
|
||||||
uploadedBy:'Uploaded by',
|
uploadedBy:'Uploaded by',
|
||||||
uploadMonthly:'Upload monthly',
|
uploadMonthly:'Upload monthly',
|
||||||
|
// 上报库
|
||||||
|
Enable: '启用',
|
||||||
}
|
}
|
||||||
@@ -967,4 +967,7 @@ module.exports = {
|
|||||||
releaseStatus:'发布状态',
|
releaseStatus:'发布状态',
|
||||||
uploadedBy:'上传人',
|
uploadedBy:'上传人',
|
||||||
uploadMonthly:'上传月报',
|
uploadMonthly:'上传月报',
|
||||||
|
// 上报库
|
||||||
|
Enable: '启用',
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -19,11 +19,11 @@
|
|||||||
<span class="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('parameterTemplate')">{{$t('parameterTemplate')}}</span>
|
:title="$t('parameterTemplate')">{{$t('parameterTemplate')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="paramsTemplateName">
|
<a-form-model-item class="itemModel" prop="templateName">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline.paramsTemplateName"
|
v-model="formInline.templateName"
|
||||||
:placeholder="$t('PleaseEnter')+$t('parameterTemplate')"/>
|
:placeholder="$t('PleaseEnter')+$t('templateName')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -31,14 +31,15 @@
|
|||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="Required">*</span>
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('zoneOfApplication')">{{$t('zoneOfApplication')}}</span>
|
<span class="title-text-text" :title="$t('status')">{{$t('status')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="region">
|
<a-form-model-item class="itemModel" prop="status">
|
||||||
<j-dict-select-tag class="box-input" v-model="formInline.region"
|
<a-select allowClear :placeholder="$t('PleaseSelect')+$t('status')" v-model='formInline.status'>
|
||||||
:disabled="disabled"
|
<a-select-option :key="'0'" :value="'0'">{{$t('Enable')}}
|
||||||
:placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"
|
</a-select-option>
|
||||||
:type="'select'"
|
<a-select-option :key="'1'" :value="'1'">{{$t('disable')}}
|
||||||
:triggerChange="false" :dictCode="'region'"/>
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -60,6 +61,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :span="12">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
|
<span class="title-text-text"
|
||||||
|
:title="$t('parameterTemplate')">{{$t('parameterTemplate')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" prop="templateName">
|
||||||
|
<a-input class="box-input"
|
||||||
|
:disabled="disabled"
|
||||||
|
v-model="formInline.templateName"
|
||||||
|
:placeholder="$t('PleaseEnter')+$t('templateName')"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
@@ -86,19 +104,16 @@ export default {
|
|||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
visible: false,
|
visible: false,
|
||||||
rules: {
|
rules: {
|
||||||
paramsTemplateName:[
|
templateName:[
|
||||||
{ required: true, message: this.$t('PleaseEnter')+this.$t('parameterTemplate'), trigger: 'change' },
|
{ required: true, message: this.$t('PleaseEnter')+this.$t('parameterTemplate'), trigger: 'change' },
|
||||||
{ min:1, max: 50, message: this.$t('cantExeed')+'50'+this.$t('characters'), trigger: 'blur' },
|
{ min:1, max: 50, message: this.$t('cantExeed')+'50'+this.$t('characters'), trigger: 'blur' },
|
||||||
],
|
],
|
||||||
description:[
|
description:[
|
||||||
{ min:1, max: 300, message: this.$t('cantExeed')+'300'+this.$t('characters'), trigger: 'blur' },
|
{ min:1, max: 200, message: this.$t('cantExeed')+'200'+this.$t('characters'), trigger: 'blur' },
|
||||||
],
|
],
|
||||||
state: [
|
status: [
|
||||||
{ required: true, message: this.$t('PleaseSelect')+this.$t('status'), trigger: 'change' },
|
{ required: true, message: this.$t('PleaseSelect')+this.$t('status'), trigger: 'change' },
|
||||||
],
|
],
|
||||||
region: [
|
|
||||||
{ required: true, message: this.$t('PleaseSelect')+this.$t('zoneOfApplication'), trigger: 'change' },
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
disabled: false,
|
disabled: false,
|
||||||
projectNameList: [],
|
projectNameList: [],
|
||||||
@@ -122,6 +137,8 @@ export default {
|
|||||||
this.visible = true
|
this.visible = true
|
||||||
this.title = '新增'
|
this.title = '新增'
|
||||||
this.formInline = {}
|
this.formInline = {}
|
||||||
|
this.formInline.status = '0'
|
||||||
|
this.formInline = {...this.formInline}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs['ruleForm'].clearValidate()
|
this.$refs['ruleForm'].clearValidate()
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -4,22 +4,11 @@
|
|||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('zoneOfApplication')">
|
<div class="title-text" :title="$t('templateName')">
|
||||||
<span>{{$t('zoneOfApplication')}}</span>
|
<span>{{$t('templateName')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-dict-select-tag class="box-input" v-model="queryParam.region"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('templateName')"
|
||||||
:placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"
|
v-model="queryParam.templateName"></a-input>
|
||||||
:type="'select'"
|
|
||||||
:triggerChange="false" :dictCode="'region'"/>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
<a-col :md="6" :sm="8">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text" :title="$t('parameterTemplate')">
|
|
||||||
<span>{{$t('parameterTemplate')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('parameterTemplate')"
|
|
||||||
v-model="queryParam.paramsTemplateName"></a-input>
|
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
||||||
@@ -138,12 +127,11 @@ export default {
|
|||||||
dataSource: [],
|
dataSource: [],
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
url: {
|
url: {
|
||||||
list: 'params/template/page',
|
list: 'report/exportTemplate/page',
|
||||||
add: 'params/template/add',
|
add: 'report/exportTemplate/add',
|
||||||
edit: 'params/template/edit',
|
edit: 'report/exportTemplate/edit',
|
||||||
deleteBatch: 'params/template/delete',
|
deleteBatch: 'report/exportTemplate/delete',
|
||||||
deleteAll: 'params/template/deleteBatch',
|
deleteAll: 'report/exportTemplate/deleteBatch',
|
||||||
copy: 'params/template/copyById'
|
|
||||||
},
|
},
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
@@ -164,8 +152,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('templateName'),
|
title: this.$t('templateName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'paramsTemplateName',
|
dataIndex: 'templateName'
|
||||||
scopedSlots: { customRender: 'projectName' }
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('contentDescription'),
|
title: this.$t('contentDescription'),
|
||||||
|
|||||||
Reference in New Issue
Block a user