diff --git a/src/api/system/dependency.js b/src/api/system/dependency.js
index 4730826..8f559ad 100644
--- a/src/api/system/dependency.js
+++ b/src/api/system/dependency.js
@@ -30,7 +30,7 @@ export function addBusDependency(data) {
export function updateBusDependency(data) {
return request({
url: '/admin/busDependency/updateBusDependency',
- method: 'put',
+ method: 'post',
data: data
})
}
diff --git a/src/views/qualification/myQualifications/index.vue b/src/views/qualification/myQualifications/index.vue
index fa51fdd..3028135 100644
--- a/src/views/qualification/myQualifications/index.vue
+++ b/src/views/qualification/myQualifications/index.vue
@@ -94,7 +94,19 @@ import LableApply from './components/LableApply.vue'
// import { addMenu, delMenu, getMenu, listMenu, updateMenu } from "@/api/system/menu"
import jobNumberIcon from '@/assets/images/job-number-icon.png'
import myAvatar from '@/assets/images/my-avatar.png'
-import { ref } from 'vue'
+import { onMounted, ref } from 'vue'
+import useUserStore from '@/store/modules/user'
+
+const userStore = useUserStore()
+// 初始化
+onMounted(() => {
+ getUserInfo()
+});
+
+// 获取当前登录用户详情
+const getUserInfo = () => {
+
+}
// 按钮组配置
const ToolOptions = ref(['高压资质培训信息', '高压车型培训信息', '资质申请', '标签申请'])
diff --git a/src/views/system/locality/index.vue b/src/views/system/locality/index.vue
index 179ea95..1665bfb 100644
--- a/src/views/system/locality/index.vue
+++ b/src/views/system/locality/index.vue
@@ -25,7 +25,7 @@
-
@@ -33,18 +33,18 @@
{{ scope.$index + 1 }}
-
-
-
-
-
-
+
+
+
+
+
+
- {{ parseTime(scope.row.createTime) }}
+ {{ scope.row.createTime ? parseTime(scope.row.createTime) : '-' }}
-
+
修改
@@ -71,14 +71,17 @@
-
-
+
+
+
+
+
-
-
+
+
-
-
+
+
@@ -93,6 +96,7 @@
+
\ No newline at end of file
diff --git a/src/views/system/section/index.vue b/src/views/system/section/index.vue
index e7615bd..d83f1c5 100644
--- a/src/views/system/section/index.vue
+++ b/src/views/system/section/index.vue
@@ -23,12 +23,17 @@
新增
-
+
-
-
-
-
+
+
+
+
+ {{ scope.$index + 1 }}
+
+
+
+
@@ -82,10 +87,10 @@ import addIcon from '@/assets/images/addIcon.png'
const { proxy } = getCurrentInstance()
const { sys_normal_disable } = proxy.useDict("sys_normal_disable")
-const postList = ref([])
+const sectionList = ref([])
const open = ref(false)
const loading = ref(true)
-const showSearch = ref(true)
+const showSearch = ref(true)
const total = ref(0)
const title = ref("")
@@ -107,8 +112,10 @@ const { queryParams, form, rules } = toRefs(data)
function getList() {
loading.value = true
getSysSectionPage(queryParams.value).then(response => {
- postList.value = response.rows
- total.value = response.total
+ if (response.code == 200) {
+ sectionList.value = response.data.list
+ total.value = response.data.total
+ }
loading.value = false
})
}
@@ -137,6 +144,11 @@ function handleQuery() {
/** 重置按钮操作 */
function resetQuery() {
+ queryParams.value = {
+ pageIndex: 1,
+ pageSize: 10,
+ keyword: undefined,
+ }
proxy.resetForm("queryRef")
handleQuery()
}
@@ -183,7 +195,7 @@ function submitForm() {
/** 删除按钮操作 */
function handleDelete(row) {
const sectionId = row.sectionId
- proxy.$modal.confirm('是否确认删除编号为"' + postIds + '"的数据项?').then(function () {
+ proxy.$modal.confirm('是否确认删除编号为"' + sectionId + '"的数据项?').then(function () {
return deleteSysSection(sectionId)
}).then(() => {
getList()