mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 04:08:44 +08:00 
			
		
		
		
	refactor: 统一 setup 格式
This commit is contained in:
		@@ -14,7 +14,7 @@
 | 
				
			|||||||
    @current-change="handleCurrentChange"
 | 
					    @current-change="handleCurrentChange"
 | 
				
			||||||
  />
 | 
					  />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { computed } from 'vue'
 | 
					import { computed } from 'vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'Pagination' })
 | 
					defineOptions({ name: 'Pagination' })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,7 +19,7 @@
 | 
				
			|||||||
  </ElDialog>
 | 
					  </ElDialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
const router = useRouter() // 路由对象
 | 
					const router = useRouter() // 路由对象
 | 
				
			||||||
const showSearch = ref(false) // 是否显示弹框
 | 
					const showSearch = ref(false) // 是否显示弹框
 | 
				
			||||||
const value: Ref = ref('') // 用户输入的值
 | 
					const value: Ref = ref('') // 用户输入的值
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,7 @@
 | 
				
			|||||||
    </el-upload>
 | 
					    </el-upload>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { PropType } from 'vue'
 | 
					import { PropType } from 'vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { propTypes } from '@/utils/propTypes'
 | 
					import { propTypes } from '@/utils/propTypes'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,7 +50,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import type { UploadProps } from 'element-plus'
 | 
					import type { UploadProps } from 'element-plus'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { generateUUID } from '@/utils'
 | 
					import { generateUUID } from '@/utils'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -206,7 +206,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
// import 'bpmn-js/dist/assets/diagram-js.css' // 左边工具栏以及编辑节点的样式
 | 
					// import 'bpmn-js/dist/assets/diagram-js.css' // 左边工具栏以及编辑节点的样式
 | 
				
			||||||
// import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css'
 | 
					// import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css'
 | 
				
			||||||
// import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css'
 | 
					// import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import BpmnViewer from 'bpmn-js/lib/Viewer'
 | 
					import BpmnViewer from 'bpmn-js/lib/Viewer'
 | 
				
			||||||
import DefaultEmptyXML from './plugins/defaultEmpty'
 | 
					import DefaultEmptyXML from './plugins/defaultEmpty'
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { assign } from 'min-dash'
 | 
					import { assign } from 'min-dash'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'MyProcessPalette' })
 | 
					defineOptions({ name: 'MyProcessPalette' })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,7 +62,7 @@
 | 
				
			|||||||
    </el-collapse>
 | 
					    </el-collapse>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import ElementBaseInfo from './base/ElementBaseInfo.vue'
 | 
					import ElementBaseInfo from './base/ElementBaseInfo.vue'
 | 
				
			||||||
import ElementOtherConfig from './other/ElementOtherConfig.vue'
 | 
					import ElementOtherConfig from './other/ElementOtherConfig.vue'
 | 
				
			||||||
import ElementTask from './task/ElementTask.vue'
 | 
					import ElementTask from './task/ElementTask.vue'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@
 | 
				
			|||||||
    </el-form>
 | 
					    </el-form>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'ElementBaseInfo' })
 | 
					defineOptions({ name: 'ElementBaseInfo' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,7 +62,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'FlowCondition' })
 | 
					defineOptions({ name: 'FlowCondition' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -222,7 +222,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'ElementForm' })
 | 
					defineOptions({ name: 'ElementForm' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -241,7 +241,7 @@
 | 
				
			|||||||
    </el-dialog>
 | 
					    </el-dialog>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { ElMessageBox } from 'element-plus'
 | 
					import { ElMessageBox } from 'element-plus'
 | 
				
			||||||
import { createListenerObject, updateElementExtensions } from '../../utils'
 | 
					import { createListenerObject, updateElementExtensions } from '../../utils'
 | 
				
			||||||
import { initListenerType, initListenerForm, listenerType, fieldType } from './utilSelf'
 | 
					import { initListenerType, initListenerForm, listenerType, fieldType } from './utilSelf'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -287,7 +287,7 @@
 | 
				
			|||||||
    </el-dialog>
 | 
					    </el-dialog>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { ElMessageBox } from 'element-plus'
 | 
					import { ElMessageBox } from 'element-plus'
 | 
				
			||||||
import { createListenerObject, updateElementExtensions } from '../../utils'
 | 
					import { createListenerObject, updateElementExtensions } from '../../utils'
 | 
				
			||||||
import { initListenerForm, initListenerType, eventType, listenerType, fieldType } from './utilSelf'
 | 
					import { initListenerForm, initListenerType, eventType, listenerType, fieldType } from './utilSelf'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -66,7 +66,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'ElementMultiInstance' })
 | 
					defineOptions({ name: 'ElementMultiInstance' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'ElementOtherConfig' })
 | 
					defineOptions({ name: 'ElementOtherConfig' })
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
  id: String
 | 
					  id: String
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -53,7 +53,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { ElMessageBox } from 'element-plus'
 | 
					import { ElMessageBox } from 'element-plus'
 | 
				
			||||||
