|
|
@ -84,6 +84,7 @@ |
|
|
|
</BasicTable> |
|
|
|
</BasicTable> |
|
|
|
<!-- 表单区域 --> |
|
|
|
<!-- 表单区域 --> |
|
|
|
<CompModal ref="registerModal" @success="handleSuccess" :comp-types="compType" /> |
|
|
|
<CompModal ref="registerModal" @success="handleSuccess" :comp-types="compType" /> |
|
|
|
|
|
|
|
<CompModalqz ref="registerModalqz" @success="handleSuccess" :comp-types="compType" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -95,6 +96,7 @@ |
|
|
|
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl, getCompType } from './Comp.api'; |
|
|
|
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl, getCompType } from './Comp.api'; |
|
|
|
import { downloadFile } from '/@/utils/common/renderUtils'; |
|
|
|
import { downloadFile } from '/@/utils/common/renderUtils'; |
|
|
|
import CompModal from './components/CompModal.vue'; |
|
|
|
import CompModal from './components/CompModal.vue'; |
|
|
|
|
|
|
|
import CompModalqz from './components/CompModalqz.vue'; |
|
|
|
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue'; |
|
|
|
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue'; |
|
|
|
import JPopup from '/@/components/Form/src/jeecg/components/JPopup.vue'; |
|
|
|
import JPopup from '/@/components/Form/src/jeecg/components/JPopup.vue'; |
|
|
|
import JSelectDept from '/@/components/Form/src/jeecg/components/JSelectDept.vue'; |
|
|
|
import JSelectDept from '/@/components/Form/src/jeecg/components/JSelectDept.vue'; |
|
|
@ -104,6 +106,7 @@ |
|
|
|
const queryParam = reactive<any>({}); |
|
|
|
const queryParam = reactive<any>({}); |
|
|
|
const toggleSearchStatus = ref<boolean>(false); |
|
|
|
const toggleSearchStatus = ref<boolean>(false); |
|
|
|
const registerModal = ref(); |
|
|
|
const registerModal = ref(); |
|
|
|
|
|
|
|
const registerModalqz = ref(); |
|
|
|
//注册table数据 |
|
|
|
//注册table数据 |
|
|
|
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ |
|
|
|
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ |
|
|
|
tableProps: { |
|
|
|
tableProps: { |
|
|
@ -161,6 +164,14 @@ |
|
|
|
registerModal.value.edit(record); |
|
|
|
registerModal.value.edit(record); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 修改权重事件 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
function handleEditqz(record: Recordable) { |
|
|
|
|
|
|
|
registerModalqz.value.disableSubmit = false; |
|
|
|
|
|
|
|
registerModalqz.value.edit(record); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 详情 |
|
|
|
* 详情 |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -199,6 +210,10 @@ |
|
|
|
label: '编辑', |
|
|
|
label: '编辑', |
|
|
|
onClick: handleEdit.bind(null, record), |
|
|
|
onClick: handleEdit.bind(null, record), |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
label: '修改权重', |
|
|
|
|
|
|
|
onClick: handleEditqz.bind(null, record), |
|
|
|
|
|
|
|
}, |
|
|
|
]; |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|