Forráskód Böngészése

feat: #0000 流程模型 列表 100%

luoyali 1 éve
szülő
commit
e7bcff312a

+ 1 - 1
src/api/system/department.ts

@@ -3,7 +3,7 @@ import { AxiosPromise } from 'axios'
 
 // apiUrl 部门管理
 const api = {
-	page: '/sys/department/form-tree',
+	page: '/sys/department/list-tree',
 	create: '/sys/department/create',
 	update: '/sys/department/update',
 	delete: '/sys/department/delete'

+ 1 - 1
src/api/system/dict.ts

@@ -4,7 +4,7 @@ import { AxiosPromise } from 'axios'
 // apiUrl 字典管理
 const api = {
 	page: '/sys/dict/page',
-	listParent: '/sys/dict/form-parent',
+	listParent: '/sys/dict/list-parent',
 	create: '/sys/dict/create',
 	update: '/sys/dict/update',
 	delete: '/sys/dict/delete'

+ 1 - 1
src/api/system/region.ts

@@ -3,7 +3,7 @@ import { AxiosPromise } from 'axios'
 
 // apiUrl 行政区域
 const api = {
-	page: '/sys/region/form-tree',
+	page: '/sys/region/list-tree',
 	create: '/sys/region/create',
 	update: '/sys/region/update',
 	delete: '/sys/region/delete'

+ 2 - 2
src/api/system/resource.ts

@@ -4,8 +4,8 @@ import { AxiosPromise } from 'axios'
 // apiUrl 菜单管理
 const api = {
 	page: '/sys/resource/page',
-	listTree: '/sys/resource/form-tree',
-	listApi: '/sys/resource/form-api',
+	listTree: '/sys/resource/list-tree',
+	listApi: '/sys/resource/list-api',
 	create: '/sys/resource/create',
 	update: '/sys/resource/update',
 	delete: '/sys/resource/delete'

+ 2 - 2
src/api/system/role.ts

@@ -4,8 +4,8 @@ import { AxiosPromise } from 'axios'
 // apiUrl
 const api = {
 	page: '/sys/role/page',
-	listTree: '/sys/role/form-tree',
-	listAll: '/sys/role/form-all',
+	listTree: '/sys/role/list-tree',
+	listAll: '/sys/role/list-all',
 	create: '/sys/role/create',
 	update: '/sys/role/update',
 	delete: '/sys/role/delete',

+ 3 - 3
src/views/components/components/SearchGroup2Popover.vue

@@ -168,8 +168,8 @@
 			</div>
 		</LePopover>-->
 		<div>-------分割--------</div>
-		<!--   模拟 查看更多下拉列表 类型 le-popover--form   -->
-		<!--      <LePopover trigger="click" :popperClass="`le-popover&#45;&#45;form ${'popperClass'}`" placement="right">
+		<!--   模拟 查看更多下拉列表 类型 le-popover--list   -->
+		<!--      <LePopover trigger="click" :popperClass="`le-popover&#45;&#45;list ${'popperClass'}`" placement="right">
 			<div class="labelWrap" style="width: 400px;background: #f00;" slot="reference">
 				可售:666(le-popover默认 click 触发le-popover-list展示)
 			</div>
@@ -193,7 +193,7 @@
 			</el-main>
 		</LePopover>-->
 		<div>-------分割--------</div>
-		<!--      <LePopover :first-load='true' trigger="click" :popperClass="`le-popover&#45;&#45;form ${'popperClass'}`" placement="right">
+		<!--      <LePopover :first-load='true' trigger="click" :popperClass="`le-popover&#45;&#45;list ${'popperClass'}`" placement="right">
 			<div class="labelWrap" style="width: 690px;background: #ff0;" slot="reference">
 				可售:666(le-popover默认 click 触发le-popover-list展示【slot default 内容未展示 就触发生命周期示例】)
 			</div>

+ 1 - 1
src/views/components/index.vue

@@ -84,7 +84,7 @@
     <div class="content">...</div>
     <div class="common_title">iconfont && LeIcon</div>
     <div class="content">
-      <el-card shadow="never" class="le-card-bg picking-form" header="Picking List">
+      <el-card shadow="never" class="le-card-bg picking-list" header="Picking List">
         <template slot="header">
           Picking List&#45;&#45;&#45;&#45;
           <el-button type="text">Clear</el-button>

+ 3 - 3
src/views/demo/pageConfig/index.vue

@@ -14,7 +14,7 @@
 			</template>
 		</LeSearchForm>
 		<!--  LeTable 组件使用 示例:  -->
-<!--		:form="tableOpts.form"
+<!--		:list="tableOpts.list"
 		:total="tableOpts.total"
 		:options="tableOpts.options"
 		:columns_="tableOpts.columns"
@@ -373,7 +373,7 @@ const queryList = () => {
 		.then((data: any) => {
 			const { total, data: list } = data
 			tableOpts.total = total
-			// form.push({})
+			// list.push({})
 			tableOpts.list = list
 		})
 		.finally(() => {
@@ -513,7 +513,7 @@ checkedColumns.value = columns.slice(0, 2)
 		roles: []
 	},
 	total: 0, // table数据总条数
-	form: [], // table数据
+	list: [], // table数据
 	// table 的参数
 	options: {
 		loading: false, // 是否添加表格loading加载动画

+ 2 - 2
src/views/setting/department/index.vue

@@ -153,9 +153,9 @@ const queryList = async () => {
 		// tableOpts.total = total
 		tableOpts.list = list
 		formsDialog.value[0].options = list
-		// const test = replaceChildren(form)
+		// const test = replaceChildren(list)
 		// console.log(test);
-		// formsDialog.value[1].options = form
+		// formsDialog.value[1].options = list
 	} catch {
 		console.log('获取列表数据失败')
 		// tableOpts.total = 0

+ 2 - 2
src/views/setting/region/index.vue

@@ -140,9 +140,9 @@ const queryList = async () => {
 		// tableOpts.total = total
 		tableOpts.list = list
 		formsDialog.value[0].options = list
-		// const test = replaceChildren(form)
+		// const test = replaceChildren(list)
 		// console.log(test);
-		// formsDialog.value[1].options = form
+		// formsDialog.value[1].options = list
 	} catch {
 		console.log('获取列表数据失败')
 		// tableOpts.total = 0

+ 2 - 2
src/views/test/componentCommunication/components/Comp_Refs/index.vue

@@ -12,11 +12,11 @@
 <script setup>
 import { onMounted, ref } from 'vue'
 import ChildComponents from './child.vue'
-// const form = ref([])
+// const list = ref([])
 const childRef = ref(null)
 onMounted(() => {
 	console.error(childRef, 'childRef')
 	window.childRef = childRef
-	// form.value = childRef.form
+	// list.value = childRef.list
 })
 </script>

+ 1 - 1
src/views/test/testSetup.vue

@@ -103,7 +103,7 @@ const { loading, multiple, queryParams, brandList, total, dialog, formData, rule
 function handleQuery() {
 	state.loading = true
 	// listBrandPages(state.queryParams).then(({ data }) => {
-	//   state.brandList = data.form
+	//   state.brandList = data.list
 	//   state.total = data.total
 	//   state.loading = false
 	// })