defineOptions({ name: 'ElementProperties' })
 | 
					defineOptions({ name: 'ElementProperties' })
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -45,7 +45,7 @@
 | 
				
			|||||||
    </el-dialog>
 | 
					    </el-dialog>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'SignalAndMassage' })
 | 
					defineOptions({ name: 'SignalAndMassage' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const message = useMessage()
 | 
					const message = useMessage()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,7 +20,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import UserTask from './task-components/UserTask.vue'
 | 
					import UserTask from './task-components/UserTask.vue'
 | 
				
			||||||
import ScriptTask from './task-components/ScriptTask.vue'
 | 
					import ScriptTask from './task-components/ScriptTask.vue'
 | 
				
			||||||
import ReceiveTask from './task-components/ReceiveTask.vue'
 | 
					import ReceiveTask from './task-components/ReceiveTask.vue'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -48,7 +48,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'ReceiveTask' })
 | 
					defineOptions({ name: 'ReceiveTask' })
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
  id: String,
 | 
					  id: String,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -44,7 +44,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'ScriptTask' })
 | 
					defineOptions({ name: 'ScriptTask' })
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
  id: String,
 | 
					  id: String,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,7 +37,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'UserTask' })
 | 
					defineOptions({ name: 'UserTask' })
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
  id: String,
 | 
					  id: String,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,7 +160,7 @@
 | 
				
			|||||||
    </el-col>
 | 
					    </el-col>
 | 
				
			||||||
  </el-row>
 | 
					  </el-row>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { set } from 'lodash-es'
 | 
					import { set } from 'lodash-es'
 | 
				
			||||||
import { EChartsOption } from 'echarts'
 | 
					import { EChartsOption } from 'echarts'
 | 
				
			||||||
import { formatTime } from '@/utils'
 | 
					import { formatTime } from '@/utils'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
<template>
 | 
					<template>
 | 
				
			||||||
  <div></div>
 | 
					  <div></div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'Redirect' })
 | 
					defineOptions({ name: 'Redirect' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const { currentRoute, replace } = useRouter()
 | 
					const { currentRoute, replace } = useRouter()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -94,7 +94,7 @@
 | 
				
			|||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE } from '@/utils/dict'
 | 
					import { DICT_TYPE } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
 | 
					import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -111,7 +111,7 @@
 | 
				
			|||||||
  <UserGroupForm ref="formRef" @success="getList" />
 | 
					  <UserGroupForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as UserGroupApi from '@/api/bpm/userGroup'
 | 
					import * as UserGroupApi from '@/api/bpm/userGroup'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@
 | 
				
			|||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { MyProcessDesigner, MyProcessPenal } from '@/components/bpmnProcessDesigner/package'
 | 
					import { MyProcessDesigner, MyProcessPenal } from '@/components/bpmnProcessDesigner/package'
 | 
				
			||||||
// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
 | 
					// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
 | 
				
			||||||
import CustomContentPadProvider from '@/components/bpmnProcessDesigner/package/designer/plugins/content-pad'
 | 
					import CustomContentPadProvider from '@/components/bpmnProcessDesigner/package/designer/plugins/content-pad'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -226,7 +226,7 @@
 | 
				
			|||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter, formatDate } from '@/utils/formatTime'
 | 
					import { dateFormatter, formatDate } from '@/utils/formatTime'
 | 
				
			||||||
import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
 | 
					import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -42,7 +42,7 @@
 | 
				
			|||||||
    </el-form-item>
 | 
					    </el-form-item>
 | 
				
			||||||
  </el-form>
 | 
					  </el-form>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import * as LeaveApi from '@/api/bpm/leave'
 | 
					import * as LeaveApi from '@/api/bpm/leave'
 | 
				
			||||||
import { useTagsViewStore } from '@/store/modules/tagsView'
 | 
					import { useTagsViewStore } from '@/store/modules/tagsView'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -138,7 +138,7 @@
 | 
				
			|||||||
    />
 | 
					    />
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as LeaveApi from '@/api/bpm/leave'
 | 
					import * as LeaveApi from '@/api/bpm/leave'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -46,7 +46,7 @@
 | 
				
			|||||||
    <ProcessInstanceBpmnViewer :bpmn-xml="bpmnXML as any" />
 | 
					    <ProcessInstanceBpmnViewer :bpmn-xml="bpmnXML as any" />
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE } from '@/utils/dict'
 | 
					import { DICT_TYPE } from '@/utils/dict'
 | 
				
			||||||
import * as DefinitionApi from '@/api/bpm/definition'
 | 
					import * as DefinitionApi from '@/api/bpm/definition'
 | 
				
			||||||
import * as ProcessInstanceApi from '@/api/bpm/processInstance'
 | 
					import * as ProcessInstanceApi from '@/api/bpm/processInstance'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -159,7 +159,7 @@
 | 
				
			|||||||
    />
 | 
					    />
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import { ElMessageBox } from 'element-plus'
 | 
					import { ElMessageBox } from 'element-plus'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,7 @@
 | 
				
			|||||||
  <!-- 添加/修改弹窗 -->
 | 
					  <!-- 添加/修改弹窗 -->
 | 
				
			||||||
  <TaskAssignRuleForm ref="formRef" @success="getList" />
 | 
					  <TaskAssignRuleForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import * as TaskAssignRuleApi from '@/api/bpm/taskAssignRule'
 | 
					import * as TaskAssignRuleApi from '@/api/bpm/taskAssignRule'
 | 
				
			||||||
import * as RoleApi from '@/api/system/role'
 | 
					import * as RoleApi from '@/api/system/role'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -139,7 +139,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:详情 -->
 | 
					  <!-- 表单弹窗:详情 -->
 | 
				
			||||||
  <ApiAccessLogDetail ref="detailRef" />
 | 
					  <ApiAccessLogDetail ref="detailRef" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
import { formatDate } from '@/utils/formatTime'
 | 
					import { formatDate } from '@/utils/formatTime'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -158,7 +158,7 @@
 | 
				
			|||||||
  <ApiErrorLogDetail ref="detailRef" />
 | 
					  <ApiErrorLogDetail ref="detailRef" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,7 +29,7 @@
 | 
				
			|||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import FcDesigner from '@form-create/designer'
 | 
					import FcDesigner from '@form-create/designer'
 | 
				
			||||||
import { useClipboard } from '@vueuse/core'
 | 
					import { useClipboard } from '@vueuse/core'
 | 
				
			||||||
import { isString } from '@/utils/is'
 | 
					import { isString } from '@/utils/is'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -137,7 +137,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <ConfigForm ref="formRef" @success="getList" />
 | 
					  <ConfigForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -57,7 +57,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <DataSourceConfigForm ref="formRef" @success="getList" />
 | 
					  <DataSourceConfigForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as DataSourceConfigApi from '@/api/infra/dataSourceConfig'
 | 
					import * as DataSourceConfigApi from '@/api/infra/dataSourceConfig'
 | 
				
			||||||
import DataSourceConfigForm from './DataSourceConfigForm.vue'
 | 
					import DataSourceConfigForm from './DataSourceConfigForm.vue'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@
 | 
				
			|||||||
    <IFrame v-if="!loading" v-loading="loading" :src="src" />
 | 
					    <IFrame v-if="!loading" v-loading="loading" :src="src" />
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
import * as DbDocApi from '@/api/infra/dbDoc'
 | 
					import * as DbDocApi from '@/api/infra/dbDoc'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@
 | 
				
			|||||||
    <IFrame v-if="!loading" :src="url" />
 | 
					    <IFrame v-if="!loading" :src="url" />
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as ConfigApi from '@/api/infra/config'
 | 
					import * as ConfigApi from '@/api/infra/config'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'InfraDruid' })
 | 
					defineOptions({ name: 'InfraDruid' })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -91,7 +91,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <FileForm ref="formRef" @success="getList" />
 | 
					  <FileForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { fileSizeFormatter } from '@/utils'
 | 
					import { fileSizeFormatter } from '@/utils'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as FileApi from '@/api/infra/file'
 | 
					import * as FileApi from '@/api/infra/file'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -126,7 +126,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <FileConfigForm ref="formRef" @success="getList" />
 | 
					  <FileConfigForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as FileConfigApi from '@/api/infra/fileConfig'
 | 
					import * as FileConfigApi from '@/api/infra/fileConfig'
 | 
				
			||||||
