quick-create-form.html 6.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
<i-form :model="this.data" class='app-form' ref='form'  id='task_quickcreate' style="">
    <input style="display:none;" />
    <row >
            
<i-col v-show="detailsModel.group1.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.group1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.task.quickcreate_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.group1" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col v-show="detailsModel.ownerid.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='ownerid' :itemRules="this.rules.ownerid" class='' :caption="$t('entities.task.quickcreate_form.details.ownerid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownerid.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.ownerid"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.ownerid.disabled" type='text'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.ownertype.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='ownertype' :itemRules="this.rules.ownertype" class='' :caption="$t('entities.task.quickcreate_form.details.ownertype')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownertype.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.ownertype"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.ownertype.disabled" type='text'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.ownername.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='ownername' :itemRules="this.rules.ownername" class='' :caption="$t('entities.task.quickcreate_form.details.ownername')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownername.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-picker 
  :formState="formState"
  :data="data"
  :context="context"
  :viewparams="viewparams"
  :localContext ='{ }' 
  :localParam ='{ }' 
  :disabled="detailsModel.ownername.disabled"
  name='ownername'
  deMajorField='pickdataname'
  deKeyField='multipickdata'
  :service="service"
  :acParams="{ serviceName: 'MultiPickDataService', interfaceName: 'FetchAC'}"
  valueitem='ownerid' 
  :value="data.ownername"
  :pickupView="{ viewname: 'multi-pick-data-ac', title: $t('entities.multipickdata.views.ac.title'), deResParameters: [], parameters: [{ pathName: 'multipickdata', parameterName: 'multipickdata' }, { pathName: 'ac', parameterName: 'ac' } ], width: 1024, placement:'' }"
  style=""  
  @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>

</app-form-item>

</i-col>
<i-col v-show="detailsModel.subject.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='subject' :itemRules="this.rules.subject" class='' :caption="$t('entities.task.quickcreate_form.details.subject')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.subject.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.subject"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.subject.disabled" type='text'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.description.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='description' :itemRules="this.rules.description" class='' :caption="$t('entities.task.quickcreate_form.details.description')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.description"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.description.disabled" type='text'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.scheduledend.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='scheduledend' :itemRules="this.rules.scheduledend" class='' :caption="$t('entities.task.quickcreate_form.details.scheduledend')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.scheduledend.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.scheduledend" :disabled="detailsModel.scheduledend.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.scheduledend = val1 }"></date-picker>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.actualdurationminutes.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='actualdurationminutes' :itemRules="this.rules.actualdurationminutes" class='' :caption="$t('entities.task.quickcreate_form.details.actualdurationminutes')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.actualdurationminutes.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.actualdurationminutes"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.actualdurationminutes.disabled" type='number'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.prioritycode.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='prioritycode' :itemRules="this.rules.prioritycode" class='' :caption="$t('entities.task.quickcreate_form.details.prioritycode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.prioritycode.error" :isEmptyCaption="false" labelPos="LEFT">
    
<dropdown-list 
    v-model="data.prioritycode"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.prioritycode.disabled"
    valueType="string"
    tag='Task__PriorityCode'
    codelistType='STATIC'
    placeholder='请选择...'
    
/>
</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


    </row>
</i-form>