|
@@ -1,12 +1,9 @@
|
|
import { ref, reactive, onMounted } from "vue";
|
|
import { ref, reactive, onMounted } from "vue";
|
|
-import { useDictStore } from "@/store/modules/useDictStore/index";
|
|
|
|
import { getList, deleteProject } from "./useAxios.hook";
|
|
import { getList, deleteProject } from "./useAxios.hook";
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
|
|
|
// 数据初始化
|
|
// 数据初始化
|
|
export const useDataListInit = () => {
|
|
export const useDataListInit = () => {
|
|
- const dictStore = useDictStore();
|
|
|
|
-
|
|
|
|
// 表单相关
|
|
// 表单相关
|
|
const formInline = reactive({
|
|
const formInline = reactive({
|
|
logoRegistrationNumber: "",
|
|
logoRegistrationNumber: "",
|
|
@@ -43,10 +40,6 @@ export const useDataListInit = () => {
|
|
// 配置
|
|
// 配置
|
|
const formLabelWidth = "120px";
|
|
const formLabelWidth = "120px";
|
|
|
|
|
|
- // 字典
|
|
|
|
- const trademarkClassification = dictStore.dictData.trademark_classification;
|
|
|
|
- const logoLegislationType = dictStore.dictData.logo_legislation_type;
|
|
|
|
-
|
|
|
|
// 动态表单字段配置
|
|
// 动态表单字段配置
|
|
const formFields = [
|
|
const formFields = [
|
|
{
|
|
{
|