dev
张同海 2 years ago
parent bb2dd15842
commit d86851ad1e

@ -177,7 +177,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [], ModulesData: [],
@ -228,7 +228,7 @@ export default {
this.advanced = !this.advanced this.advanced = !this.advanced
}, },
init() { init() {
console.log(123)
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()

@ -177,7 +177,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [], ModulesData: [],
@ -228,7 +228,6 @@ export default {
this.advanced = !this.advanced this.advanced = !this.advanced
}, },
init() { init() {
console.log(123)
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()

@ -177,7 +177,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [], ModulesData: [],
@ -228,7 +228,6 @@ export default {
this.advanced = !this.advanced this.advanced = !this.advanced
}, },
init() { init() {
console.log(123)
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()

@ -177,7 +177,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [], ModulesData: [],
@ -228,7 +228,6 @@ export default {
this.advanced = !this.advanced this.advanced = !this.advanced
}, },
init() { init() {
console.log(123)
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()

@ -177,7 +177,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [], ModulesData: [],
@ -228,7 +228,6 @@ export default {
this.advanced = !this.advanced this.advanced = !this.advanced
}, },
init() { init() {
console.log(123)
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()

@ -177,7 +177,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [], ModulesData: [],
@ -228,7 +228,6 @@ export default {
this.advanced = !this.advanced this.advanced = !this.advanced
}, },
init() { init() {
console.log(123)
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()

@ -145,7 +145,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [] ModulesData: []

@ -151,7 +151,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [] ModulesData: []
@ -190,7 +190,6 @@ export default {
this.advanced = !this.advanced this.advanced = !this.advanced
}, },
init() { init() {
console.log(123)
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()

@ -265,7 +265,6 @@
<script> <script>
import { DjyCustomerAdd } from '@/api/modular/main/CustomerInformationManagement' import { DjyCustomerAdd } from '@/api/modular/main/CustomerInformationManagement'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -308,12 +307,8 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346103538081861' }).then(res => { this.TypeData = this.$options.filters['dictData']('djy_cust_contact_role')
this.TypeData = res.data.rows this.propStringData = this.$options.filters['dictData']('consignor')
})
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346100897906757' }).then(res => {
this.propStringData = res.data.rows
})
}, },
methods: { methods: {
removeCheckboxRow() { removeCheckboxRow() {

@ -265,7 +265,6 @@
<script> <script>
import { DjyCustomerEdit, DjyCustomerDetail } from '@/api/modular/main/CustomerInformationManagement' import { DjyCustomerEdit, DjyCustomerDetail } from '@/api/modular/main/CustomerInformationManagement'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -329,12 +328,8 @@ export default {
WpropString WpropString
}) })
}) })
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346103538081861' }).then(res => { this.TypeData = this.$options.filters['dictData']('djy_cust_contact_role')
this.TypeData = res.data.rows this.propStringData = this.$options.filters['dictData']('consignor')
})
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346100897906757' }).then(res => {
this.propStringData = res.data.rows
})
}, },
methods: { methods: {
removeCheckboxRow() { removeCheckboxRow() {

@ -285,7 +285,7 @@ export default {
TableColumns: [], TableColumns: [],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
ColumnsQueryL: 0 ColumnsQueryL: 0
} }
}, },

@ -17,7 +17,7 @@
v-decorator="['type', { rules: [{ required: true, message: '请输入业务大类!' }] }]" v-decorator="['type', { rules: [{ required: true, message: '请输入业务大类!' }] }]"
> >
<a-select-option v-for="item in TypeData" :key="item.id" :value="item.code"> <a-select-option v-for="item in TypeData" :key="item.id" :value="item.code">
{{ item.value }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -56,7 +56,6 @@
<script> <script>
import { DJYTenantParamAdd } from '@/api/modular/main/DJYTenantParam' import { DJYTenantParamAdd } from '@/api/modular/main/DJYTenantParam'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -84,10 +83,7 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '353559512399941' }).then(res => { this.TypeData = this.$options.filters['dictData']('tenant_param_group')
this.TypeData = res.data.rows
console.log(this.TypeData)
})
}, },
methods: { methods: {
// //

@ -101,7 +101,6 @@ import {
SysTenantPage, SysTenantPage,
DJYTenantParamGetParamItem DJYTenantParamGetParamItem
} from '@/api/modular/main/DJYTenantParam' } from '@/api/modular/main/DJYTenantParam'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -155,9 +154,7 @@ export default {
}) })
this.WTypeData = data this.WTypeData = data
}) })
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '353559512399941' }).then(res => { this.YWData = this.$options.filters['dictData']('tenant_param_group')
this.YWData = res.data.rows
})
SysTenantPage({ pageNo: 1, pageSize: 9999, name: '' }).then(res => { SysTenantPage({ pageNo: 1, pageSize: 9999, name: '' }).then(res => {
this.TenantData = res.data.rows this.TenantData = res.data.rows
}) })
@ -167,7 +164,7 @@ export default {
let Rdata = '' let Rdata = ''
this.YWData.forEach(item => { this.YWData.forEach(item => {
if (item.code == data) { if (item.code == data) {
Rdata = item.value Rdata = item.name
} }
}) })
return Rdata return Rdata

@ -17,7 +17,7 @@
v-decorator="['type', { rules: [{ required: true, message: '请输入业务大类!' }] }]" v-decorator="['type', { rules: [{ required: true, message: '请输入业务大类!' }] }]"
> >
<a-select-option v-for="item in TypeData" :key="item.id" :value="item.code"> <a-select-option v-for="item in TypeData" :key="item.id" :value="item.code">
{{ item.value }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -56,7 +56,6 @@
<script> <script>
import { DJYTenantParamEdit } from '@/api/modular/main/DJYTenantParam' import { DJYTenantParamEdit } from '@/api/modular/main/DJYTenantParam'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -85,10 +84,7 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '353559512399941' }).then(res => { this.TypeData = this.$options.filters['dictData']('tenant_param_group')
this.TypeData = res.data.rows
console.log(this.TypeData)
})
}, },
methods: { methods: {
// //

@ -100,7 +100,6 @@ import {
SysTenantPage, SysTenantPage,
DJYTenantParamGetParamItem DJYTenantParamGetParamItem
} from '@/api/modular/main/DJYTenantParam' } from '@/api/modular/main/DJYTenantParam'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -155,9 +154,7 @@ export default {
}) })
this.WTypeData = data this.WTypeData = data
}) })
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '353559512399941' }).then(res => { this.YWData = this.$options.filters['dictData']('tenant_param_group')
this.YWData = res.data.rows
})
SysTenantPage({ pageNo: 1, pageSize: 9999, name: '' }).then(res => { SysTenantPage({ pageNo: 1, pageSize: 9999, name: '' }).then(res => {
this.TenantData = res.data.rows this.TenantData = res.data.rows
}) })
@ -167,7 +164,7 @@ export default {
let Rdata = '' let Rdata = ''
this.YWData.forEach(item => { this.YWData.forEach(item => {
if (item.code == data) { if (item.code == data) {
Rdata = item.value Rdata = item.name
} }
}) })
return Rdata return Rdata

@ -24,7 +24,7 @@
<a-form-item label="业务大类"> <a-form-item label="业务大类">
<a-select placeholder="请选择业务大类" v-model="queryParam.type" allow-clear> <a-select placeholder="请选择业务大类" v-model="queryParam.type" allow-clear>
<a-select-option v-for="item in TypeData" :key="item.id" :value="item.code"> <a-select-option v-for="item in TypeData" :key="item.id" :value="item.code">
{{ item.value }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -103,7 +103,6 @@
</template> </template>
<script> <script>
import { DJYTenantParamGet, DJYTenantParamDelete } from '@/api/modular/main/DJYTenantParam' import { DJYTenantParamGet, DJYTenantParamDelete } from '@/api/modular/main/DJYTenantParam'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
import addForm from './addForm.vue' import addForm from './addForm.vue'
import editForm from './editForm.vue' import editForm from './editForm.vue'
import editItemForm from './itemEditForm.vue' import editItemForm from './itemEditForm.vue'
@ -157,7 +156,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {} loadData: []
} }
}, },
created() {}, created() {},
@ -174,7 +173,7 @@ export default {
let Rdata = '' let Rdata = ''
this.TypeData.forEach(item => { this.TypeData.forEach(item => {
if (item.code == data) { if (item.code == data) {
Rdata = item.value Rdata = item.name
} }
}) })
return Rdata return Rdata
@ -186,9 +185,7 @@ export default {
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '353559512399941' }).then(res => { this.TypeData = this.$options.filters['dictData']('tenant_param_group')
this.TypeData = res.data.rows
})
}, },
handlePageChange({ currentPage, pageSize }) { handlePageChange({ currentPage, pageSize }) {
this.queryParam.pageNo = currentPage this.queryParam.pageNo = currentPage

@ -144,7 +144,6 @@ import {
DJYTenantParamGet, DJYTenantParamGet,
DJYTenantParamDeleteParamValue DJYTenantParamDeleteParamValue
} from '@/api/modular/main/DJYTenantParam' } from '@/api/modular/main/DJYTenantParam'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
import addForm from './addItemForm.vue' import addForm from './addItemForm.vue'
import editForm from './editItemForm.vue' import editForm from './editItemForm.vue'
import columnSetting from '@/components/tableColumnSetting' import columnSetting from '@/components/tableColumnSetting'
@ -198,7 +197,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
TenantData: [], TenantData: [],
YWData: [] YWData: []
} }
@ -233,7 +232,7 @@ export default {
let Rdata = '' let Rdata = ''
this.YWData.forEach(item => { this.YWData.forEach(item => {
if (item.code == data) { if (item.code == data) {
Rdata = item.value Rdata = item.name
} }
}) })
return Rdata return Rdata
@ -245,9 +244,7 @@ export default {
Object.assign(this.$data, this.$options.data()) Object.assign(this.$data, this.$options.data())
this.ColumnsQuery = this.columns this.ColumnsQuery = this.columns
this.FnGetData() this.FnGetData()
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '353559512399941' }).then(res => { this.YWData = this.$options.filters['dictData']('tenant_param_group')
this.YWData = res.data.rows
})
DJYTenantParamGet({ pageNo: 1, pageSize: 999 }).then(res => { DJYTenantParamGet({ pageNo: 1, pageSize: 999 }).then(res => {
this.TypeData = res.data this.TypeData = res.data
let data = [] let data = []

@ -88,7 +88,6 @@ import {
DJYTenantParamDeleteParamItem, DJYTenantParamDeleteParamItem,
DJYTenantParamEdit DJYTenantParamEdit
} from '@/api/modular/main/DJYTenantParam' } from '@/api/modular/main/DJYTenantParam'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
import VXETable from 'vxe-table' import VXETable from 'vxe-table'
export default { export default {
data() { data() {

@ -17,7 +17,7 @@
v-decorator="['edicode', { rules: [{ required: true, message: '请输入EDI类型' }] }]" v-decorator="['edicode', { rules: [{ required: true, message: '请输入EDI类型' }] }]"
> >
<a-select-option v-for="item in EdiNameData" :key="item.id" :value="item.code">{{ <a-select-option v-for="item in EdiNameData" :key="item.id" :value="item.code">{{
item.value item.name
}}</a-select-option> }}</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -151,7 +151,6 @@
<script> <script>
import { DjyEdiSettingAdd } from '@/api/modular/main/EDIParameterSettingService' import { DjyEdiSettingAdd } from '@/api/modular/main/EDIParameterSettingService'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
import { SysTenantPage } from '@/api/modular/main/bookingprinttemplate' import { SysTenantPage } from '@/api/modular/main/bookingprinttemplate'
import { commondbCarrierlist } from '@/api/modular/main/CommondbPortloadlist' import { commondbCarrierlist } from '@/api/modular/main/CommondbPortloadlist'
export default { export default {
@ -175,9 +174,7 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346564507062341' }).then(res => { this.EdiNameData = this.$options.filters['dictData']('edi_type')
this.EdiNameData = res.data.rows
})
SysTenantPage().then(res => { SysTenantPage().then(res => {
this.SysTenantData = res.data.rows this.SysTenantData = res.data.rows
}) })

@ -17,7 +17,7 @@
v-decorator="['edicode', { rules: [{ required: true, message: '请输入EDI类型' }] }]" v-decorator="['edicode', { rules: [{ required: true, message: '请输入EDI类型' }] }]"
> >
<a-select-option v-for="item in EdiNameData" :key="item.id" :value="item.code">{{ <a-select-option v-for="item in EdiNameData" :key="item.id" :value="item.code">{{
item.value item.name
}}</a-select-option> }}</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -151,7 +151,6 @@
<script> <script>
import { DjyEdiSettingEdit } from '@/api/modular/main/EDIParameterSettingService' import { DjyEdiSettingEdit } from '@/api/modular/main/EDIParameterSettingService'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
import { SysTenantPage } from '@/api/modular/main/bookingprinttemplate' import { SysTenantPage } from '@/api/modular/main/bookingprinttemplate'
import { commondbCarrierlist } from '@/api/modular/main/CommondbPortloadlist' import { commondbCarrierlist } from '@/api/modular/main/CommondbPortloadlist'
export default { export default {
@ -176,9 +175,7 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346564507062341' }).then(res => { this.EdiNameData = this.$options.filters['dictData']('edi_type')
this.EdiNameData = res.data.rows
})
SysTenantPage().then(res => { SysTenantPage().then(res => {
this.SysTenantData = res.data.rows this.SysTenantData = res.data.rows
}) })

@ -20,7 +20,7 @@
<a-form-item :label="item.title" v-if="item.title == 'EDI类型'"> <a-form-item :label="item.title" v-if="item.title == 'EDI类型'">
<a-select v-model="queryParam[item.dataIndex]" allow-clear :placeholder="`请选择${item.title}`"> <a-select v-model="queryParam[item.dataIndex]" allow-clear :placeholder="`请选择${item.title}`">
<a-select-option v-for="item in EdiNameData" :key="item.id" :value="item.code">{{ <a-select-option v-for="item in EdiNameData" :key="item.id" :value="item.code">{{
item.value item.name
}}</a-select-option> }}</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -108,7 +108,6 @@
</template> </template>
<script> <script>
import { DjyEdiSettingPage, DjyEdiSettingDelete } from '@/api/modular/main/EDIParameterSettingService' import { DjyEdiSettingPage, DjyEdiSettingDelete } from '@/api/modular/main/EDIParameterSettingService'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
import { SysTenantPage } from '@/api/modular/main/bookingprinttemplate' import { SysTenantPage } from '@/api/modular/main/bookingprinttemplate'
import addForm from './addForm.vue' import addForm from './addForm.vue'
import editForm from './editForm.vue' import editForm from './editForm.vue'
@ -246,20 +245,18 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
EdiNameData: [] EdiNameData: [],
CodeData: []
} }
}, },
created() {}, created() {},
mounted() { mounted() {
this.init() this.init()
SysTenantPage().then(res => { SysTenantPage().then(res => {
console.log(res.data)
this.SysTenantData = res.data.rows this.SysTenantData = res.data.rows
}) })
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346564507062341' }).then(res => { this.EdiNameData = this.$options.filters['dictData']('edi_type')
this.EdiNameData = res.data.rows
})
commondbCarrierlist().then(res => { commondbCarrierlist().then(res => {
this.CodeData = res.data this.CodeData = res.data
}) })

@ -17,7 +17,7 @@
v-decorator="['typeCode', { rules: [{ required: true, message: '请输入类型名称!' }] }]" v-decorator="['typeCode', { rules: [{ required: true, message: '请输入类型名称!' }] }]"
> >
<a-select-option v-for="item in TypeData" :key="item.code" :value="item.code"> <a-select-option v-for="item in TypeData" :key="item.code" :value="item.code">
{{ item.value }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -56,7 +56,6 @@
<script> <script>
import { BookingPrintTemplateAdd, SysTenantPage } from '@/api/modular/main/bookingprinttemplate' import { BookingPrintTemplateAdd, SysTenantPage } from '@/api/modular/main/bookingprinttemplate'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
// booking_template_type // booking_template_type
export default { export default {
data() { data() {
@ -83,10 +82,7 @@ export default {
console.log(res.data) console.log(res.data)
this.SysTenantData = res.data.rows this.SysTenantData = res.data.rows
}) })
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '348569545515077' }).then(res => { this.TypeData = this.$options.filters['dictData']('booking_template_type')
this.TypeData = res.data.rows
console.log(this.TypeData, 11111)
})
}, },
methods: { methods: {
customRequest(data) { customRequest(data) {
@ -122,7 +118,7 @@ export default {
}) })
this.TypeData.forEach(item => { this.TypeData.forEach(item => {
if (values.typeCode == item.code) { if (values.typeCode == item.code) {
values.TypeName = item.value values.TypeName = item.name
} }
}) })
console.log(values) console.log(values)

@ -17,7 +17,7 @@
v-decorator="['typeCode', { rules: [{ required: true, message: '请输入类型名称!' }] }]" v-decorator="['typeCode', { rules: [{ required: true, message: '请输入类型名称!' }] }]"
> >
<a-select-option v-for="item in TypeData" :key="item.code" :value="item.code"> <a-select-option v-for="item in TypeData" :key="item.code" :value="item.code">
{{ item.value }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -56,7 +56,6 @@
<script> <script>
import { BookingPrintTemplateEdit, SysTenantPage } from '@/api/modular/main/bookingprinttemplate' import { BookingPrintTemplateEdit, SysTenantPage } from '@/api/modular/main/bookingprinttemplate'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -83,10 +82,7 @@ export default {
console.log(res.data) console.log(res.data)
this.SysTenantData = res.data.rows this.SysTenantData = res.data.rows
}) })
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '348569545515077' }).then(res => { this.TypeData = this.$options.filters['dictData']('booking_template_type')
this.TypeData = res.data.rows
console.log(this.TypeData, 11111)
})
}, },
methods: { methods: {
customRequest(data) { customRequest(data) {
@ -138,7 +134,7 @@ export default {
this.TypeData.forEach(item => { this.TypeData.forEach(item => {
if (values.typeCode == item.code) { if (values.typeCode == item.code) {
console.log(item) console.log(item)
values.TypeName = item.value values.TypeName = item.name
} }
}) })

@ -154,7 +154,7 @@ export default {
TableColumns: [], TableColumns: [],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {} loadData: []
} }
}, },
created() {}, created() {},

@ -156,7 +156,7 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {}, loadData: [],
CodeData: [], CodeData: [],
WCodeData: [], WCodeData: [],
ModulesData: [] ModulesData: []

@ -104,7 +104,6 @@
<script> <script>
import { DjyUserMailAccountAdd } from '@/api/modular/main/UserEmail' import { DjyUserMailAccountAdd } from '@/api/modular/main/UserEmail'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -133,9 +132,7 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '349716496130117' }).then(res => { this.TypeData = this.$options.filters['dictData']('website_account_type')
this.TypeData = res.data.rows
})
}, },
methods: { methods: {
FnChangeSmtp(value) { FnChangeSmtp(value) {

@ -104,7 +104,6 @@
<script> <script>
import { DjyUserMailAccountEdit } from '@/api/modular/main/UserEmail' import { DjyUserMailAccountEdit } from '@/api/modular/main/UserEmail'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -134,9 +133,7 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '349716496130117' }).then(res => { this.TypeData = this.$options.filters['dictData']('website_account_type')
this.TypeData = res.data.rows
})
}, },
methods: { methods: {
FnChangeSmtp(value) { FnChangeSmtp(value) {

@ -92,7 +92,6 @@
</template> </template>
<script> <script>
import { DjyUserMailAccountPage, DjyUserMailAccountDelete } from '@/api/modular/main/UserEmail' import { DjyUserMailAccountPage, DjyUserMailAccountDelete } from '@/api/modular/main/UserEmail'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
import addForm from './addForm.vue' import addForm from './addForm.vue'
import editForm from './editForm.vue' import editForm from './editForm.vue'
import columnSetting from '@/components/tableColumnSetting' import columnSetting from '@/components/tableColumnSetting'
@ -177,15 +176,13 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {} loadData: []
} }
}, },
created() {}, created() {},
mounted() { mounted() {
this.init() this.init()
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '349716496130117' }).then(res => { this.TypeData = this.$options.filters['dictData']('website_account_type')
this.TypeData = res.data.rows
})
}, },
methods: { methods: {
FnBD(data) { FnBD(data) {

@ -21,7 +21,7 @@
v-decorator="['typeCode', { rules: [{ required: true, message: '请选择类型!' }] }]" v-decorator="['typeCode', { rules: [{ required: true, message: '请选择类型!' }] }]"
> >
<a-select-option v-for="item in TypeData" :key="item.code" :value="item.code"> <a-select-option v-for="item in TypeData" :key="item.code" :value="item.code">
{{ item.value }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -55,7 +55,6 @@
<script> <script>
import { DjyWebsiteAccountConfigAdd } from '@/api/modular/main/WebSiteaccount' import { DjyWebsiteAccountConfigAdd } from '@/api/modular/main/WebSiteaccount'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -83,10 +82,7 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '349716496130117' }).then(res => { this.TypeData = this.$options.filters['dictData']('website_account_type')
this.TypeData = res.data.rows
console.log(this.TypeData)
})
}, },
methods: { methods: {
// //

@ -17,7 +17,7 @@
v-decorator="['typeCode', { rules: [{ required: true, message: '请选择类型!' }] }]" v-decorator="['typeCode', { rules: [{ required: true, message: '请选择类型!' }] }]"
> >
<a-select-option v-for="item in TypeData" :key="item.code" :value="item.code"> <a-select-option v-for="item in TypeData" :key="item.code" :value="item.code">
{{ item.value }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
@ -51,7 +51,6 @@
<script> <script>
import { DjyWebsiteAccountConfigEdit } from '@/api/modular/main/WebSiteaccount' import { DjyWebsiteAccountConfigEdit } from '@/api/modular/main/WebSiteaccount'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
export default { export default {
data() { data() {
return { return {
@ -80,10 +79,7 @@ export default {
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '349716496130117' }).then(res => { this.TypeData = this.$options.filters['dictData']('website_account_type')
this.TypeData = res.data.rows
console.log(this.TypeData)
})
}, },
methods: { methods: {
// //

@ -87,7 +87,6 @@
</template> </template>
<script> <script>
import { DjyWebsiteAccountConfigPage, DjyWebsiteAccountConfigDelete } from '@/api/modular/main/WebSiteaccount' import { DjyWebsiteAccountConfigPage, DjyWebsiteAccountConfigDelete } from '@/api/modular/main/WebSiteaccount'
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
import addForm from './addForm.vue' import addForm from './addForm.vue'
import editForm from './editForm.vue' import editForm from './editForm.vue'
import columnSetting from '@/components/tableColumnSetting' import columnSetting from '@/components/tableColumnSetting'
@ -139,23 +138,20 @@ export default {
], ],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }, tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// Promise // Promise
loadData: {} loadData: []
} }
}, },
created() {}, created() {},
mounted() { mounted() {
this.init() this.init()
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '349716496130117' }).then(res => { this.TypeData = this.$options.filters['dictData']('website_account_type')
this.TypeData = res.data.rows
console.log(this.TypeData)
})
}, },
methods: { methods: {
FnTurnD(data) { FnTurnD(data) {
let Rdata = '' let Rdata = ''
this.TypeData.forEach(item => { this.TypeData.forEach(item => {
if (item.code == data) { if (item.code == data) {
Rdata = item.value Rdata = item.name
} }
}) })
return Rdata return Rdata

Loading…
Cancel
Save