微调
This commit is contained in:
@@ -123,7 +123,7 @@ const close = () => {
|
||||
const save = () => {
|
||||
try {
|
||||
dialogFormRef.value?.validate(async (valid: boolean) => {
|
||||
console.log("11111111111111111")
|
||||
|
||||
if (valid) {
|
||||
if (formContent.value.id) {
|
||||
await updateTestSource(formContent.value);
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
:dialogTitle="dialogTitle"
|
||||
:is-read-only="isReadOnly"
|
||||
@update:visible="dialogFormVisible = $event"
|
||||
ref='testSourcePopup'
|
||||
/>
|
||||
<!-- 查看误差体系详细信息 -->
|
||||
<ErrorStandardDialog
|
||||
@@ -62,6 +63,7 @@
|
||||
:formData='detail_dialogForm'
|
||||
:dialogTitle='detail_dialogTitle'
|
||||
@update:visible='detail_dialogFormVisible = $event'
|
||||
ref="errorStandardPopup"
|
||||
/>
|
||||
</div>
|
||||
<devTransfer
|
||||
@@ -177,7 +179,7 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
|
||||
render: scope => {
|
||||
return (
|
||||
<div class='flx-flex-start'>
|
||||
<el-button type='primary' link onClick={() => showData(scope.row.testSourceName)}>
|
||||
<el-button type='primary' link onClick={() => showTestSource(scope.row.testSourceName)}>
|
||||
{scope.row.testSourceName}
|
||||
</el-button>
|
||||
<moreButtons isShow={isVisible(scope.row)} ></moreButtons>
|
||||
@@ -193,7 +195,7 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
|
||||
fieldNames: { label: 'label', value: 'id' },
|
||||
render: scope => {
|
||||
return (
|
||||
<el-button type='primary' link onClick={() => showData(scope.row.script_Id)}>
|
||||
<el-button type='primary' link onClick={() => showTestScript(scope.row.script_Id)}>
|
||||
{getScriptName(scope.row.script_Id)}
|
||||
</el-button>
|
||||
)
|
||||
@@ -278,15 +280,25 @@ function isVisible(row: Plan.PlanAndSourceBO) {
|
||||
else
|
||||
return true
|
||||
}
|
||||
|
||||
const errorStandardPopup = ref()
|
||||
function showData(row: string) {
|
||||
|
||||
detail_dialogTitle.value = row
|
||||
detail_dialogFormVisible.value = true // 显示对话框
|
||||
|
||||
errorStandardPopup.value?.open(row, row)
|
||||
// router.push({
|
||||
// path: "/machine/device",
|
||||
// query: { id: row }
|
||||
// });
|
||||
}
|
||||
const testSourcePopup = ref()
|
||||
function showTestSource(row: string) {
|
||||
|
||||
//testSourcePopup.value?.open('view', row,'模拟式')
|
||||
}
|
||||
|
||||
function showTestScript(row: string) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
function handleFiles(event: Event) {
|
||||
|
||||
Reference in New Issue
Block a user