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B,QAAS,CACPC,sBACJ,IACQ9C,KAAK+C,OAAOC,OAAO,cAAc,GACjC,MAARN,MAAAA,KAAAO,UAAA,sCACQjD,KAAKsC,WAAaW,EAAK,GAC/B,SACQC,QAAQC,IAAIC,GALnB,QAOOpD,KAAK+C,OAAOC,OAAO,cAAc,KAGrChC,SAASO,GACP,MAAM8B,EAAOrD,KAAKsC,WAAWgB,MAAKC,GAAKA,EAAEhC,IAAMA,IAC/C,OAAO8B,EAAOA,EAAKjB,KAAO,MAG9BU,sBACQ9C,KAAKwD,iBAEbC,WAAY,CAAdC,OAAAA,EAAAA,ICjGghB,I,UCO5gBC,GAAY,OACd,EACA7D,EACA0C,GACA,EACA,KACA,KACA,MAIF,EAAemB,EAAiB","sources":["webpack://liman/./src/views/negotiable/negotiable-type/negotiable-typeList.vue?2fd2","webpack://liman/src/views/negotiable/negotiable-type/negotiable-typeList.vue","webpack://liman/./src/views/negotiable/negotiable-type/negotiable-typeList.vue?9e53","webpack://liman/./src/views/negotiable/negotiable-type/negotiable-typeList.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('x-table',{ref:\"negotiable-typeTbl\",attrs:{\"model\":_vm.model,\"default-filters\":_vm.defaultFilter},scopedSlots:_vm._u([{key:\"negotiable\",fn:function(ref){\nvar text = ref.text;\nreturn [_vm._v(_vm._s(_vm.showType(text)))]}},{key:\"operator\",fn:function(ref){\nvar record = ref.record;\nreturn _c('div',{staticClass:\"grid grid-cols-1 md:grid-cols-3 gap-4\"},[_c('a-tooltip',[_c('template',{slot:\"title\"},[_vm._v(\" نمایش جزئیات \")]),_c('span',{on:{\"click\":function($event){return _vm.toView(record.id)}}},[_c('Icon',{staticClass:\"size-25 cursor-pointer\",attrs:{\"icon\":\"ion:list\"}})],1)],2),_c('a-tooltip',[_c('template',{slot:\"title\"},[_vm._v(\" ویرایش \")]),_c('a-popconfirm',{attrs:{\"title\":\"آیتم ویرایش شود؟\",\"ok-text\":\"بله\",\"cancel-text\":\"خیر\"},on:{\"confirm\":function($event){return _vm.toEdit(record.id)}}},[_c('Icon',{class:\"size-24 cursor-pointer text-success\",attrs:{\"icon\":\"ion:create-outline\"}})],1)],2),_c('a-tooltip',[_c('template',{slot:\"title\"},[_vm._v(\" حذف \")]),_c('a-popconfirm',{attrs:{\"title\":\"آیتم حذف شود؟\",\"ok-text\":\"بله\",\"cancel-text\":\"خیر\"},on:{\"confirm\":function($event){return _vm.deleteItem(record.id)}}},[_c('Icon',{class:\"size-24 cursor-pointer text-danger\",attrs:{\"icon\":\"ion:trash-outline\"}})],1)],2)],1)}}])}),(_vm.initialValue)?_c('a-modal',{attrs:{\"footer\":null},model:{value:(_vm.view),callback:function ($$v) {_vm.view=$$v},expression:\"view\"}},[_c('a-descriptions',{attrs:{\"title\":\"اطلاعات\",\"column\":{ xxl: 3, md: 2, xs: 1 }}},[_c('a-descriptions-item',{attrs:{\"label\":\"شناسه\"}},[_vm._v(\" \"+_vm._s(_vm.initialValue.id || '-')+\" \")]),_c('a-descriptions-item',{attrs:{\"label\":\"نام\"}},[_vm._v(\" \"+_vm._s(_vm.initialValue.name || '-')+\" \")]),_c('a-descriptions-item',{attrs:{\"label\":\"کد slug\"}},[_vm._v(\" \"+_vm._s(_vm.initialValue.slug || '-')+\" \")]),_c('a-descriptions-item',{attrs:{\"label\":\"قابل معاوضه\"}},[_vm._v(\" \"+_vm._s(_vm.showType(_vm.initialValue.negotiable))+\" \")])],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <x-table :model=\"model\" ref=\"negotiable-typeTbl\" :default-filters=\"defaultFilter\">\r\n <template slot=\"negotiable\" slot-scope=\"{text}\">{{ showType(text) }}</template>\r\n <div class=\"grid grid-cols-1 md:grid-cols-3 gap-4\" slot=\"operator\" slot-scope=\"{record}\">\r\n <a-tooltip>\r\n <template slot=\"title\">\r\n نمایش جزئیات\r\n </template>\r\n <span @click=\"toView(record.id)\">\r\n <Icon icon=\"ion:list\" class=\"size-25 cursor-pointer\"/>\r\n </span>\r\n </a-tooltip>\r\n <a-tooltip>\r\n <template slot=\"title\">\r\n ویرایش\r\n </template>\r\n <a-popconfirm\r\n title=\"آیتم ویرایش شود؟\"\r\n ok-text=\"بله\"\r\n cancel-text=\"خیر\"\r\n @confirm=\"toEdit(record.id)\"\r\n >\r\n <Icon icon=\"ion:create-outline\" :class=\"`size-24 cursor-pointer text-success`\"/>\r\n </a-popconfirm>\r\n </a-tooltip>\r\n <a-tooltip>\r\n <template slot=\"title\">\r\n حذف\r\n </template>\r\n <a-popconfirm\r\n title=\"آیتم حذف شود؟\"\r\n ok-text=\"بله\"\r\n cancel-text=\"خیر\"\r\n @confirm=\"deleteItem(record.id)\"\r\n >\r\n <Icon icon=\"ion:trash-outline\" :class=\"`size-24 cursor-pointer text-danger`\"/>\r\n </a-popconfirm>\r\n </a-tooltip>\r\n </div>\r\n </x-table>\r\n <a-modal v-model=\"view\" :footer=\"null\" v-if=\"initialValue\">\r\n <a-descriptions title=\"اطلاعات\" :column=\"{ xxl: 3, md: 2, xs: 1 }\">\r\n <a-descriptions-item label=\"شناسه\">\r\n {{ initialValue.id || '-' }}\r\n </a-descriptions-item>\r\n <a-descriptions-item label=\"نام\">\r\n {{ initialValue.name || '-' }}\r\n </a-descriptions-item>\r\n <a-descriptions-item label=\"کد slug\">\r\n {{ initialValue.slug || '-' }}\r\n </a-descriptions-item>\r\n <a-descriptions-item label=\"قابل معاوضه\">\r\n {{ showType(initialValue.negotiable) }}\r\n </a-descriptions-item>\r\n </a-descriptions>\r\n </a-modal>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport XTable from '@/components/x-table/XTable.vue'\r\nimport restfull from \"@/mixins/restFull\";\r\n\r\nexport default {\r\n mixins: [restfull],\r\n name: 'negotiable-typeList',\r\n data() {\r\n return{\r\n negotiable: [],\r\n }\r\n },\r\n computed: {\r\n defaultFilter() {\r\n return this.id ? [{field: 'negotiable',value: this.id}] : undefined\r\n },\r\n },\r\n methods: {\r\n async getNegotiable(){\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const { data: {rows} } = await this.$axios.post('/negotiable/table')\r\n this.negotiable = rows[0]\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n showType(id){\r\n const type = this.negotiable.find(x => x.id == id)\r\n return type ? type.name : '-'\r\n }\r\n },\r\n async created() {\r\n await this.getNegotiable()\r\n },\r\n components: {XTable},\r\n}\r\n</script>\r\n","import mod from \"-!../../../../node_modules/.pnpm/thread-loader@3.0.4_webpack@5.70.0/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/.pnpm/babel-loader@8.2.3_ed870ac3ba52c4ec230ba2bc3dbb311c/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/.pnpm/@vue+cli-service@5.0.1_c60d37d6f98edb8bb59b38caea4c9fe8/node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./negotiable-typeList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/.pnpm/thread-loader@3.0.4_webpack@5.70.0/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/.pnpm/babel-loader@8.2.3_ed870ac3ba52c4ec230ba2bc3dbb311c/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/.pnpm/@vue+cli-service@5.0.1_c60d37d6f98edb8bb59b38caea4c9fe8/node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./negotiable-typeList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./negotiable-typeList.vue?vue&type=template&id=47dbb008&\"\nimport script from \"./negotiable-typeList.vue?vue&type=script&lang=js&\"\nexport * from \"./negotiable-typeList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/.pnpm/vue-loader@15.9.8_1f9b6d6a8c5e3033a639476f0cf6d876/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","attrs","model","defaultFilter","scopedSlots","_u","key","fn","text","_v","_s","showType","record","staticClass","slot","on","$event","toView","id","toEdit","class","deleteItem","value","callback","$$v","view","expression","xxl","md","xs","initialValue","name","slug","negotiable","_e","staticRenderFns","mixins","data","computed","field","methods","async","$store","commit","rows","console","log","error","type","find","x","getNegotiable","components","XTable","component"],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure