iot-ui-vue/src/views/notice/Template/Detail/doc/DingTalk.tsx

55 lines
2.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import './index.less';
import { Image } from 'ant-design-vue';
import { getImage } from '@/utils/comm';
const DingTalk = () => {
const agentId = getImage('/notice/doc/template/dingTalk-message/01-Agentid.jpg');
// const userId = getImage('/notice/doc/template/dingTalk-message/02-user-id.jpg');
// const dept = getImage('/notice/doc/template/dingTalk-message/03-dept.jpg');
const a = '{name}';
return (
<div class="doc">
<div class="url">
<a href="https://open-dev.dingtalk.com" target="_blank" rel="noopener noreferrer">
https://open-dev.dingtalk.com
</a>
<br />
<a href="https://www.dingtalk.com" target="_blank" rel="noopener noreferrer">
https://www.dingtalk.com
</a>
</div>
<h1>1. </h1>
<div>
<div>使</div>
</div>
<h1> 2.</h1>
<h2> 1</h2>
<div> 使</div>
<h2> 2Agentid</h2>
<div> </div>
<div> ----</div>
<div class="image">
<Image width="100%" src={agentId} />
</div>
<h2> 3</h2>
<div></div>
{/*<div> 收信人ID获取路径“钉钉管理后台”--“通讯录”--“查看用户”</div>*/}
{/*<div> 收信部门ID获取路径“钉钉管理后台”--“通讯录”--“编辑部门”</div>*/}
{/*<div class="image">*/}
{/* <Image width="100%" src={userId} />*/}
{/* <Image width="100%" src={dept} />*/}
{/*</div>*/}
<h2> 4</h2>
<div>
${a}
便
</div>
</div>
);
};
export default DingTalk;