去除日志,表格宽度
This commit is contained in:
@@ -299,7 +299,7 @@ watch(
|
||||
if (props.formControl.scriptId != '') {
|
||||
nextTick(async () => {
|
||||
await getTree()
|
||||
console.log('props.formControl.scriptId')
|
||||
|
||||
treeRef.value.checkTree()
|
||||
})
|
||||
}
|
||||
|
||||
@@ -129,11 +129,9 @@ function findFirstLeafNode(node: any): any {
|
||||
}
|
||||
|
||||
const checkTree = () => {
|
||||
console.log('checkTree11')
|
||||
console.log('checkTree22',props.treeData.length)
|
||||
console.log('checkTree33',treeRef.value)
|
||||
|
||||
if (props.treeData.length > 0 && treeRef.value) {
|
||||
console.log('checkTree44')
|
||||
|
||||
const firstNode = props.treeData[0];
|
||||
const firstLeafNode = findFirstLeafNode(firstNode);
|
||||
const firstLeafNodeId = firstLeafNode.id;
|
||||
@@ -143,7 +141,7 @@ const checkTree = () => {
|
||||
|
||||
// 确保在组件挂载后也执行一次
|
||||
onMounted(() => {
|
||||
console.log('onMounted',props.treeData);
|
||||
|
||||
nextTick(() => {
|
||||
checkTree()
|
||||
});
|
||||
|
||||
@@ -184,7 +184,7 @@ onMounted(async () => {
|
||||
})
|
||||
|
||||
watch(webMsgSend, function (newValue, oldValue) {
|
||||
console.log('webMsgSend:', newValue)
|
||||
|
||||
if (newValue.requestId.includes('formal_real&&') && newValue.operateCode === 'OPER_GATHER') {
|
||||
if (newValue.code === 10200) {
|
||||
ElMessage.success('启动成功!')
|
||||
@@ -195,7 +195,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
ElMessage.error('启动失败!')
|
||||
startDisabeld.value = false
|
||||
pauseDisabled.value = true
|
||||
console.log('错误信息:',webMsgSend)
|
||||
|
||||
}
|
||||
}
|
||||
if (newValue.requestId.includes('close_source') && newValue.operateCode === 'CLOSE_GATHER') {
|
||||
@@ -211,7 +211,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
ElMessage.error('停止失败!')
|
||||
startDisabeld.value = true
|
||||
pauseDisabled.value = false
|
||||
console.log('错误信息:',webMsgSend)
|
||||
|
||||
}
|
||||
}
|
||||
switch (newValue.requestId) {
|
||||
|
||||
@@ -138,7 +138,7 @@ const columns = reactive<ColumnProps<Monitor.ResPqMon>[]>([
|
||||
const emit = defineEmits(['get-parameter'])
|
||||
|
||||
const getParameter = (data: Monitor.ResPqMon) => {
|
||||
console.log('data', data)
|
||||
|
||||
if (title_Type.value === 'edit') {
|
||||
// 编辑:替换已有的数据
|
||||
const index = tableData.value.findIndex(item => item.id === data.id)
|
||||
|
||||
@@ -85,7 +85,7 @@ const handleInputRetainTime = value => {
|
||||
props.childForm[0].dipData.retainTime = 300
|
||||
emit('setRetainTime', 300 )
|
||||
}else{
|
||||
console.log(props);
|
||||
|
||||
|
||||
emit('setRetainTime', value )
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ const defaultProps = {
|
||||
const activeName = ref('')
|
||||
const childActiveName = ref('')
|
||||
const handleNodeClick = (data, node) => {
|
||||
console.log('handleNodeClick', data, node)
|
||||
|
||||
let code = ['Base', 'VOL', 'Freq', 'Harm', 'Base_0_10', 'Base_20_85', 'Base_110_200']
|
||||
const parents = getParentNodes(node, [])
|
||||
parents.pop()
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
const proTable = ref<ProTableInstance>()
|
||||
|
||||
const getTableList = (params: any) => {
|
||||
console.log("getTableList",params)
|
||||
|
||||
let newParams = JSON.parse(JSON.stringify(params))
|
||||
const patternId = dictStore.getDictData('Pattern').find(item=>item.name=== modeStore.currentMode)?.id//获取数据字典中对应的id
|
||||
newParams.pattern = patternId
|
||||
|
||||
Reference in New Issue
Block a user