Ver código fonte

字典配置修改

duy 2 anos atrás
pai
commit
82a8c6764c

+ 1 - 6
src/views/program/project/form.vue

@@ -255,12 +255,7 @@ const tableColumn = [
     {key: 'action', name: '操作', width: '280', align: 'center', fixed: 'right'},
 ]
 const tableData = ref([
-    {id: 1, key1: 'xx', key2: 'xx', key3: 'xx', key4: 'xx', key5: 'xx', key6: 'xx', key7: 'xx', key8: 'xx', key9: 'xx', key10: 'xx'},
-    {id: 2, key1: 'xx', key2: 'xx', key3: 'xx', key4: 'xx', key5: 'xx', key6: 'xx', key7: 'xx', key8: 'xx', key9: 'xx', key10: 'xx'},
-    {id: 3, key1: 'xx', key2: 'xx', key3: 'xx', key4: 'xx', key5: 'xx', key6: 'xx', key7: 'xx', key8: 'xx', key9: 'xx', key10: 'xx'},
-    {id: 4, key1: 'xx', key2: 'xx', key3: 'xx', key4: 'xx', key5: 'xx', key6: 'xx', key7: 'xx', key8: 'xx', key9: 'xx', key10: 'xx'},
-    {id: 5, key1: 'xx', key2: 'xx', key3: 'xx', key4: 'xx', key5: 'xx', key6: 'xx', key7: 'xx', key8: 'xx', key9: 'xx', key10: 'xx'},
-    {id: 6, key1: 'xx', key2: 'xx', key3: 'xx', key4: 'xx', key5: 'xx', key6: 'xx', key7: 'xx', key8: 'xx', key9: 'xx', key10: 'xx'},
+
 ])
 
 //表格行样式

+ 2 - 0
src/views/system/components/tab-price-type.vue

@@ -284,6 +284,7 @@ const saveparentClick=async()=>{
         const { error, code, data,msg } = await submitDictionary({
             type:tabsType.value,
             dictName:priceform.value?.dictName,
+            dictValue:priceform.value?.dictValue,
             id:menuKey.value||null,
             sort:priceform.value?.sort,
         })
@@ -307,6 +308,7 @@ const savechilidClick=async()=>{
         const { error, code, data,msg } = await submitDictionary({
             type:tabsType.value,
             dictName:formLabelAlign.value?.dictName,
+            dictValue:formLabelAlign.value?.dictValue,
             sort:formLabelAlign.value?.sort,
             id:formLabelAlign.value.id||null,
             parentId:menuKey.value