|
|
@ -94,6 +94,8 @@ |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a @click="handleDetail(record)">详情</a> |
|
|
|
<a @click="handleDetail(record)">详情</a> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
<a @click="fq(record.id)">废弃</a> |
|
|
|
|
|
|
|
<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> |
|
|
@ -113,6 +115,7 @@ |
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
|
|
|
import RequirementEntityModal from './modules/RequirementEntityModal' |
|
|
|
import RequirementEntityModal from './modules/RequirementEntityModal' |
|
|
|
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' |
|
|
|
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' |
|
|
|
|
|
|
|
import { httpAction, getAction } from '@/api/manage' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'RequirementEntityList', |
|
|
|
name: 'RequirementEntityList', |
|
|
@ -176,6 +179,7 @@ |
|
|
|
deleteBatch: "/requiremententity/requirementEntity/deleteBatch", |
|
|
|
deleteBatch: "/requiremententity/requirementEntity/deleteBatch", |
|
|
|
exportXlsUrl: "/requiremententity/requirementEntity/exportXls", |
|
|
|
exportXlsUrl: "/requiremententity/requirementEntity/exportXls", |
|
|
|
importExcelUrl: "requiremententity/requirementEntity/importExcel", |
|
|
|
importExcelUrl: "requiremententity/requirementEntity/importExcel", |
|
|
|
|
|
|
|
fq:"/requiremententity/requirementEntity/fq", |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
dictOptions:{}, |
|
|
|
dictOptions:{}, |
|
|
@ -191,6 +195,16 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
fq(id){ |
|
|
|
|
|
|
|
getAction(this.url.fq,{id:id}).then((res)=>{ |
|
|
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
|
|
this.$message.success(res.message); |
|
|
|
|
|
|
|
this.loadData(); |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.$message.warning(res.message); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
initDictConfig(){ |
|
|
|
initDictConfig(){ |
|
|
|
}, |
|
|
|
}, |
|
|
|
getSuperFieldList(){ |
|
|
|
getSuperFieldList(){ |
|
|
|