浏览代码

去掉无用代码

@dongkboy 1 年之前
父节点
当前提交
1f45cfafa1
共有 1 个文件被更改,包括 0 次插入14 次删除
  1. 0 14
      src/views/productConfiguration/specialClause/index.vue

+ 0 - 14
src/views/productConfiguration/specialClause/index.vue

@@ -116,7 +116,6 @@ const tableData = ref([]);//列表数据
 const paymentFormRef = ref<FormInstance>()
 const fromSize = ref<ComponentSize>('large')//表单大小
 const paynemtAdddialogVisible = ref(false)//弹窗
-const dictLists = ref<{ [key: string]: any[] }>({});//字典集合
 const dialogTitle = ref('支付码配置')//弹窗title
 const dialogType = ref('add')//弹窗title
 const companyList = ref();
@@ -286,19 +285,6 @@ const paymentDel = (id: string) => {
     })
 
 }
-//字典信息处理
-const dictType = (type: string) => {
-  api.toolApi.dictType({ dictCode: type }).then((res: any) => {
-    if (res.code == '200') {
-      dictLists.value[type + 'List'] = res.data.map((item: any) => {
-        return {
-          value: item.value,
-          label: item.label
-        };
-      });
-    }
-  });
-}
 const close = () => {
   paymentform.companyId = "";
   paymentform.companyName = "";