优化工单模块,增加企微模块
This commit is contained in:
45
sg_wechat_enterprise/views/we_templates.xml
Normal file
45
sg_wechat_enterprise/views/we_templates.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<template id="sg_wechat_enterprise.layout" name="Wechat_Enterprise_Layout">
|
||||
<!DOCTYPE html>
|
||||
<html style="height:100%">
|
||||
<head>
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
|
||||
<t t-raw="head or ''"/>
|
||||
</head>
|
||||
<body>
|
||||
<t t-raw="0"/>
|
||||
</body>
|
||||
</html>
|
||||
</template>
|
||||
|
||||
<template id="sg_wechat_enterprise.Transfer" name="Wechat_Enterprise_Transfer">
|
||||
<t t-call="sg_wechat_enterprise.layout">
|
||||
<t t-set="head">
|
||||
</t>
|
||||
<p id="url" style="display:none">
|
||||
<t t-raw="url" />
|
||||
</p>
|
||||
<div class="load-box">
|
||||
<svg class="load-icon" viewBox="0 0 1024 1024" data-icon="loading" width="1em" height="1em" fill="currentColor" aria-hidden="true" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"></path></svg>
|
||||
<span class="load-txt">页面正在加载中,请耐心等候。</span>
|
||||
</div>
|
||||
<link rel="stylesheet" href="/sg_wechat_enterprise/static/css/loading.css"/>
|
||||
<script src="/sg_wechat_enterprise/static/js/url_transfers.js"></script>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<template id="sg_wechat_enterprise.wechat_warning" name="Wechat_Enterprise_Warning">
|
||||
<t t-call="sg_wechat_enterprise.layout">
|
||||
<t t-set="head">
|
||||
</t>
|
||||
<div class="mr_center">
|
||||
<p><h3>[<t t-esc="title"/>]</h3></p>
|
||||
<p><t t-esc="content" /></p>
|
||||
</div>
|
||||
</t>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user