Merge branch 'master' of http://192.168.1.22:3000/frontend/pqs-9100_client
This commit is contained in:
@@ -138,7 +138,13 @@
|
||||
<div style="width: 80%;height: 80%;" class="loading-box">
|
||||
<Loading style="color: #003078;"/>
|
||||
</div>
|
||||
<div style="color:#fff;width: 80%;text-align: center;">Loading...</div>
|
||||
<!-- <div style="color:#fff;width: 80%;text-align: center;">Loading...</div>-->
|
||||
</div>
|
||||
<div class="loading-container" v-else>
|
||||
<div style="width: 80%;height: 80%;font-size: 30px;">
|
||||
<Loading style="color: #003078;"/>
|
||||
</div>
|
||||
<!-- <div style="color:#fff;width: 80%;text-align: center;">Loading...</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 10px;">
|
||||
@@ -212,6 +218,8 @@ interface TabOption {
|
||||
code?: string
|
||||
children?: TabOption[]
|
||||
}
|
||||
|
||||
|
||||
const communRef = ref()
|
||||
const treeData = ref<CheckData.TreeItem[]>([])
|
||||
const valueCode = ref('') //Absolute绝对值
|
||||
@@ -281,12 +289,11 @@ const controlContent = ref<controlSource.ResControl>({
|
||||
scriptId: '',
|
||||
scriptIndex: 0,
|
||||
sourceId: '',
|
||||
valueType:-1
|
||||
})
|
||||
// 获取树
|
||||
const getTree = () => {
|
||||
getTreeData({
|
||||
scriptId: '9ff96807cf8c7524587982ed8baa8b57'
|
||||
scriptId: props.formControl.scriptId,
|
||||
}).then(res => {
|
||||
if (res.code === 'A0000') {
|
||||
treeData.value = res.data
|
||||
@@ -420,10 +427,9 @@ const startLoading = async () => {
|
||||
ElMessage.success({message:'启动中...',duration:5000})
|
||||
// 启动加载逻辑
|
||||
controlContent.value.userPageId = 'cdf'
|
||||
controlContent.value.scriptId = '9ff96807cf8c7524587982ed8baa8b57'
|
||||
//controlContent.value.scriptId = '9ff96807cf8c7524587982ed8baa8b57'
|
||||
controlContent.value.scriptIndex = childActiveIndex.value
|
||||
controlContent.value.sourceId = props.formControl.sourceId
|
||||
controlContent.value.valueType = 2
|
||||
setTimeout(async () => {
|
||||
await startSimulateTest(controlContent.value)
|
||||
},3000)
|
||||
@@ -433,10 +439,9 @@ const startLoading = async () => {
|
||||
const stopLoading = async () => {
|
||||
// 启动加载逻辑
|
||||
controlContent.value.userPageId = 'cdf'
|
||||
controlContent.value.scriptId = '9ff96807cf8c7524587982ed8baa8b57'
|
||||
//controlContent.value.scriptId = '9ff96807cf8c7524587982ed8baa8b57'
|
||||
controlContent.value.scriptIndex = childActiveIndex.value
|
||||
controlContent.value.sourceId = props.formControl.sourceId
|
||||
controlContent.value.valueType = 2
|
||||
await closeSimulateTest(controlContent.value)
|
||||
emit('update:pauseDisabled', true)
|
||||
emit('update:startDisabeld', true)
|
||||
|
||||
Reference in New Issue
Block a user