| | |
| | | <meta name="renderer" content="webkit" />
|
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
| | | <!-- <link rel="icon" href="/logo.ico" /> -->
|
| | | <title>惠企执法</title>
|
| | | <title>察县扫码入企监督平台</title>
|
| | | <script src='//webapi.amap.com/maps?v=2.0&key=a3472b04ae282cabb61670b13c7b90ab' type="text/javascript"></script>
|
| | | <script src="//webapi.amap.com/ui/1.1/main.js"></script>
|
| | | <!--[if lt IE 11
|
| | |
| | | {
|
| | | "name": "ruoyi",
|
| | | "version": "3.8.5",
|
| | | "description": "惠企执法",
|
| | | "author": "惠企执法",
|
| | | "description": "察县扫码入企监督平台",
|
| | | "author": "察县扫码入企监督平台",
|
| | | "scripts": {
|
| | | "build:prod": "vite build",
|
| | | "build:stage": "vite build --mode staging",
|
| | |
| | | method: "delete", |
| | | }); |
| | | } |
| | | |
| | | // 下载模板 /system/manage/exportTemplate |
| | | export function exportTemplate(data) { |
| | | return request({ |
| | | url: `/system/manage/exportTemplate`, |
| | | method: 'get', |
| | | params: data |
| | | }) |
| | | } |
| | |
| | | </router-link>
|
| | | <router-link v-else key="expand" class="sidebar-logo-link" to="/home">
|
| | | <!-- <img v-if="logotxt" :src="logotxt" class="sidebar-logo-txt" /> -->
|
| | | 惠企执法
|
| | | 察县扫码入企监督平台
|
| | | </router-link>
|
| | | </transition>
|
| | | </div>
|
| | |
| | | },
|
| | | });
|
| | |
|
| | | const title = ref("惠企执法");
|
| | | const title = ref("察县扫码入企监督平台");
|
| | | const settingsStore = useSettingsStore();
|
| | | const sideTheme = computed(() => settingsStore.sideTheme);
|
| | | </script>
|
| | |
| | | <el-dialog title="二维码" v-model="dialogVisible" width="300px" @close="closeDialog"> |
| | | <div class="text-center"> |
| | | <vueQr ref="query" background="#fff" :text="info.companyCode"></vueQr> |
| | | <div style="font-weight: bold;margin-bottom: 10px;">沈丘惠企执法</div> |
| | | <div style="font-weight: bold;margin-bottom: 10px;">察县扫码入企监督平台</div> |
| | | <div>{{ info.companyName }}</div> |
| | | <div style="margin-top: 10px;"> |
| | | <el-link @click="downImage" type="primary">下载企业码</el-link> |
| | |
| | | ctx.fillStyle = '#000'; |
| | | // ctx.setFontWeight('bold') |
| | | ctx.font ='bold 20px Arial' |
| | | wrapText(ctx, "沈丘惠企执法", 180, 320, 350, 40) |
| | | wrapText(ctx, "察县扫码入企监督平台", 180, 320, 350, 40) |
| | | // ctx.setFontWeight('normal') |
| | | ctx.font ="20px Arial" |
| | | wrapText(ctx, text, 180, 350, 350, 20) |
| | |
| | | <el-dialog title="二维码" v-model="dialogVisible" width="300px" @close="closeDialog"> |
| | | <div class="text-center"> |
| | | <vueQr ref="query" background="#fff" :text="info.companyCode"></vueQr> |
| | | <div style="font-weight: bold;margin-bottom: 10px;">沈丘惠企执法</div> |
| | | <div style="font-weight: bold;margin-bottom: 10px;">察县扫码入企监督平台</div> |
| | | |
| | | <div>{{ info.companyName }}</div> |
| | | <div style="margin-top: 10px;"> |
| | |
| | | ctx.fillStyle = '#000'; |
| | | // ctx.setFontWeight('bold') |
| | | ctx.font ='bold 20px Arial' |
| | | wrapText(ctx, "沈丘惠企执法", 180, 320, 350, 40) |
| | | wrapText(ctx, "察县扫码入企监督平台", 180, 320, 350, 40) |
| | | // ctx.setFontWeight('normal') |
| | | ctx.font ="20px Arial" |
| | | wrapText(ctx, text, 180, 350, 350, 20) |
| | |
| | | <Particles id="tsparticles" :particlesInit="particlesInit" :particlesLoaded="particlesLoaded" :options="options" />
|
| | |
|
| | | <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
|
| | | <h3 class="title">沈丘惠企执法</h3>
|
| | | <h3 class="title">察县扫码入企监督平台</h3>
|
| | | <el-form-item prop="username">
|
| | | <el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" placeholder="账号">
|
| | | <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template>
|
| | |
| | | |
| | | <script setup name="Dept"> |
| | | import { getToken } from "@/utils/auth"; |
| | | import { listCompany, addCompany, updStatus, delCompany, updateCompany, getCompany } from "@/api/system/company/company"; |
| | | import { listManage } from "@/api/system/manage"; |
| | | import { |
| | | listCompany, |
| | | addCompany, |
| | | updStatus, |
| | | delCompany, |
| | | updateCompany, |
| | | getCompany |
| | | } from "@/api/system/company/company"; |
| | | import { listManage ,exportTemplate} from "@/api/system/manage"; |
| | | import { computed } from "vue"; |
| | | import { judgeStatus, companyStatus, scopeList } from '@/utils/mapList/index.ts' |
| | | import useSettingsStore from "@/store/modules/settings"; |
| | | import { download } from '@/utils/request'; // 下载文件 |
| | | import {download as downloadHttp, download} from '@/utils/request'; // 下载文件 |
| | | const thcolor = computed(() => useSettingsStore().theme); |
| | | const { proxy } = getCurrentInstance(); |
| | | const { sys_normal_disable } = proxy.useDict("sys_normal_disable"); |
| | |
| | | // 设置上传的请求头部 |
| | | headers: { Authorization: "Bearer " + getToken() }, |
| | | // 上传的地址 |
| | | url: import.meta.env.VITE_APP_BASE_API + "/system/user/importData", |
| | | url: import.meta.env.VITE_APP_BASE_API + "/system/manage/importData", |
| | | }); |
| | | |
| | | /**文件上传中处理 */ |
| | | const handleFileUploadProgress = (event, file, fileList) => { |
| | | upload.isUploading = true; |
| | | }; |
| | | /** 文件上传成功处理 */ |
| | | const handleFileSuccess = (response, file, fileList) => { |
| | | upload.open = false; |
| | | upload.isUploading = false; |
| | | proxy.$refs["uploadRef"].handleRemove(file); |
| | | proxy.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { |
| | | dangerouslyUseHTMLString: true, |
| | | }); |
| | | getList(); |
| | | }; |
| | | const { queryParams, form, rules } = toRefs(data); |
| | | const recordRow = ref([]) |
| | | /** 查询企业列表 */ |
| | |
| | | |
| | | /** 下载模板操作 */ |
| | | function importTemplate() { |
| | | proxy.download("system/user/importTemplate", {}, `user_template_${new Date().getTime()}.xlsx`); |
| | | exportTemplate().then(val => { |
| | | downloadHttp('/tool/file/download', { |
| | | fileName: val.msg, |
| | | delete: true |
| | | }, "计划信息模板.xlsx") |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | | // 修改企业信息 |
| | | function changeCompanyNews(row, event) { |
| | | if (loading.value) { |