109 lines
3.3 KiB
Java
109 lines
3.3 KiB
Java
<template>
|
|
<a-modal
|
|
:title="$t('batSetting')"
|
|
:width="900"
|
|
:visible="visible"
|
|
:maskClosable="false"
|
|
@cancel="handleCancel"
|
|
>
|
|
<a-form-model class="formAdd">
|
|
<a-row :gutter="24">
|
|
<a-col :span="12">
|
|
<div class="box-title-text">
|
|
<div class="title-text">
|
|
<span class="title-text-text" :title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
|
|
</div>
|
|
<a-form-model-item class="itemModel-multi">
|
|
<j-multi-select-tag class="box-input"
|
|
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
|
:type="'select'"
|
|
:triggerChange="false" :dictCode="'duty_territory'"/>
|
|
<!-- <j-dict-select-tag class="box-input" v-model="formInline.dutyTerritory"-->
|
|
<!-- @input="handleInput('dutyTerritory')"-->
|
|
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
|
<!-- :type="'select'"-->
|
|
<!-- :triggerChange="false" dictCode="duty_territory"/>-->
|
|
</a-form-model-item>
|
|
</div>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<div class="box-title-text">
|
|
<div class="title-text">
|
|
<span class="title-text-text" :title="$t('Deliverables')">{{$t('Deliverables')}}</span>
|
|
</div>
|
|
<a-form-model-item class="itemModel-multi">
|
|
<j-multi-select-tag class="box-input"
|
|
:placeholder="$t('PleaseSelect')+$t('Deliverables')"
|
|
:type="'select'"
|
|
:triggerChange="false"/>
|
|
<!-- <j-dict-select-tag class="box-input" v-model="formInline.attestationType"-->
|
|
<!-- @input="handleInput('attestationType')"-->
|
|
<!-- :placeholder="$t('PleaseSelect')+$t('certificationType')"-->
|
|
<!-- :type="'select'"-->
|
|
<!-- :triggerChange="false" dictCode="attestation_type"/>-->
|
|
</a-form-model-item>
|
|
</div>
|
|
</a-col>
|
|
</a-row>
|
|
</a-form-model>
|
|
</a-modal>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'batSetting',
|
|
data() {
|
|
return {
|
|
visible: false,
|
|
formInline: {},
|
|
ids: [],
|
|
}
|
|
},
|
|
methods: {
|
|
edit(data) {
|
|
this.visible = true
|
|
this.$nextTick(() => {
|
|
this.ids = data || []
|
|
this.formInline = {}
|
|
})
|
|
},
|
|
handleCancel() {
|
|
this.formInline = {}
|
|
this.visible = false
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.box-title-text {
|
|
line-height: 1.4;
|
|
display: flex;
|
|
}
|
|
|
|
.title-text {
|
|
width: 104px;
|
|
text-align: right;
|
|
display: inline-block;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
margin-right: 16px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
height: 42px;
|
|
line-height: 42px;
|
|
}
|
|
|
|
.itemModel {
|
|
width: calc(100% - 130px);
|
|
display: inline-block;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.box-input {
|
|
display: inline-block;
|
|
height: 38px;
|
|
width: 100%;
|
|
}
|
|
</style> |