|
|
@ -79,9 +79,9 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<span slot="action" slot-scope="text, record"> |
|
|
|
<span slot="action" slot-scope="text, record"> |
|
|
|
<a @click="handleEdit(record)">编辑</a> |
|
|
|
<a @click="checkqx(record)">编辑</a> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> |
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDeleteQx(record)"> |
|
|
|
<a>删除</a> |
|
|
|
<a>删除</a> |
|
|
|
</a-popconfirm> |
|
|
|
</a-popconfirm> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a-divider type="vertical" /> |
|
|
@ -104,6 +104,7 @@ |
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
|
|
|
import RequirementTypeModal from './modules/RequirementTypeModal' |
|
|
|
import RequirementTypeModal from './modules/RequirementTypeModal' |
|
|
|
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' |
|
|
|
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' |
|
|
|
|
|
|
|
import { httpAction, getAction } from '@/api/manage' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'RequirementTypeList', |
|
|
|
name: 'RequirementTypeList', |
|
|
@ -156,7 +157,7 @@ |
|
|
|
deleteBatch: "/requirementtype/requirementType/deleteBatch", |
|
|
|
deleteBatch: "/requirementtype/requirementType/deleteBatch", |
|
|
|
exportXlsUrl: "/requirementtype/requirementType/exportXls", |
|
|
|
exportXlsUrl: "/requirementtype/requirementType/exportXls", |
|
|
|
importExcelUrl: "requirementtype/requirementType/importExcel", |
|
|
|
importExcelUrl: "requirementtype/requirementType/importExcel", |
|
|
|
|
|
|
|
checkqx:"/requirementtype/requirementType/checkqx", |
|
|
|
}, |
|
|
|
}, |
|
|
|
dictOptions:{}, |
|
|
|
dictOptions:{}, |
|
|
|
superFieldList:[], |
|
|
|
superFieldList:[], |
|
|
@ -171,6 +172,17 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
checkqx(record){ |
|
|
|
|
|
|
|
getAction(this.url.checkqx,{createBy:record.createBy}).then((res)=>{ |
|
|
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
|
|
this.$refs.modalForm.edit(record); |
|
|
|
|
|
|
|
this.$refs.modalForm.title = "编辑"; |
|
|
|
|
|
|
|
this.$refs.modalForm.disableSubmit = false; |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.$message.warning(res.message); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
initDictConfig(){ |
|
|
|
initDictConfig(){ |
|
|
|
}, |
|
|
|
}, |
|
|
|
getSuperFieldList(){ |
|
|
|
getSuperFieldList(){ |
|
|
|