12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <template>
- <div>
- <basicLayout
- ref="basicLayout"
- :oldFormPath="{
- add:'HDrpManagement/toolBorrowingMag/modules'
- }"
- tableName="toolBorrowingTable"
- idName="sa_orderid"
- :apiId="{query:20230114105002,del:20230116100002}"
- :autoQuery="false"
- :detailPath="{
- path:'/toolBorrowingMagDetail'
- }">
- <div slot="custom">
- </div>
- <template v-slot:tbList="scope">
- <div v-if="scope.data.column.columnname === 'address'">
- {{scope.data.column.data.province}}{{scope.data.column.data.city}}{{scope.data.column.data.county}}{{scope.data.column.data.address}}
- </div>
- <div v-else>
- {{scope.data.column.data[[scope.data.column.columnname]]}}
- </div>
- </template>
- <template v-slot:tbOpreation="scope">
- </template>
- </basicLayout>
- </div>
- </template>
- <script>
- import { log } from '@antv/g2plot/lib/utils'
- /**
- * @basicLayout 提供this.$ref['basicLayout'].listData()方法查询列表信息
- * @param {string} formPath 新建,编辑组件所在文件夹名称,以后所有列表新增修改文件统一放入Form文件夹下面,并创建与开发应用相同的名称的子文件夹
- * @param {string} tableName 开发端配置的表格名称
- * @param {String} idName 数据主id名称
- * @param {object} apiId:{query:查询的接口id,del:删除的接口id}
- * @param {Array} options:{label:描述,value:值}
- */
- export default {
- data () {
- return {
- options:[]
-
- }
- },
- methods:{
- },
- mounted () {
- }
- }
- </script>
- <style>
- </style>
|