style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import axios from 'axios';
|
||||
|
||||
export function getRreportReturnIssue(query) {
|
||||
return request({
|
||||
url:'/report-manage/return-issue/report-return-issue',
|
||||
@@ -50,8 +52,6 @@ export function getAllUser(params) {
|
||||
}
|
||||
|
||||
|
||||
import axios from 'axios';
|
||||
|
||||
export function testWithAxios() {
|
||||
return axios.create(
|
||||
{
|
||||
|
||||
@@ -232,10 +232,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="dayEnd">
|
||||
import { getRreportReturnIssue, getTotal, getContractList } from './component/api';
|
||||
import dayjs from 'dayjs';
|
||||
import {getContractList, getRreportReturnIssue, getTotal} from './component/api';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { formatDate, formatDateStr } from '@/utils/index';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import Decimal from 'decimal.js';
|
||||
|
||||
const userStore = useUserStore();
|
||||
|
||||
@@ -356,11 +356,11 @@
|
||||
</template>
|
||||
|
||||
<script setup name="dayEnd">
|
||||
import { getAllUser, getContractList, getClincReport, testWithAxios } from './component/api';
|
||||
import {getAllUser, getClincReport, getContractList} from './component/api';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { formatDate, formatDateStr } from '@/utils/index';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import Decimal from 'decimal.js';
|
||||
import { hiprint } from 'vue-plugin-hiprint';
|
||||
import {hiprint} from 'vue-plugin-hiprint';
|
||||
import templateJson from './component/template.json';
|
||||
|
||||
const userStore = useUserStore();
|
||||
|
||||
Reference in New Issue
Block a user