|
@@ -678,6 +678,27 @@
|
|
|
:classify="classifys"
|
|
|
/>
|
|
|
</hc-new-dialog>
|
|
|
+ <!-- 测量偏差 -->
|
|
|
+ <hc-new-dialog v-model="deviationShow" title="设置偏差范围" :loading="deviationLoading" @save="deviationSaveClick">
|
|
|
+ <el-form
|
|
|
+ :model="deviationModal"
|
|
|
+ label-width="auto"
|
|
|
+ size="large"
|
|
|
+ :inline="true"
|
|
|
+ >
|
|
|
+ <div style="display: flex; align-items: center;">
|
|
|
+ <el-form-item label=" " style="margin-right: 20px;">
|
|
|
+ <el-radio-group v-model="deviationModal.type" style="display: flex; flex-direction: column;">
|
|
|
+ <el-radio value="Sponsor" style="margin-bottom: 8px;">高程偏差</el-radio>
|
|
|
+ <el-radio value="Venue">平面偏差</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label=" ">
|
|
|
+ <el-input v-model="deviationModal.customValue" block placeholder="请输入" />
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
+ </hc-new-dialog>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
@@ -1004,6 +1025,7 @@ const isOpen = infos['isOpenRandomNumber'] ?? 0
|
|
|
newArr.push({ label: '插入设计值/频率', key: 'design' })
|
|
|
}
|
|
|
newArr.push({ label: '插入编号', key: 'pushCode' })
|
|
|
+ newArr.push({ label: '测量偏差范围', key: 'deviation' })
|
|
|
newArr.push({ label: '插入特殊字符', key: 'special' })
|
|
|
newArr.push({ label: '关联试验数据', key: 'test' })
|
|
|
newArr.push({ label: '关联试验文件', key: 'file' })
|
|
@@ -1127,6 +1149,8 @@ const handleMenuSelect = async ({ key }) => {
|
|
|
} else if (key === 'pushCode') {
|
|
|
pushCodeShow.value = true
|
|
|
|
|
|
+ } else if (key === 'deviation') {
|
|
|
+ deviationShow.value = true
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2254,6 +2278,13 @@ const submitPushCode = async ()=>{
|
|
|
|
|
|
}
|
|
|
const pushCodeRef = ref(null)
|
|
|
+//测量偏差
|
|
|
+const deviationShow = ref(false)
|
|
|
+const deviationLoading = ref(false)
|
|
|
+const deviationModal = ref({})
|
|
|
+const deviationSaveClick = ()=>{
|
|
|
+
|
|
|
+}
|
|
|
|
|
|
// 暴露出去
|
|
|
defineExpose({
|