|
|
@ -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
|
|
|
|