import FileConfigForm from './FileConfigForm.vue'
 | 
					import FileConfigForm from './FileConfigForm.vue'
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -45,7 +45,7 @@
 | 
				
			|||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as JobApi from '@/api/infra/job'
 | 
					import * as JobApi from '@/api/infra/job'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'JobForm' })
 | 
					defineOptions({ name: 'JobForm' })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -147,7 +147,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:查看 -->
 | 
					  <!-- 表单弹窗:查看 -->
 | 
				
			||||||
  <JobDetail ref="detailRef" />
 | 
					  <JobDetail ref="detailRef" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { checkPermi } from '@/utils/permission'
 | 
					import { checkPermi } from '@/utils/permission'
 | 
				
			||||||
import JobForm from './JobForm.vue'
 | 
					import JobForm from './JobForm.vue'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -121,7 +121,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:查看 -->
 | 
					  <!-- 表单弹窗:查看 -->
 | 
				
			||||||
  <JobLogDetail ref="detailRef" />
 | 
					  <JobLogDetail ref="detailRef" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { formatDate } from '@/utils/formatTime'
 | 
					import { formatDate } from '@/utils/formatTime'
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,7 +62,7 @@
 | 
				
			|||||||
    </el-row>
 | 
					    </el-row>
 | 
				
			||||||
  </el-scrollbar>
 | 
					  </el-scrollbar>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as RedisApi from '@/api/infra/redis'
 | 
					import * as RedisApi from '@/api/infra/redis'
 | 
				
			||||||
import { RedisMonitorInfoVO } from '@/api/infra/redis/types'
 | 
					import { RedisMonitorInfoVO } from '@/api/infra/redis/types'
 | 
				
			||||||
const cache = ref<RedisMonitorInfoVO>()
 | 
					const cache = ref<RedisMonitorInfoVO>()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@
 | 
				
			|||||||
    <IFrame v-if="!loading" v-loading="loading" :src="src" />
 | 
					    <IFrame v-if="!loading" v-loading="loading" :src="src" />
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as ConfigApi from '@/api/infra/config'
 | 
					import * as ConfigApi from '@/api/infra/config'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'InfraAdminServer' })
 | 
					defineOptions({ name: 'InfraAdminServer' })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@
 | 
				
			|||||||
    <IFrame v-if="!loading" v-loading="loading" :src="src" />
 | 
					    <IFrame v-if="!loading" v-loading="loading" :src="src" />
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as ConfigApi from '@/api/infra/config'
 | 
					import * as ConfigApi from '@/api/infra/config'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'InfraSkyWalking' })
 | 
					defineOptions({ name: 'InfraSkyWalking' })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@
 | 
				
			|||||||
    <IFrame :src="src" />
 | 
					    <IFrame :src="src" />
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as ConfigApi from '@/api/infra/config'
 | 
					import * as ConfigApi from '@/api/infra/config'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'InfraSwagger' })
 | 
					defineOptions({ name: 'InfraSwagger' })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
<template>
 | 
					<template>
 | 
				
			||||||
  <div>index</div>
 | 
					  <div>index</div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts"></script>
 | 
					<script lang="ts" setup></script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,7 +37,7 @@
 | 
				
			|||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { CommonStatusEnum } from '@/utils/constants'
 | 
					import { CommonStatusEnum } from '@/utils/constants'
 | 
				
			||||||
import * as ProductBrandApi from '@/api/mall/product/brand'
 | 
					import * as ProductBrandApi from '@/api/mall/product/brand'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -108,7 +108,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <BrandForm ref="formRef" @success="getList" />
 | 
					  <BrandForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as ProductBrandApi from '@/api/mall/product/brand'
 | 
					import * as ProductBrandApi from '@/api/mall/product/brand'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,7 +50,7 @@
 | 
				
			|||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { CommonStatusEnum } from '@/utils/constants'
 | 
					import { CommonStatusEnum } from '@/utils/constants'
 | 
				
			||||||
import * as ProductCategoryApi from '@/api/mall/product/category'
 | 
					import * as ProductCategoryApi from '@/api/mall/product/category'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -80,7 +80,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <CategoryForm ref="formRef" @success="getList" />
 | 
					  <CategoryForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE } from '@/utils/dict'
 | 
					import { DICT_TYPE } from '@/utils/dict'
 | 
				
			||||||
import { handleTree } from '@/utils/tree'
 | 
					import { handleTree } from '@/utils/tree'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -88,7 +88,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <ValueForm ref="formRef" @success="getList" />
 | 
					  <ValueForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as PropertyApi from '@/api/mall/product/property'
 | 
					import * as PropertyApi from '@/api/mall/product/property'
 | 
				
			||||||
import ValueForm from './ValueForm.vue'
 | 
					import ValueForm from './ValueForm.vue'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@
 | 
				
			|||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { CommonStatusEnum } from '@/utils/constants'
 | 
					import { CommonStatusEnum } from '@/utils/constants'
 | 
				
			||||||
import * as DeliveryExpressApi from '@/api/mall/trade/delivery/express'
 | 
					import * as DeliveryExpressApi from '@/api/mall/trade/delivery/express'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -99,7 +99,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <ExpressForm ref="formRef" @success="getList" />
 | 
					  <ExpressForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE } from '@/utils/dict'
 | 
					import { DICT_TYPE } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -137,7 +137,7 @@
 | 
				
			|||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import * as DeliveryExpressTemplateApi from '@/api/mall/trade/delivery/expressTemplate'
 | 
					import * as DeliveryExpressTemplateApi from '@/api/mall/trade/delivery/expressTemplate'
 | 
				
			||||||
import { defaultProps } from '@/utils/tree'
 | 
					import { defaultProps } from '@/utils/tree'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -92,7 +92,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <ExpressTemplateForm ref="formRef" @success="getList" />
 | 
					  <ExpressTemplateForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as DeliveryExpressTemplateApi from '@/api/mall/trade/delivery/expressTemplate'
 | 
					import * as DeliveryExpressTemplateApi from '@/api/mall/trade/delivery/expressTemplate'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -100,7 +100,7 @@
 | 
				
			|||||||
  <!-- 对话框(添加 / 修改) -->
 | 
					  <!-- 对话框(添加 / 修改) -->
 | 
				
			||||||
  <AccountForm ref="formRef" @success="getList" />
 | 
					  <AccountForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as AccountApi from '@/api/mp/account'
 | 
					import * as AccountApi from '@/api/mp/account'
 | 
				
			||||||
import AccountForm from './AccountForm.vue'
 | 
					import AccountForm from './AccountForm.vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxReplySelect, { type Reply } from '@/views/mp/components/wx-reply'
 | 
					import WxReplySelect, { type Reply } from '@/views/mp/components/wx-reply'
 | 
				
			||||||
import type { FormInstance } from 'element-plus'
 | 
					import type { FormInstance } from 'element-plus'
 | 
				
			||||||
import { MsgType } from './types'
 | 
					import { MsgType } from './types'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -93,7 +93,7 @@
 | 
				
			|||||||
    </el-table-column>
 | 
					    </el-table-column>
 | 
				
			||||||
  </el-table>
 | 
					  </el-table>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
					import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
				
			||||||
import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
					import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
				
			||||||
import WxMusic from '@/views/mp/components/wx-music'
 | 
					import WxMusic from '@/views/mp/components/wx-music'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -67,7 +67,7 @@
 | 
				
			|||||||
    </el-dialog>
 | 
					    </el-dialog>
 | 
				
			||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import ReplyForm from '@/views/mp/autoReply/components/ReplyForm.vue'
 | 
					import ReplyForm from '@/views/mp/autoReply/components/ReplyForm.vue'
 | 
				
			||||||
import { type Reply, ReplyType } from '@/views/mp/components/wx-reply'
 | 
					import { type Reply, ReplyType } from '@/views/mp/components/wx-reply'
 | 
				
			||||||
