1 line
4.7 KiB
JSON
1 line
4.7 KiB
JSON
{"ast":null,"code":"import { 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 handleEditField(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 this.edit_table_dialog = true;\n });\n },\n handleEditFieldSettings(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 this.edit_field_dialog = true;\n });\n },\n handleDelete(row) {}\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","handleEditField","row","params","id","handleEditFieldSettings","handleDelete"],"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 handleEditField(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 this.edit_table_dialog = true\n })\n },\n handleEditFieldSettings(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 this.edit_field_dialog = true\n })\n },\n handleDelete(row) {\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,MAAMC,UAAU,GAAG,CAAC,CAAC;AAErB,MAAMC,IAAI,GAAG,SAAAA,CAAA,EAAY;EACrB,OAAO;IACHC,IAAI,EAAE,EAAE;IACRC,OAAO,EAAE,EAAE;IACXC,aAAa,EAAE,EAAE;IACjBC,WAAW,EAAE,EAAE;IACfC,iBAAiB,EAAE,KAAK;IACxBC,iBAAiB,EAAE,KAAK;IACxBC,MAAM,EAAE,EAAE;IACVC,SAAS,EAAE,EAAE;IACbC,eAAe,EAAE;EACrB,CAAC;AACL,CAAC;AAED,SAASC,OAAOA,CAAA,EAAG;EACf,IAAI,CAACC,aAAa,CAAC,CAAC;AACxB;AAEA,MAAMC,OAAO,GAAG;EACZD,aAAaA,CAAA,EAAG;IACZb,aAAa,CAAC;MACVe,MAAM,EAAE,KAAK;MACbC,GAAG,EAAE;IACT,CAAC,CAAC,CAACC,IAAI,CAAEC,GAAG,IAAK;MACb,IAAI,CAACf,IAAI,GAAGe,GAAG,CAAChB,IAAI,CAACiB,KAAK;IAC9B,CAAC,CAAC;EACN,CAAC;EACDC,eAAeA,CAACC,GAAG,EAAE;IACjBrB,aAAa,CAAC;MACVe,MAAM,EAAE,KAAK;MACbC,GAAG,EAAE,wCAAwC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