项目模块列表页面调整

master
gegeya 1 year ago
parent df04c8139a
commit 1e098a6f80
  1. 430
      ant-design-vue-jeecg/src/views/modulex/ModulexList.vue

@ -4,51 +4,18 @@
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="6" :sm="12"> <a-col :md="6" :sm="12">
<a-form-item label="模块中文名称"> <a-form-item label="角色名称">
<j-input v-model="queryParam.moduleName"></j-input> <j-input v-model="queryParam.moduleName"></j-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :md="6" :sm="12">
<a-form-item label="模块英文名称">
<j-input v-model="queryParam.moduleEnName"></j-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="12">
<a-form-item label="模块编码">
<j-input v-model="queryParam.moduleCode"></j-input>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="项目名称">
<j-dict-select-tag type="list" v-model="queryParam.projectId" dict-code="projectx,project_name,id" placeholder="请选择" />
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="上级模块">
<j-dict-select-tag type="list" v-model="queryParam.pid" dict-code="modulex,module_name,id" placeholder="请选择" />
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="6" :sm="12">
<a-form-item label="模块状态">
<j-dict-select-tag type="list" v-model="queryParam.status" placeholder="请选择模块状态" dict-code="a_status"/>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="责任人">
<j-select-user-by-dep placeholder="请选择责任人" v-model="queryParam.managerUsers"/>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> <span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search">查询</a-button> <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
</span> </span>
</a-col> </a-col>
</a-row> </a-row>
</a-form> </a-form>
</div> </div>
@ -62,125 +29,117 @@
<!-- table区域-begin --> <!-- table区域-begin -->
<div> <div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> <div class="ant-alert ant-alert-info" style="margin-bottom: 16px">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择
style="font-weight: 600">{{ selectedRowKeys.length }}</a> <a style="font-weight: 600">{{ selectedRowKeys.length }}</a
>
<a style="margin-left: 24px" @click="onClearSelected">清空</a> <a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div> </div>
<!-- bordered -->
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
:scroll="{x:true}" :scroll="{ x: true }"
bordered
rowKey="id" rowKey="id"
:columns="columns" bordered
:columns="filterColumn"
:dataSource="dataSource" :dataSource="dataSource"
:pagination="ipagination" :pagination="ipagination"
:loading="loading" :loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
class="j-table-force-nowrap" class="j-table-force-nowrap"
@change="handleTableChange"> @change="handleTableChange"
>
<!-- 管理 公用部分--> <!-- 管理 公用部分-->
<span slot="htmlSlot" slot-scope="text, record"> <span slot="htmlSlot" slot-scope="text, record">
<a @click="functionManage(record)">功能</a> <a @click="functionManage(record)">功能</a>
<a-divider type="vertical"/> <!-- <a-divider type="vertical" /> -->
<br />
<a @click="tablexManage(record)">实体</a> <a @click="tablexManage(record)">实体</a>
<a-divider type="vertical"/>
<a @click="viewVid(record)">字段</a>
</span> </span>
<!--功能 管理员--> <!--功能 管理员-->
<span slot="actionManage" slot-scope="text, record" v-if="userRole1 === '1'"> <span slot="actionManage" slot-scope="text, record" v-if="userRole1 === '1'">
<a @click="fabu(record)">发布</a>
<a-divider type="vertical" />
<a @click="tijiao(record)">提交</a>
<a-divider type="vertical" />
<a @click="kaishi(record)">开始</a>
<br />
<a @click="chehui(record)">撤回</a> <a @click="chehui(record)">撤回</a>
<a-divider type="vertical"/> <a-divider type="vertical" />
<a @click="bugfankui(record)">BUG反馈</a> <a @click="bugfankui(record)">BUG反馈</a>
<a-divider type="vertical"/> <br />
<!-- <a @click="shenhe(record)">审核</a>-->
<!-- <a @click="shenhe(record)">审核</a>--> <!-- <a-divider type="vertical"/>-->
<!-- <a-divider type="vertical"/>-->
<a @click="fabu(record)">发布</a>
<a-divider type="vertical"/>
<a @click="kaishi(record)">开始</a>
<a-divider type="vertical"/>
<a @click="tijiao(record)">提交</a>
</span> </span>
<!--功能 开发者--> <!--功能 开发者-->
<!--这里只能用v-else-if / v-else v-if --> <!--这里只能用v-else-if / v-else v-if -->
<!-- <span v-else slot="actionManage" slot-scope="text, record">--> <!-- <span v-else slot="actionManage" slot-scope="text, record">-->
<!-- <a @click="fabu(record)">发布</a>--> <!-- <a @click="fabu(record)">发布</a>-->
<!-- <a-divider type="vertical"/>--> <!-- <a-divider type="vertical"/>-->
<!-- <a @click="kaishi(record)">开始</a>-->
<!-- <a-divider type="vertical"/>-->
<!-- <a @click="tijiao(record)">提交</a>-->
<!-- </span>-->
<!-- <a @click="kaishi(record)">开始</a>-->
<!-- <a-divider type="vertical"/>-->
<!-- <a @click="tijiao(record)">提交</a>-->
<!-- </span>-->
<!--操作 --> <!--操作 -->
<span slot="action1" slot-scope="text, record" > <span slot="action1" slot-scope="text, record">
<a @click="fuzhiProject(record)">复制</a> <a @click="fuzhiProject(record)">复制</a>
<a-divider type="vertical"/> <a-divider type="vertical" />
<a @click="handleEdit(record)">编辑</a> <a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical"/> <!-- <a-divider type="vertical" /> -->
<br />
<a @click="handleDetail(record)">详情</a> <a @click="handleDetail(record)">详情</a>
<a-divider type="vertical"/> <a-divider type="vertical" />
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a> <a>删除</a>
</a-popconfirm> </a-popconfirm>
</span> </span>
<span slot="filterDropdown">
<a-card>
<!-- /* 多选框 options:指定可选项 defaultValue:默认选中的选项 change:变化时回调 */ -->
<a-checkbox-group :options="checkColumn" :defaultValue="checkColumn" @change="checkChange" />
</a-card>
</span>
</a-table> </a-table>
</div> </div>
<modulex-modal ref="modalForm" @ok="modalFormOk"></modulex-modal> <modulex-modal ref="modalForm" @ok="modalFormOk"></modulex-modal>
<bugx-modal ref="BugxModal"></bugx-modal> <bugx-modal ref="BugxModal"></bugx-modal>
<TablexList ref="TablexList"></TablexList>
<FieldxList ref="FieldxList"></FieldxList>
</a-card> </a-card>
</template> </template>
<script> <script>
import '@assets/less/TableExpand.less' import '@assets/less/TableExpand.less'
import {mixinDevice} from '@/utils/mixin' import { mixinDevice } from '@/utils/mixin'
import {JeecgListMixin} from '@/mixins/JeecgListMixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ModulexModal from './modules/ModulexModal' import ModulexModal from './modules/ModulexModal'
import {getAction} from "@api/manage"; import { getAction } from "@api/manage"
import BugxModal from "@views/modulex/modules/BugxModal"; import BugxModal from "@views/modulex/modules/BugxModal"
import store from "@/store"; import store from "@/store"
import {filterObj} from "@/utils/util"; import { filterObj } from "@/utils/util"
import FieldxList from "@views/fieldx/FieldxList.vue";
import TablexList from "@views/tablex/TablexList.vue";
export default { export default {
name: 'ModulexList', name: 'ModulexList',
mixins: [JeecgListMixin, mixinDevice], mixins: [JeecgListMixin, mixinDevice],
components: { components: {
TablexList,
FieldxList,
BugxModal, BugxModal,
ModulexModal ModulexModal
}, },
data() { data () {
return { return {
description: '模块管理管理页面', description: '模块管理管理页面',
// //
@ -192,7 +151,7 @@ export default {
width: 60, width: 60,
align: "center", align: "center",
customRender: function (t, r, index) { customRender: function (t, r, index) {
return parseInt(index) + 1; return parseInt(index) + 1
} }
}, },
{ {
@ -203,7 +162,20 @@ export default {
{ {
title: '项目', title: '项目',
align: "center", align: "center",
dataIndex: 'projectId_dictText' width: 130,
dataIndex: 'projectId_dictText',
customCell: () => {
return {
style: {
wordWrap: 'break-word',
wordBreak: 'break-all',
whiteSpace: 'normal',
minHeight: '50px',
width: '50px',
'text-align': 'left'
}
}
}
}, },
{ {
title: '中文名称', title: '中文名称',
@ -226,8 +198,8 @@ export default {
// dataIndex: 'pmDescribe' // dataIndex: 'pmDescribe'
// }, // },
{ {
title:'责任人', title: '责任人',
align:"center", align: "center",
// dataIndex: 'managerUsers' // dataIndex: 'managerUsers'
dataIndex: 'managerUsers_dictText' dataIndex: 'managerUsers_dictText'
}, },
@ -321,24 +293,38 @@ export default {
dataIndex: 'htmlSlot', dataIndex: 'htmlSlot',
align: "center", align: "center",
fixed: "right", fixed: "right",
width:98, width: 60,
scopedSlots: {customRender: 'htmlSlot'} scopedSlots: { customRender: 'htmlSlot' },
/* slot-scope
customRender: 生成复杂数据的渲染函数,function(当前行的值当前行数据索引
filterDropdown: 自定义筛选菜单
*/
// scopedSlots: { customRender: 'action', filterDropdown: 'filterDropdown'}
}, },
{ {
title: '功能', title: '功能',
dataIndex: 'actionManage', dataIndex: 'actionManage',
align: "center", align: "center",
fixed: "right", fixed: "right",
width:147, width: 140,
scopedSlots: {customRender: 'actionManage'} scopedSlots: { customRender: 'actionManage' },
customCell: () => {
return {
style: {
'text-align': 'left'
}
}
}
}, },
{ {
title: '操作', title: '操作',
dataIndex: 'action1', dataIndex: 'action1',
align: "center", align: "center",
fixed: "right", fixed: "right",
width:147, width: 100,
scopedSlots: {customRender: 'action1'} scopedSlots: { customRender: 'action1', filterDropdown: 'filterDropdown' }
} }
], ],
url: { url: {
@ -353,185 +339,206 @@ export default {
superFieldList: [], superFieldList: [],
userRole1: '', //1 2 userRole1: '', //1 2
projectIdx: '', projectIdx: '',
loadRouteType:false, loadRouteType: false,
//
filterColumn: []
} }
}, },
created() { created () {
// columnsfilterColumns
this.filterColumn = this.columns
let usercode = store.getters.userInfo.id let usercode = store.getters.userInfo.id
//id //id
this.loginRole(usercode) this.loginRole(usercode)
//console.log('userole1',this.userRole1) //console.log('userole1',this.userRole1)
this.getSuperFieldList(); this.getSuperFieldList()
}, },
computed: { computed: {
importExcelUrl: function () { importExcelUrl: function () {
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`
}, },
// columns () {
// customCell: () => {
// return {
// style: {
// wordWrap: 'break-word',
// wordBreak: 'break-all',
// whiteSpace: 'normal',
// minHeight: '50px',
// width: '50px',
// }
// }
// }
// },
// columnsdataIndex
checkColumn: function () {
return this.columns.map(item => item.title)
}
}, },
methods: { methods: {
fanhui(){ //
checkChange (checked) {
// name
console.log(checked) // ['age','address','action']
const columns = this.columns
// columnsdataIndextrue
const filterValue = columns.filter(item => {
if (checked.includes(item.title)) {
// truefilterValue
return true
}
return false
})
// name[false,true,true,true],filterValuename
// filterColumns
this.filterColumn = filterValue
},
fanhui () {
this.$router.push({ this.$router.push({
/*返回产品*/ /*返回产品*/
path: '/src/views/projectx/ProjectxList',/*在引号中填写返回vue*/ path: '/src/views/projectx/ProjectxList',/*在引号中填写返回vue*/
}); })
}, },
loginRole(id){ loginRole (id) {
getAction('functionx/functionx/loginrole',{id:id}).then((res)=>{ getAction('functionx/functionx/loginrole', { id: id }).then((res) => {
if (res.success) { if (res.success) {
// //
this.userRole1 = res.result; this.userRole1 = res.result
//console.log('this.userRole1',this.userRole1) //console.log('this.userRole1',this.userRole1)
} }
}) })
}, },
shenhe(record) { shenhe (record) {
getAction('/modulex/modulex/shenhe', {id: record.id}).then((res) => { getAction('/modulex/modulex/shenhe', { id: record.id }).then((res) => {
if (res.success) { if (res.success) {
// //
this.$message.success(res.result); this.$message.success(res.result)
this.loadData(); this.loadData()
} else { } else {
this.$message.warning(res.message); this.$message.warning(res.message)
}
})
},
viewVid(record) {
// console.log(record)
let s = null;
getAction('/tablex/tablex/list', {moduleId: record.id}).then((res) =>{
s=res.result.records
console.log(s)
if (s[0]==null){
this.$message.error("该模块无实体");
}else{
this.$refs.FieldxList.showModal();
this.$refs.FieldxList.edit(s[0]);
this.$refs.FieldxList.disableSubmit = false;
} }
}) })
}, },
bugfankui: function (record) { bugfankui: function (record) {
this.$refs.BugxModal.add(record.id); this.$refs.BugxModal.add(record.id)
this.$refs.BugxModal.title = "BUG反馈"; this.$refs.BugxModal.title = "BUG反馈"
this.$refs.BugxModal.disableSubmit = false; this.$refs.BugxModal.disableSubmit = false
}, },
chehui(record) { chehui (record) {
getAction('/modulex/modulex/cehui', {id: record.id}).then((res) => { getAction('/modulex/modulex/cehui', { id: record.id }).then((res) => {
if (res.success) { if (res.success) {
// //
this.$message.success(res.result); this.$message.success(res.result)
this.loadData(); this.loadData()
} else { } else {
this.$message.warning(res.message); this.$message.warning(res.message)
} }
}) })
}, },
tijiao(record) { tijiao (record) {
getAction('/modulex/modulex/tijiao', {id: record.id}).then((res) => { getAction('/modulex/modulex/tijiao', { id: record.id }).then((res) => {
if (res.success) { if (res.success) {
// //
this.$message.success(res.result); this.$message.success(res.result)
this.loadData(); this.loadData()
} else { } else {
this.$message.warning(res.message); this.$message.warning(res.message)
} }
}) })
}, },
kaishi(record) { kaishi (record) {
getAction('/modulex/modulex/kaishi', {id: record.id}).then((res) => { getAction('/modulex/modulex/kaishi', { id: record.id }).then((res) => {
if (res.success) { if (res.success) {
// //
this.$message.success(res.result); this.$message.success(res.result)
this.loadData(); this.loadData()
} else { } else {
this.$message.warning(res.message); this.$message.warning(res.message)
} }
}) })
}, },
fabu(record) { fabu (record) {
getAction('/modulex/modulex/fabu', {id: record.id}).then((res) => { getAction('/modulex/modulex/fabu', { id: record.id }).then((res) => {
if (res.success) { if (res.success) {
// //
this.$message.success(res.result); this.$message.success(res.result)
this.loadData(); this.loadData()
} }
}) })
}, },
functionManage(record) { functionManage (record) {
this.$router.push({ this.$router.push({
path: '/src/views/functionx/FunctionxList', path: '/src/views/functionx/FunctionxList',
query: { query: {
moduleid: record.id, moduleid: record.id,
project:this.$route.query.project project: this.$route.query.project
} }
// query: {id: '123456'} // query: {id: '123456'}
}) })
}, },
tablexManage(record) { tablexManage (record) {
this.$refs.TablexList.showModal(); this.$router.push({
this.$refs.TablexList.edit(record); path: '/src/views/tablex/TablexList',
this.$refs.TablexList.disableSubmit = false; query: { moduleid: record.id, project: this.$route.query.project }
// this.$router.push({ })
// path: '/src/views/tablex/TablexList',
// query: {moduleid: record.id,project:this.$route.query.project}
// })
}, },
initDictConfig() { initDictConfig () {
}, },
getSuperFieldList() { getSuperFieldList () {
let fieldList = []; let fieldList = []
fieldList.push({type: 'string', value: 'pid', text: '上级模块id', dictCode: ''}) fieldList.push({ type: 'string', value: 'pid', text: '上级模块id', dictCode: '' })
fieldList.push({type: 'string', value: 'projectId', text: '项目id', dictCode: ''}) fieldList.push({ type: 'string', value: 'projectId', text: '项目id', dictCode: '' })
fieldList.push({type: 'string', value: 'moduleName', text: '中文名称', dictCode: ''}) fieldList.push({ type: 'string', value: 'moduleName', text: '中文名称', dictCode: '' })
fieldList.push({type: 'string', value: 'moduleEnName', text: '英文名称', dictCode: ''}) fieldList.push({ type: 'string', value: 'moduleEnName', text: '英文名称', dictCode: '' })
fieldList.push({type: 'string', value: 'moduleCode', text: '模块编码', dictCode: ''}) fieldList.push({ type: 'string', value: 'moduleCode', text: '模块编码', dictCode: '' })
fieldList.push({type: 'string', value: 'pmDescribe', text: '内容描述', dictCode: ''}) fieldList.push({ type: 'string', value: 'pmDescribe', text: '内容描述', dictCode: '' })
fieldList.push({type: 'string', value: 'managerUsers', text: '责任人', dictCode: ''}) fieldList.push({ type: 'string', value: 'managerUsers', text: '责任人', dictCode: '' })
fieldList.push({type: 'int', value: 'workLevel', text: '任务等级', dictCode: ''}) fieldList.push({ type: 'int', value: 'workLevel', text: '任务等级', dictCode: '' })
fieldList.push({type: 'int', value: 'workStatus', text: '任务状态', dictCode: ''}) fieldList.push({ type: 'int', value: 'workStatus', text: '任务状态', dictCode: '' })
fieldList.push({type: 'date', value: 'publishTime', text: '发布时间'}) fieldList.push({ type: 'date', value: 'publishTime', text: '发布时间' })
fieldList.push({type: 'double', value: 'duration', text: '任务时长', dictCode: ''}) fieldList.push({ type: 'double', value: 'duration', text: '任务时长', dictCode: '' })
fieldList.push({type: 'date', value: 'startTime', text: '开始时间'}) fieldList.push({ type: 'date', value: 'startTime', text: '开始时间' })
fieldList.push({type: 'date', value: 'submitTime', text: '提交时间'}) fieldList.push({ type: 'date', value: 'submitTime', text: '提交时间' })
fieldList.push({type: 'double', value: 'realDuration', text: '实际时长', dictCode: ''}) fieldList.push({ type: 'double', value: 'realDuration', text: '实际时长', dictCode: '' })
fieldList.push({type: 'string', value: 'userRole', text: '用户角色', dictCode: ''}) fieldList.push({ type: 'string', value: 'userRole', text: '用户角色', dictCode: '' })
fieldList.push({type: 'string', value: 'relatedBean', text: '关联实体', dictCode: ''}) fieldList.push({ type: 'string', value: 'relatedBean', text: '关联实体', dictCode: '' })
fieldList.push({type: 'string', value: 'prototypes', text: '原型图', dictCode: ''}) fieldList.push({ type: 'string', value: 'prototypes', text: '原型图', dictCode: '' })
fieldList.push({type: 'string', value: 'diagrams', text: '分析图', dictCode: ''}) fieldList.push({ type: 'string', value: 'diagrams', text: '分析图', dictCode: '' })
fieldList.push({type: 'int', value: 'status', text: '模块状态', dictCode: ''}) fieldList.push({ type: 'int', value: 'status', text: '模块状态', dictCode: '' })
fieldList.push({type: 'int', value: 'verisonStatus', text: '版本状态', dictCode: ''}) fieldList.push({ type: 'int', value: 'verisonStatus', text: '版本状态', dictCode: '' })
fieldList.push({type: 'int', value: 'verison', text: '版本号', dictCode: ''}) fieldList.push({ type: 'int', value: 'verison', text: '版本号', dictCode: '' })
this.superFieldList = fieldList this.superFieldList = fieldList
}, },
loadParameter() { loadParameter () {
if (this.loadRouteType === false) { if (this.loadRouteType === false) {
this.projectIdx = this.$route.query.project; this.projectIdx = this.$route.query.project
// console.log('aaaaaaaaa',this.projectIdx) // console.log('aaaaaaaaa',this.projectIdx)
// console.log("***********") // console.log("***********")
this.loadRouteType = true; this.loadRouteType = true
} }
}, },
loadData(arg) { loadData (arg) {
if (!this.url.list) { if (!this.url.list) {
this.$message.error("请设置url.list属性!"); this.$message.error("请设置url.list属性!")
return return
} }
// 1 // 1
if (arg === 1) { if (arg === 1) {
this.ipagination.current = 1; this.ipagination.current = 1
} }
this.loadParameter(); this.loadParameter()
var params = this.getQueryParams();// var params = this.getQueryParams()//
this.loading = true; this.loading = true
getAction(this.url.list, params).then((res) => { getAction(this.url.list, params).then((res) => {
if (res.success) { if (res.success) {
//update-begin---author:zhangyafei Date:20201118 for------------ //update-begin---author:zhangyafei Date:20201118 for------------
this.dataSource = res.result.records || res.result; this.dataSource = res.result.records || res.result
if (res.result.total) { if (res.result.total) {
this.ipagination.total = res.result.total; this.ipagination.total = res.result.total
} else { } else {
this.ipagination.total = 0; this.ipagination.total = 0
} }
//update-end---author:zhangyafei Date:20201118 for------------ //update-end---author:zhangyafei Date:20201118 for------------
} else { } else {
@ -541,26 +548,25 @@ export default {
this.loading = false this.loading = false
}) })
}, },
getQueryParams() { getQueryParams () {
// //
let sqp = {} let sqp = {}
if (this.superQueryParams) { if (this.superQueryParams) {
sqp['superQueryParams'] = encodeURI(this.superQueryParams) sqp['superQueryParams'] = encodeURI(this.superQueryParams)
sqp['superQueryMatchType'] = this.superQueryMatchType sqp['superQueryMatchType'] = this.superQueryMatchType
} }
var param = Object.assign(sqp, this.queryParam, this.isorter, this.filters); var param = Object.assign(sqp, this.queryParam, this.isorter, this.filters)
param.field = this.getQueryField(); param.field = this.getQueryField()
param.pageNo = this.ipagination.current; param.pageNo = this.ipagination.current
param.pageSize = this.ipagination.pageSize; param.pageSize = this.ipagination.pageSize
//param.id=this.id; //param.id=this.id;
//!!!!!!! param.projectId = this.$route.query.project
// param.projectId = this.$route.query.project;
// console.log('paaaaaaaaaaaaaaaaaaaaa') // console.log('paaaaaaaaaaaaaaaaaaaaa')
return filterObj(param); return filterObj(param)
}, },
searchReset() { searchReset () {
this.queryParam='' this.queryParam = ''
this.loadData(); this.loadData()
}, },
}, },

Loading…
Cancel
Save