平台件项目库 认证清单去除配置项
This commit is contained in:
+90
-91
@@ -113,27 +113,48 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<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" v-if="item.deliverableType != '1635545748968783874'">*</span>
|
||||||
<span class="title-text-text" :title="$t('configurationItem')">{{$t('configurationItem')}}</span>
|
<span class="title-text-text" :title="$t('closingDate')">{{$t('closingDate')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item
|
<a-form-model-item class="itemModel"
|
||||||
class="itemModel"
|
:prop="item.deliverableType == '1635545748968783874'?'':'dataList.'+index+'.endTime'"
|
||||||
:prop="'dataList.'+index+'.configItem'"
|
:rules="[{ required: item.deliverableType == '1635545748968783874'?false:true, message: $t('closingDate') + $t('cannotEmpty'), trigger: 'change'},]"
|
||||||
:rules="[{ required: true, message: $t('configurationItem') + $t('cannotEmpty'), trigger: 'blur'},
|
|
||||||
{max: 300,message: $t('configurationItem') + $t('cannotExceed') + 300 + $t('Characters'),trigger: 'blur'
|
|
||||||
}]"
|
|
||||||
>
|
>
|
||||||
<a-input class="box-input"
|
<a-date-picker class="box-input"
|
||||||
v-model.trim="item.configItem"
|
:placeholder="$t('PleaseSelect')+$t('closingDate')"
|
||||||
:placeholder="$t('PleaseEnter')+$t('configurationItem')"/>
|
@change="dateChange({db_field_name:'endTime'},index)"
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="item.configItem"-->
|
format="YYYY-MM-DD"
|
||||||
<!-- @input="handleInput('dataList.'+index+'.configItem')"-->
|
:disabledDate="disabledDate"
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('configurationItem')"-->
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
<!-- :type="'select'"-->
|
v-model="item.endTime"
|
||||||
<!-- :triggerChange="false" :dictCode="'ren4_zheng4_qing1_dan1_-_pei4_zhi4_xiang4'"/>-->
|
style="width: 100%"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<!-- <a-col :span="12">-->
|
||||||
|
<!-- <div class="box-title-text">-->
|
||||||
|
<!-- <div class="title-text">-->
|
||||||
|
<!-- <span class="Required">*</span>-->
|
||||||
|
<!-- <span class="title-text-text" :title="$t('configurationItem')">{{$t('configurationItem')}}</span>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <a-form-model-item-->
|
||||||
|
<!-- class="itemModel"-->
|
||||||
|
<!-- :prop="'dataList.'+index+'.configItem'"-->
|
||||||
|
<!-- :rules="[{ required: true, message: $t('configurationItem') + $t('cannotEmpty'), trigger: 'blur'},-->
|
||||||
|
<!-- {max: 300,message: $t('configurationItem') + $t('cannotExceed') + 300 + $t('Characters'),trigger: 'blur'-->
|
||||||
|
<!-- }]"-->
|
||||||
|
<!-- >-->
|
||||||
|
<!-- <a-input class="box-input"-->
|
||||||
|
<!-- v-model.trim="item.configItem"-->
|
||||||
|
<!-- :placeholder="$t('PleaseEnter')+$t('configurationItem')"/>-->
|
||||||
|
<!-- <!– <j-dict-select-tag class="box-input" v-model="item.configItem"–>-->
|
||||||
|
<!-- <!– @input="handleInput('dataList.'+index+'.configItem')"–>-->
|
||||||
|
<!-- <!– :placeholder="$t('PleaseSelect')+$t('configurationItem')"–>-->
|
||||||
|
<!-- <!– :type="'select'"–>-->
|
||||||
|
<!-- <!– :triggerChange="false" :dictCode="'ren4_zheng4_qing1_dan1_-_pei4_zhi4_xiang4'"/>–>-->
|
||||||
|
<!-- </a-form-model-item>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </a-col>-->
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
@@ -273,27 +294,7 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="Required" v-if="item.deliverableType != '1635545748968783874'">*</span>
|
|
||||||
<span class="title-text-text" :title="$t('closingDate')">{{$t('closingDate')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel"
|
|
||||||
:prop="item.deliverableType == '1635545748968783874'?'':'dataList.'+index+'.endTime'"
|
|
||||||
:rules="[{ required: item.deliverableType == '1635545748968783874'?false:true, message: $t('closingDate') + $t('cannotEmpty'), trigger: 'change'},]"
|
|
||||||
>
|
|
||||||
<a-date-picker class="box-input"
|
|
||||||
:placeholder="$t('PleaseSelect')+$t('closingDate')"
|
|
||||||
@change="dateChange({db_field_name:'endTime'},index)"
|
|
||||||
format="YYYY-MM-DD"
|
|
||||||
:disabledDate="disabledDate"
|
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
|
||||||
v-model="item.endTime"
|
|
||||||
style="width: 100%"/>
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<!-- <a-row :gutter="24">-->
|
<!-- <a-row :gutter="24">-->
|
||||||
@@ -358,24 +359,63 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<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" v-if="formInline.deliverableType != '1635545748968783874'">*</span>
|
||||||
<span class="title-text-text" :title="$t('configurationItem')">{{$t('configurationItem')}}</span>
|
<span class="title-text-text" :title="$t('personLiable')">{{$t('personLiable')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item
|
<a-form-model-item class="itemModel-multi"
|
||||||
class="itemModel"
|
:prop="formInline.deliverableType == '1635545748968783874'?'':'dutyPersonName'"
|
||||||
:prop="'configItem'"
|
:rules="[{ required: formInline.deliverableType=='1635545748968783874'?false:true,
|
||||||
|
message: $t('personLiable') + $t('cannotEmpty'), trigger: 'change'}]"
|
||||||
>
|
>
|
||||||
<a-input class="box-input"
|
<PersonnelSelection
|
||||||
v-model.trim="formInline.configItem"
|
:query="{db_field_name:'dutyPerson',db_field_txt:$t('personLiable')}"
|
||||||
:placeholder="$t('PleaseEnter')+$t('configurationItem')"/>
|
:personneQuery="formInline"
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.configItem"-->
|
:isSingleChoice="true"
|
||||||
<!-- @input="handleInput('configItem')"-->
|
v-if="personnelVisible"
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('configurationItem')"-->
|
@change="PersonnelSelectionChange"
|
||||||
<!-- :type="'select'"-->
|
:disabled="disabled"
|
||||||
<!-- :triggerChange="false" :dictCode="'ren4_zheng4_qing1_dan1_-_pei4_zhi4_xiang4'"/>-->
|
v-model="formInline.dutyPersonName"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :span="12" v-if="formInline.taskConfirmEndTime">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text">
|
||||||
|
<span class="title-text-text" :title="$t('taskConfirmEndTime')">{{$t('taskConfirmEndTime')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel">
|
||||||
|
<a-date-picker class="box-input"
|
||||||
|
@change="dateChange({db_field_name:'taskConfirmEndTime'})"
|
||||||
|
format="YYYY-MM-DD"
|
||||||
|
:disabled="true"
|
||||||
|
:disabledDate="disabledDate"
|
||||||
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
|
v-model="formInline.taskConfirmEndTime"
|
||||||
|
style="width: 100%"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
<!-- <a-col :span="12">-->
|
||||||
|
<!-- <div class="box-title-text">-->
|
||||||
|
<!-- <div class="title-text">-->
|
||||||
|
<!-- <span class="Required">*</span>-->
|
||||||
|
<!-- <span class="title-text-text" :title="$t('configurationItem')">{{$t('configurationItem')}}</span>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <a-form-model-item-->
|
||||||
|
<!-- class="itemModel"-->
|
||||||
|
<!-- :prop="'configItem'"-->
|
||||||
|
<!-- >-->
|
||||||
|
<!-- <a-input class="box-input"-->
|
||||||
|
<!-- v-model.trim="formInline.configItem"-->
|
||||||
|
<!-- :placeholder="$t('PleaseEnter')+$t('configurationItem')"/>-->
|
||||||
|
<!-- <!– <j-dict-select-tag class="box-input" v-model="formInline.configItem"–>-->
|
||||||
|
<!-- <!– @input="handleInput('configItem')"–>-->
|
||||||
|
<!-- <!– :placeholder="$t('PleaseSelect')+$t('configurationItem')"–>-->
|
||||||
|
<!-- <!– :type="'select'"–>-->
|
||||||
|
<!-- <!– :triggerChange="false" :dictCode="'ren4_zheng4_qing1_dan1_-_pei4_zhi4_xiang4'"/>–>-->
|
||||||
|
<!-- </a-form-model-item>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </a-col>-->
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
@@ -528,28 +568,6 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="Required" v-if="formInline.deliverableType != '1635545748968783874'">*</span>
|
|
||||||
<span class="title-text-text" :title="$t('personLiable')">{{$t('personLiable')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel-multi"
|
|
||||||
:prop="formInline.deliverableType == '1635545748968783874'?'':'dutyPersonName'"
|
|
||||||
:rules="[{ required: formInline.deliverableType=='1635545748968783874'?false:true,
|
|
||||||
message: $t('personLiable') + $t('cannotEmpty'), trigger: 'change'}]"
|
|
||||||
>
|
|
||||||
<PersonnelSelection
|
|
||||||
:query="{db_field_name:'dutyPerson',db_field_txt:$t('personLiable')}"
|
|
||||||
:personneQuery="formInline"
|
|
||||||
:isSingleChoice="true"
|
|
||||||
v-if="personnelVisible"
|
|
||||||
@change="PersonnelSelectionChange"
|
|
||||||
:disabled="disabled"
|
|
||||||
v-model="formInline.dutyPersonName"/>
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -593,25 +611,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
|
||||||
<a-col :span="12" v-if="formInline.taskConfirmEndTime">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="title-text-text" :title="$t('taskConfirmEndTime')">{{$t('taskConfirmEndTime')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel">
|
|
||||||
<a-date-picker class="box-input"
|
|
||||||
@change="dateChange({db_field_name:'taskConfirmEndTime'})"
|
|
||||||
format="YYYY-MM-DD"
|
|
||||||
:disabled="true"
|
|
||||||
:disabledDate="disabledDate"
|
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
|
||||||
v-model="formInline.taskConfirmEndTime"
|
|
||||||
style="width: 100%"/>
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
</div>
|
</div>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
|||||||
+52
-52
@@ -9,58 +9,6 @@
|
|||||||
@cancel="handleCancel"
|
@cancel="handleCancel"
|
||||||
>
|
>
|
||||||
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
||||||
<a-row :gutter="24">
|
|
||||||
<a-col :span="name == $t('changeSetting') ? 24 : 12"
|
|
||||||
v-if="name == $t('BatchSetting') || name == $t('changeSetting')">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="title-text-text" :title="$t('configurationItem')">{{$t('configurationItem')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel">
|
|
||||||
<a-input class="box-input"
|
|
||||||
v-model.trim="formInline.configItem"
|
|
||||||
:placeholder="$t('PleaseEnter')+$t('configurationItem')"/>
|
|
||||||
|
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.configItem"-->
|
|
||||||
<!-- @input="handleInput('configItem')"-->
|
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('configurationItem')"-->
|
|
||||||
<!-- :type="'select'"-->
|
|
||||||
<!-- :triggerChange="false" :dictCode="'ren4_zheng4_qing1_dan1_-_pei4_zhi4_xiang4'"/>-->
|
|
||||||
</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('engineeringInterfacePerson')">{{$t('engineeringInterfacePerson')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel">
|
|
||||||
<!-- <a-select :placeholder="$t('cannotSetResponsibilityAreas')"-->
|
|
||||||
<!-- class="box-input"-->
|
|
||||||
<!-- allowClear-->
|
|
||||||
<!-- optionFilterProp="label"-->
|
|
||||||
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
|
||||||
<!-- v-model="formInline.sdt">-->
|
|
||||||
<!-- <a-select-option v-for="(item, key) in engineeringInterfacePersonList"-->
|
|
||||||
<!-- :key="item.key"-->
|
|
||||||
<!-- :label="item.name"-->
|
|
||||||
<!-- :value="item.value">-->
|
|
||||||
<!-- <span style="display: inline-block;width: 100%" :title=" item.name ">-->
|
|
||||||
<!-- {{ item.name }}-->
|
|
||||||
<!-- </span>-->
|
|
||||||
<!-- </a-select-option>-->
|
|
||||||
<!-- </a-select>-->
|
|
||||||
<PersonnelSelection :query="{db_field_name:'sdt',db_field_txt:$t('engineeringInterfacePerson')}"
|
|
||||||
:isSingleChoice="true"
|
|
||||||
:personneQuery="formInline"
|
|
||||||
v-if="visible"
|
|
||||||
@change="PersonnelSelectionChange"
|
|
||||||
v-model="formInline.sdt"/>
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24" v-if="name == $t('BatchSetting')">
|
<a-row :gutter="24" v-if="name == $t('BatchSetting')">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
@@ -179,6 +127,58 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<!-- <a-col :span="name == $t('changeSetting') ? 24 : 12"-->
|
||||||
|
<!-- v-if="name == $t('BatchSetting') || name == $t('changeSetting')">-->
|
||||||
|
<!-- <div class="box-title-text">-->
|
||||||
|
<!-- <div class="title-text">-->
|
||||||
|
<!-- <span class="title-text-text" :title="$t('configurationItem')">{{$t('configurationItem')}}</span>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <a-form-model-item class="itemModel">-->
|
||||||
|
<!-- <a-input class="box-input"-->
|
||||||
|
<!-- v-model.trim="formInline.configItem"-->
|
||||||
|
<!-- :placeholder="$t('PleaseEnter')+$t('configurationItem')"/>-->
|
||||||
|
|
||||||
|
<!-- <!– <j-dict-select-tag class="box-input" v-model="formInline.configItem"–>-->
|
||||||
|
<!-- <!– @input="handleInput('configItem')"–>-->
|
||||||
|
<!-- <!– :placeholder="$t('PleaseSelect')+$t('configurationItem')"–>-->
|
||||||
|
<!-- <!– :type="'select'"–>-->
|
||||||
|
<!-- <!– :triggerChange="false" :dictCode="'ren4_zheng4_qing1_dan1_-_pei4_zhi4_xiang4'"/>–>-->
|
||||||
|
<!-- </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('engineeringInterfacePerson')">{{$t('engineeringInterfacePerson')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel">
|
||||||
|
<!-- <a-select :placeholder="$t('cannotSetResponsibilityAreas')"-->
|
||||||
|
<!-- class="box-input"-->
|
||||||
|
<!-- allowClear-->
|
||||||
|
<!-- optionFilterProp="label"-->
|
||||||
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
|
<!-- v-model="formInline.sdt">-->
|
||||||
|
<!-- <a-select-option v-for="(item, key) in engineeringInterfacePersonList"-->
|
||||||
|
<!-- :key="item.key"-->
|
||||||
|
<!-- :label="item.name"-->
|
||||||
|
<!-- :value="item.value">-->
|
||||||
|
<!-- <span style="display: inline-block;width: 100%" :title=" item.name ">-->
|
||||||
|
<!-- {{ item.name }}-->
|
||||||
|
<!-- </span>-->
|
||||||
|
<!-- </a-select-option>-->
|
||||||
|
<!-- </a-select>-->
|
||||||
|
<PersonnelSelection :query="{db_field_name:'sdt',db_field_txt:$t('engineeringInterfacePerson')}"
|
||||||
|
:isSingleChoice="true"
|
||||||
|
:personneQuery="formInline"
|
||||||
|
v-if="visible"
|
||||||
|
@change="PersonnelSelectionChange"
|
||||||
|
v-model="formInline.sdt"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
|
||||||
|
</a-row>
|
||||||
<a-row :gutter="24" v-if="name == $t('BatchSetting') && roleSwitchingCode == 2">
|
<a-row :gutter="24" v-if="name == $t('BatchSetting') && roleSwitchingCode == 2">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
|
|||||||
+6
-6
@@ -167,12 +167,12 @@
|
|||||||
{{ $t('add') }}
|
{{ $t('add') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 添加配置-->
|
<!-- 添加配置-->
|
||||||
<div @click="addConfigurationClick"
|
<!-- <div @click="addConfigurationClick"-->
|
||||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
<!-- v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"-->
|
||||||
class="operator-text-title">
|
<!-- class="operator-text-title">-->
|
||||||
<a-icon type="plus"/>
|
<!-- <a-icon type="plus"/>-->
|
||||||
{{ $t('addConfiguration') }}
|
<!-- {{ $t('addConfiguration') }}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<!-- 模板下载-->
|
<!-- 模板下载-->
|
||||||
<div @click="handleModule"
|
<div @click="handleModule"
|
||||||
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
v-if="roleSwitchingCode == 1 || roleSwitchingCode == 2"
|
||||||
|
|||||||
Reference in New Issue
Block a user