<div class="modal fade" tabindex="-1" role="dialog" id="modal">
    <div class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title text-primary">新增日志信息</h4>
                <button type="button" class="close" data-dismiss="modal">&times;</button>
            </div>
            <div class="modal-body">
                <div class="row">
                    <label for="status" class="col-3">客户状态</label>
                    <select id="status" class="form-control form-control-sm col-5">
                        <option v-for="status in logStatuses" :value="status.id">@{{ status.name }}</option>
                    </select>
                </div>
                <div class="row mt-2">
                    <label for="description" class="col-3">说明</label>
                    <textarea id="description" class="form-control form-control-sm col-7"></textarea>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-success" @click="addLog()">提交</button>
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
