MicroCommunityWeb/public/pages/property/newOaWorkflowFormEdit/newOaWorkflowFormEdit.html
2021-12-07 13:36:12 +08:00

68 lines
3.6 KiB
HTML

<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>编辑</h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<div v-for="(item,index) in newOaWorkflowFormEditInfo.components">
<div class="form-group row" v-if="item.type== 'textfield'">
<label class="col-sm-2 col-form-label">{{item.label}}</label>
<div class="col-sm-10">
<input v-model="item.value" type="text" :placeholder="item.description" class="form-control">
</div>
</div>
<div class="form-group row" v-if="item.type== 'number'">
<label class="col-sm-2 col-form-label">{{item.label}}</label>
<div class="col-sm-10">
<input v-model="item.value" type="number" :placeholder="item.description" class="form-control">
</div>
</div>
<div class="form-group row" v-if="item.type== 'textarea'">
<label class="col-sm-2 col-form-label">{{item.label}}</label>
<div class="col-sm-10">
<textarea v-model="item.value" :placeholder="item.description"></textarea>
</div>
</div>
<div class="form-group row" v-if="item.type== 'textdate'">
<label class="col-sm-2 col-form-label">{{item.label}}</label>
<div class="col-sm-10">
<input v-model="item.value" type="date" :placeholder="item.description" class="form-control">
</div>
</div>
<div class="form-group row" v-if="item.type== 'textdatetime'">
<label class="col-sm-2 col-form-label">{{item.label}}</label>
<div class="col-sm-10">
<input v-model="item.value" type="time" :placeholder="item.description" class="form-control">
</div>
</div>
<div class="form-group row" v-if="item.type== 'checkbox'">
<label class="col-sm-2 col-form-label">{{item.label}}</label>
<div class="col-sm-10">
<div class="checkbox custom-control-inline">
<label>
<input type="checkbox" v-model="item.value"
:value="item.value">{{item.label}}
</label>
</div>
</div>
</div>
</div>
<vc:create path="frame/uploadFile" callBackListener="newOaWorkflowFormEdit" callBackFunction="fileName" namespace="newOaWorkflowFormEdit">
</vc:create>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button" v-on:click="_submitFormData()"><i
class="fa fa-check"></i>&nbsp;提交
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;" v-on:click="closeEditInfo()">取消
</button>
</div>
</div>
</div>
</div>
</div>