|
|
|
@ -79,9 +79,9 @@ |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<span slot="action" slot-scope="text, record"> |
|
|
|
|
<a @click="handleEdit(record)">编辑</a> |
|
|
|
|
<a @click="checkqx(record)">编辑</a> |
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> |
|
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDeleteQx(record)"> |
|
|
|
|
<a>删除</a> |
|
|
|
|
</a-popconfirm> |
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
@ -104,6 +104,7 @@ |
|
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
|
|
|
|
import RequirementTypeModal from './modules/RequirementTypeModal' |
|
|
|
|
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' |
|
|
|
|
import { httpAction, getAction } from '@/api/manage' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
name: 'RequirementTypeList', |
|
|
|
@ -156,7 +157,7 @@ |
|
|
|
|
deleteBatch: "/requirementtype/requirementType/deleteBatch", |
|
|
|
|
exportXlsUrl: "/requirementtype/requirementType/exportXls", |
|
|
|
|
importExcelUrl: "requirementtype/requirementType/importExcel", |
|
|
|
|
|
|
|
|
|
checkqx:"/requirementtype/requirementType/checkqx", |
|
|
|
|
}, |
|
|
|
|
dictOptions:{}, |
|
|
|
|
superFieldList:[], |
|
|
|
@ -171,6 +172,17 @@ |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
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(){ |
|
|
|
|
}, |
|
|
|
|
getSuperFieldList(){ |
|
|
|
|