【修改】页面细节
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
filterable
|
||||
allow-create
|
||||
default-first-option
|
||||
placeholder="请选择同步服务器"
|
||||
placeholder="请选择服务器"
|
||||
class="!w-240px"
|
||||
>
|
||||
<el-option
|
||||
@@ -262,17 +262,17 @@
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
@click="openForm('update', scope.row.quId)"
|
||||
@click="openForm('update', scope.row)"
|
||||
>
|
||||
<Icon icon="ep:edit" />修改
|
||||
</el-button>
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
link
|
||||
@click="openForm('update', scope.row.quId)"
|
||||
>
|
||||
<Icon icon="ep:delete" />删除
|
||||
</el-button>
|
||||
</el-button> -->
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -624,7 +624,7 @@ const findNamePathFromTreeList = (treeList: Tree[], targetId: number): string[]
|
||||
/** 添加/修改操作 */
|
||||
const formRef = ref()
|
||||
const cformRef = ref()
|
||||
const openForm = (type: string, id?: number) => {
|
||||
const openForm = (type: string, row: any) => {
|
||||
console.log(queryParams)
|
||||
// if (queryParams.subjectName == "") {
|
||||
// return message.confirm('请选择题型!');
|
||||
@@ -634,7 +634,7 @@ const openForm = (type: string, id?: number) => {
|
||||
// } else {
|
||||
// formRef.value.open(queryParams, type, id)
|
||||
// }
|
||||
formRef.value.open(queryParams, type, id)
|
||||
formRef.value.open(queryParams, type, row.quId)
|
||||
}
|
||||
|
||||
/** 用户导入 */
|
||||
|
Reference in New Issue
Block a user