41 lines
1.4 KiB
XML
41 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates id="template" xml:space="preserve">
|
|
<t t-name="yuthon_issue.html_issue_demo" owl="1">
|
|
<t t-set="data" t-value="props.record.data"/>
|
|
<div>
|
|
<p>
|
|
<t t-foreach="data.issue_data.split(';')" t-as="line" t-key="line">
|
|
<t t-esc="line"/>
|
|
<br/>
|
|
</t>
|
|
</p>
|
|
</div>
|
|
</t>
|
|
|
|
<t t-name="yuthon_issue.html_decision_demo" owl="1">
|
|
<t t-set="data" t-value="props.record.data"/>
|
|
<div>
|
|
<p>
|
|
<t t-foreach="data.decision_data.split(';')" t-as="line" t-key="line">
|
|
<t t-esc="line"/>
|
|
<br/>
|
|
</t>
|
|
</p>
|
|
</div>
|
|
</t>
|
|
|
|
<!-- 议题 Many2one 创建确认弹窗模板 -->
|
|
<t t-name="yuthon_issue.IssueM2OConfirmDialog" owl="1">
|
|
<Dialog title="props.title" size="'sm'">
|
|
<p><t t-esc="props.body"/></p>
|
|
<t t-set-slot="footer">
|
|
<button class="btn btn-secondary" t-on-click="() => this.props.onCancel()">
|
|
<t t-esc="props.cancelLabel or '取消'"/>
|
|
</button>
|
|
<button class="btn btn-primary" t-on-click="() => this.props.onConfirm()">
|
|
<t t-esc="props.confirmLabel or '确认创建'"/>
|
|
</button>
|
|
</t>
|
|
</Dialog>
|
|
</t>
|
|
</templates> |