import WxAccountSelect from '@/views/mp/components/wx-account-select'
 | 
					import WxAccountSelect from '@/views/mp/components/wx-account-select'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,7 +39,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'WxLocation' })
 | 
					defineOptions({ name: 'WxLocation' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -48,7 +48,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
					import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
				
			||||||
import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
					import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
				
			||||||
import WxNews from '@/views/mp/components/wx-news'
 | 
					import WxNews from '@/views/mp/components/wx-news'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,7 +40,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
const props = defineProps<{
 | 
					const props = defineProps<{
 | 
				
			||||||
  item: any
 | 
					  item: any
 | 
				
			||||||
}>()
 | 
					}>()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@
 | 
				
			|||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import Msg from './Msg.vue'
 | 
					import Msg from './Msg.vue'
 | 
				
			||||||
import { formatDate } from '@/utils/formatTime'
 | 
					import { formatDate } from '@/utils/formatTime'
 | 
				
			||||||
import { User } from '../types'
 | 
					import { User } from '../types'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,7 +30,7 @@
 | 
				
			|||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxReplySelect, { Reply, ReplyType } from '@/views/mp/components/wx-reply'
 | 
					import WxReplySelect, { Reply, ReplyType } from '@/views/mp/components/wx-reply'
 | 
				
			||||||
import MsgList from './components/MsgList.vue'
 | 
					import MsgList from './components/MsgList.vue'
 | 
				
			||||||
import { getMessagePage, sendMessage } from '@/api/mp/message'
 | 
					import { getMessagePage, sendMessage } from '@/api/mp/message'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,7 +25,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
defineOptions({ name: 'WxMusic' })
 | 
					defineOptions({ name: 'WxMusic' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const props = defineProps({
 | 
					const props = defineProps({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -55,7 +55,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
					import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
				
			||||||
import { UploadType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
 | 
					import { UploadType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
 | 
				
			||||||
import type { UploadRawFile } from 'element-plus'
 | 
					import type { UploadRawFile } from 'element-plus'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -58,7 +58,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
					import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
				
			||||||
import type { UploadRawFile } from 'element-plus'
 | 
					import type { UploadRawFile } from 'element-plus'
 | 
				
			||||||
import { UploadType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
 | 
					import { UploadType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxNews from '@/views/mp/components/wx-news'
 | 
					import WxNews from '@/views/mp/components/wx-news'
 | 
				
			||||||
import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
					import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
				
			||||||
import { Reply, NewsType } from './types'
 | 
					import { Reply, NewsType } from './types'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
  <el-input type="textarea" :rows="5" placeholder="请输入内容" v-model="content" />
 | 
					  <el-input type="textarea" :rows="5" placeholder="请输入内容" v-model="content" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
const props = defineProps<{
 | 
					const props = defineProps<{
 | 
				
			||||||
  modelValue?: string | null
 | 
					  modelValue?: string | null
 | 
				
			||||||
}>()
 | 
					}>()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -48,7 +48,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
					import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
				
			||||||
import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
					import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
				
			||||||
import type { UploadRawFile } from 'element-plus'
 | 
					import type { UploadRawFile } from 'element-plus'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -52,7 +52,7 @@
 | 
				
			|||||||
    </el-row>
 | 
					    </el-row>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
					import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
				
			||||||
import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
					import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
				
			||||||
import { UploadType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
 | 
					import { UploadType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -59,7 +59,7 @@
 | 
				
			|||||||
  </el-tabs>
 | 
					  </el-tabs>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { Reply, NewsType, ReplyType, createEmptyReply } from './components/types'
 | 
					import { Reply, NewsType, ReplyType, createEmptyReply } from './components/types'
 | 
				
			||||||
import TabText from './components/TabText.vue'
 | 
					import TabText from './components/TabText.vue'
 | 
				
			||||||
import TabImage from './components/TabImage.vue'
 | 
					import TabImage from './components/TabImage.vue'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -48,7 +48,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import 'video.js/dist/video-js.css'
 | 
					import 'video.js/dist/video-js.css'
 | 
				
			||||||
import { VideoPlayer } from '@videojs-player/vue'
 | 
					import { VideoPlayer } from '@videojs-player/vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -23,7 +23,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
// 因为微信语音是 amr 格式,所以需要用到 amr 解码器:https://www.npmjs.com/package/benz-amr-recorder
 | 
					// 因为微信语音是 amr 格式,所以需要用到 amr 解码器:https://www.npmjs.com/package/benz-amr-recorder
 | 
				
			||||||
import BenzAMRRecorder from 'benz-amr-recorder'
 | 
					import BenzAMRRecorder from 'benz-amr-recorder'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -59,7 +59,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
					import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
				
			||||||
import { getAccessToken } from '@/utils/auth'
 | 
					import { getAccessToken } from '@/utils/auth'
 | 
				
			||||||
import type { UploadFiles, UploadProps, UploadRawFile } from 'element-plus'
 | 
					import type { UploadFiles, UploadProps, UploadRawFile } from 'element-plus'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,7 +35,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxNews from '@/views/mp/components/wx-news'
 | 
					import WxNews from '@/views/mp/components/wx-news'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { Article } from './types'
 | 
					import { Article } from './types'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -125,7 +125,7 @@
 | 
				
			|||||||
  </el-container>
 | 
					  </el-container>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { Editor } from '@/components/Editor'
 | 
					import { Editor } from '@/components/Editor'
 | 
				
			||||||
import { createEditorConfig } from '../editor-config'
 | 
					import { createEditorConfig } from '../editor-config'
 | 
				
			||||||
import CoverSelect from './CoverSelect.vue'
 | 
					import CoverSelect from './CoverSelect.vue'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -61,7 +61,7 @@
 | 
				
			|||||||
  </el-dialog>
 | 
					  </el-dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxAccountSelect from '@/views/mp/components/wx-account-select'
 | 
					import WxAccountSelect from '@/views/mp/components/wx-account-select'
 | 
				
			||||||
import * as MpDraftApi from '@/api/mp/draft'
 | 
					import * as MpDraftApi from '@/api/mp/draft'
 | 
				
			||||||
import * as MpFreePublishApi from '@/api/mp/freePublish'
 | 
					import * as MpFreePublishApi from '@/api/mp/freePublish'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,7 +19,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
const props = defineProps<{
 | 
					const props = defineProps<{
 | 
				
			||||||
  list: any[]
 | 
					  list: any[]
 | 
				
			||||||
  loading: boolean
 | 
					  loading: boolean
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,7 +18,7 @@
 | 
				
			|||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
  </el-upload>
 | 
					  </el-upload>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import type { UploadProps, UploadUserFile } from 'element-plus'
 | 
					import type { UploadProps, UploadUserFile } from 'element-plus'
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
  HEADERS,
 | 
					  HEADERS,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,7 +47,7 @@
 | 
				
			|||||||
  </el-dialog>
 | 
					  </el-dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import type {
 | 
					import type {
 | 
				
			||||||
  FormInstance,
 | 
					  FormInstance,
 | 
				
			||||||
  FormRules,
 | 
					  FormRules,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@
 | 
				
			|||||||
  </el-table>
 | 
					  </el-table>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
					import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -36,7 +36,7 @@
 | 
				
			|||||||
  </el-table>
 | 
					  </el-table>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
					import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -112,7 +112,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxReplySelect from '@/views/mp/components/wx-reply'
 | 
					import WxReplySelect from '@/views/mp/components/wx-reply'
 | 
				
			||||||
import WxNews from '@/views/mp/components/wx-news'
 | 
					import WxNews from '@/views/mp/components/wx-news'
 | 
				
			||||||
import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
					import WxMaterialSelect from '@/views/mp/components/wx-material-select'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -57,7 +57,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { Menu } from './types'
 | 
					import { Menu } from './types'
 | 
				
			||||||
import draggable from 'vuedraggable'
 | 
					import draggable from 'vuedraggable'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -121,7 +121,7 @@
 | 
				
			|||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
					import WxVideoPlayer from '@/views/mp/components/wx-video-play'
 | 
				
			||||||
import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
					import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
 | 
				
			||||||
import WxLocation from '@/views/mp/components/wx-location'
 | 
					import WxLocation from '@/views/mp/components/wx-location'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -79,7 +79,7 @@
 | 
				
			|||||||
    <WxMsg :user-id="messageBox.userId" />
 | 
					    <WxMsg :user-id="messageBox.userId" />
 | 
				
			||||||
  </el-dialog>
 | 
					  </el-dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as MpMessageApi from '@/api/mp/message'
 | 
					import * as MpMessageApi from '@/api/mp/message'
 | 
				
			||||||
import WxMsg from '@/views/mp/components/wx-msg'
 | 
					import WxMsg from '@/views/mp/components/wx-msg'
 | 
				
			||||||
import WxAccountSelect from '@/views/mp/components/wx-account-select'
 | 
					import WxAccountSelect from '@/views/mp/components/wx-account-select'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -73,7 +73,7 @@
 | 
				
			|||||||
  </ContentWrap>
 | 
					  </ContentWrap>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { formatDate, addTime, betweenDay, beginOfDay, endOfDay } from '@/utils/formatTime'
 | 
					import { formatDate, addTime, betweenDay, beginOfDay, endOfDay } from '@/utils/formatTime'
 | 
				
			||||||
import * as StatisticsApi from '@/api/mp/statistics'
 | 
					import * as StatisticsApi from '@/api/mp/statistics'
 | 
				
			||||||
import * as MpAccountApi from '@/api/mp/account'
 | 
					import * as MpAccountApi from '@/api/mp/account'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -82,7 +82,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <TagForm ref="formRef" @success="getList" />
 | 
					  <TagForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as MpTagApi from '@/api/mp/tag'
 | 
					import * as MpTagApi from '@/api/mp/tag'
 | 
				
			||||||
import TagForm from './TagForm.vue'
 | 
					import TagForm from './TagForm.vue'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -303,7 +303,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <AppForm ref="formRef" @success="getList" />
 | 
					  <AppForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -137,7 +137,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:添加/修改 -->
 | 
					  <!-- 表单弹窗:添加/修改 -->
 | 
				
			||||||
  <MerchantForm ref="formRef" @success="getList" />
 | 
					  <MerchantForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { CommonStatusEnum } from '@/utils/constants'
 | 
					import { CommonStatusEnum } from '@/utils/constants'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -228,7 +228,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:预览 -->
 | 
					  <!-- 表单弹窗:预览 -->
 | 
				
			||||||
  <OrderDetail ref="detailRef" @success="getList" />
 | 
					  <OrderDetail ref="detailRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as MerchantApi from '@/api/pay/merchant'
 | 
					import * as MerchantApi from '@/api/pay/merchant'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -232,7 +232,7 @@
 | 
				
			|||||||
  <!-- 表单弹窗:预览 -->
 | 
					  <!-- 表单弹窗:预览 -->
 | 
				
			||||||
  <RefundDetail ref="detailRef" @success="getList" />
 | 
					  <RefundDetail ref="detailRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import * as MerchantApi from '@/api/pay/merchant'
 | 
					import * as MerchantApi from '@/api/pay/merchant'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,7 +33,7 @@
 | 
				
			|||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import * as ConfigApi from '@/api/point/config'
 | 
					import * as ConfigApi from '@/api/point/config'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const { t } = useI18n() // 国际化
 | 
					const { t } = useI18n() // 国际化
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -101,7 +101,7 @@
 | 
				
			|||||||
  <ConfigForm ref="formRef" @success="getList" />
 | 
					  <ConfigForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
import * as ConfigApi from '@/api/point/config'
 | 
					import * as ConfigApi from '@/api/point/config'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -82,7 +82,7 @@
 | 
				
			|||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
  </Dialog>
 | 
					  </Dialog>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getStrDictOptions, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getStrDictOptions, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import * as RecordApi from '@/api/point/record'
 | 
					import * as RecordApi from '@/api/point/record'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -169,7 +169,7 @@
 | 
				
			|||||||
  <RecordForm ref="formRef" @success="getList" />
 | 
					  <RecordForm ref="formRef" @success="getList" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { DICT_TYPE, getStrDictOptions, getIntDictOptions } from '@/utils/dict'
 | 
					import { DICT_TYPE, getStrDictOptions, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { dateFormatter } from '@/utils/formatTime'
 | 
					import { dateFormatter } from '@/utils/formatTime'
 | 
				
			||||||
import download from '@/utils/download'
 | 
					import download from '@/utils/download'
 | 
				
			||||||
 
 | 
				
			|||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user