Files
ZERO_CODE/ZeroCodeProject/main/client/node_modules/.cache/babel-loader/bfd741faae45dca57a19efb75c54c06809794dff06ab4d9451fb94df6e7a3f5a.json
vermouth789 fe39320977 123
123
2026-01-11 00:11:34 +08:00

1 line
6.7 KiB
JSON

{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\nimport { ZeroCodeAxios } from \"@/request/request\";\nconst components = {};\nconst data = function () {\n return {\n rows: [],\n de_rows: [],\n settings_rows: [],\n select_Rows: [],\n edit_table_dialog: false,\n edit_field_dialog: false,\n search: \"\",\n de_search: \"\",\n settings_search: \"\"\n };\n};\nfunction mounted() {\n this.get_all_table();\n}\nconst methods = {\n get_all_table() {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/api/'\n }).then(res => {\n this.rows = res.data.datas;\n });\n },\n get_field_list(row) {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/detail/',\n params: {\n id: row.id\n }\n }).then(res => {\n this.de_rows = res.data.datas;\n });\n },\n get_field_select(row) {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/detail/',\n params: {\n id: row.id\n }\n }).then(res => {\n this.select_Rows = res.data.datas;\n });\n },\n get_setting_list(row) {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/settings_detail/',\n params: {\n id: row.id\n }\n }).then(res => {\n this.settings_rows = res.data.datas;\n });\n },\n handleEditField(row) {\n this.get_field_list(row);\n this.edit_table_dialog = true;\n },\n handleEditFieldSettings(row) {\n this.get_field_select(row);\n this.get_setting_list(row);\n this.edit_field_dialog = true;\n },\n handleDelete(row) {},\n add_field() {},\n del_field(index) {},\n add_setting() {\n this.settings_rows.push({});\n },\n del_setting(index) {}\n};\nexport default {\n data: data,\n methods: methods,\n mounted: mounted,\n components: components\n};","map":{"version":3,"names":["ZeroCodeAxios","components","data","rows","de_rows","settings_rows","select_Rows","edit_table_dialog","edit_field_dialog","search","de_search","settings_search","mounted","get_all_table","methods","method","url","then","res","datas","get_field_list","row","params","id","get_field_select","get_setting_list","handleEditField","handleEditFieldSettings","handleDelete","add_field","del_field","index","add_setting","push","del_setting"],"sources":["/Users/xubincheng/Desktop/job/zero_code_all/zero_project/Project1/main/client/src/components/data_manage/DatabaseManagement/NewTableManage/NewTableManage.js"],"sourcesContent":["import {ZeroCodeAxios} from \"@/request/request\";\n\nconst components = {}\n\nconst data = function () {\n return {\n rows: [],\n de_rows: [],\n settings_rows: [],\n select_Rows: [],\n edit_table_dialog: false,\n edit_field_dialog: false,\n search: \"\",\n de_search: \"\",\n settings_search: \"\",\n }\n}\n\nfunction mounted() {\n this.get_all_table()\n}\n\nconst methods = {\n get_all_table() {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/api/',\n }).then((res) => {\n this.rows = res.data.datas;\n })\n },\n get_field_list(row) {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/detail/',\n params: {\n id: row.id\n }\n }).then((res) => {\n this.de_rows = res.data.datas;\n })\n },\n get_field_select(row) {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/detail/',\n params: {\n id: row.id\n }\n }).then((res) => {\n this.select_Rows = res.data.datas;\n })\n },\n get_setting_list(row) {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/settings_detail/',\n params: {\n id: row.id\n }\n }).then((res) => {\n this.settings_rows = res.data.datas;\n\n })\n },\n handleEditField(row) {\n this.get_field_list(row)\n this.edit_table_dialog = true\n },\n handleEditFieldSettings(row) {\n this.get_field_select(row)\n this.get_setting_list(row)\n this.edit_field_dialog = true\n },\n handleDelete(row) {\n },\n add_field() {\n },\n del_field(index) {\n },\n add_setting() {\n this.settings_rows.push({\n \n })\n },\n del_setting(index) {\n }\n}\n\nexport default {\n data: data,\n methods: methods,\n mounted: mounted,\n components: components,\n}"],"mappings":";AAAA,SAAQA,aAAa,QAAO,mBAAmB;AAE/C,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C,CAAC,CAAC;EACN,CAAC;EACDM,gBAAgBA,CAACJ,GAAG,EAAE;IAClBrB,aAAa,CAAC;MACVe,MAAM,EAAE,KAAK;MACbC,GAAG,EAAE,iDAAiD;MACtDM,MAAM,EAAE;QACJC,EAAE,EAAEF,GAAG,CAACE;MACZ;IACJ,CAAC,CAAC,CAACN,IAAI,CAAEC,GAAG,IAAK;MACb,IAAI,CAACb,aAAa,GAAGa,GAAG,CAAChB,IAAI,CAACiB,KAAK;IAEvC,CAAC,CAAC;EACN,CAAC;EACDO,eAAeA,CAACL,GAAG,EAAE;IACjB,IAAI,CAACD,cAAc,CAACC,GAAG,CAAC;IACxB,IAAI,CAACd,iBAAiB,GAAG,IAAI;EACjC,CAAC;EACDoB,uBAAuBA,CAACN,GAAG,EAAE;IACzB,IAAI,CAACG,gBAAgB,CAACH,GAAG,CAAC;IAC1B,IAAI,CAACI,gBAAgB,CAACJ,GAAG,CAAC;IAC1B,IAAI,CAACb,iBAAiB,GAAG,IAAI;EACjC,CAAC;EACDoB,YAAYA,CAACP,GAAG,EAAE,CAClB,CAAC;EACDQ,SAASA,CAAA,EAAG,CACZ,CAAC;EACDC,SAASA,CAACC,KAAK,EAAE,CACjB,CAAC;EACDC,WAAWA,CAAA,EAAG;IACV,IAAI,CAAC3B,aAAa,CAAC4B,IAAI,CAAC,CAExB,CAAC,CAAC;EACN,CAAC;EACDC,WAAWA,CAACH,KAAK,EAAE,CACnB;AACJ,CAAC;AAED,eAAe;EACX7B,IAAI,EAAEA,IAAI;EACVY,OAAO,EAAEA,OAAO;EAChBF,OAAO,EAAEA,OAAO;EAChBX,UAAU,EAAEA;AAChB,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}