From d274e9db5fdadfaec1761ecd76d5e122bd25ddc4 Mon Sep 17 00:00:00 2001
From: qianxj <qianxj15@sina.com>
Date: 星期五, 17 三月 2023 18:15:19 +0800
Subject: [PATCH] qianxj
---
ruoyi-ui/src/views/smartor/svytitle/index.vue | 16 +++-----
ruoyi-ui/src/smartor/dataobject/dw_iveoption_maint.vue | 78 +++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+), 10 deletions(-)
diff --git a/ruoyi-ui/src/smartor/dataobject/dw_iveoption_maint.vue b/ruoyi-ui/src/smartor/dataobject/dw_iveoption_maint.vue
new file mode 100644
index 0000000..169d1e6
--- /dev/null
+++ b/ruoyi-ui/src/smartor/dataobject/dw_iveoption_maint.vue
@@ -0,0 +1,78 @@
+<template>
+ <div>
+ <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="100px">
+ <el-form-item label="涓嬫媺閫夋嫨" prop="field101">
+ <el-select v-model="formData.field101" placeholder="璇烽�夋嫨涓嬫媺閫夋嫨" clearable :style="{width: '100%'}">
+ <el-option v-for="(item, index) in field101Options" :key="index" :label="item.label"
+ :value="item.value" :disabled="item.disabled"></el-option>
+ </el-select>
+ <el-input placeholder="閫夐」鍐呭"></el-input>
+
+ </el-form-item>
+ <el-form-item size="large">
+ <el-button type="primary" @click="submitForm">鎻愪氦</el-button>
+ <el-button @click="resetForm">閲嶇疆</el-button>
+ </el-form-item>
+ </el-form>
+ </div>
+ </template>
+ <script>
+ export default {
+ components: {},
+ props: [],
+ data() {
+ return {
+ formData: {
+ field101: undefined,
+ },
+ rules: {
+ field101: [{
+ required: true,
+ message: '璇烽�夋嫨涓嬫媺閫夋嫨',
+ trigger: 'change'
+ }],
+ },
+ field101Options: [{
+ "label": "鍗曢�夐」",
+ "value": 1
+ },
+ {
+ "label": "澶氶�夐」",
+ "value": 2
+ },
+ {
+ "label": "鐩存帴濉啓",
+ "value": 3
+ },
+ {
+ "label": "鏃ユ湡鑼冨洿",
+ "value": 4
+ },
+ {
+ "label": "鏁板�艰寖鍥�",
+ "value": 5
+ }
+ ],
+ }
+ },
+ computed: {},
+ watch: {},
+ created() {},
+ mounted() {},
+ methods: {
+ submitForm() {
+ this.$refs['elForm'].validate(valid => {
+ if (!valid) return
+ // TODO 鎻愪氦琛ㄥ崟
+ })
+ },
+ resetForm() {
+ this.$refs['elForm'].resetFields()
+ },
+ }
+ }
+
+ </script>
+ <style>
+ </style>
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/smartor/svytitle/index.vue b/ruoyi-ui/src/views/smartor/svytitle/index.vue
index f0746cd..127f216 100644
--- a/ruoyi-ui/src/views/smartor/svytitle/index.vue
+++ b/ruoyi-ui/src/views/smartor/svytitle/index.vue
@@ -14,16 +14,12 @@
<el-button size="small" type1="primary" @click="handleQueryGrid">琛ㄦ绱�</el-button>
<el-button size="small" type1="primary" @click="handleQueryTree">鏍戞绱�</el-button>
</div>
- <div id="content" />
-
- <!--el-container style="display:none">
- <el-aside width="200px">
- <el-tree :data="data" :props="defaultProps" @node-click="handleNodeClick"></el-tree>
- </el-aside>
- <el-main>
- <div is='dw_topic' />
- </el-main>
- </el-container-->
+ <div id="content">
+ <div v-for="(item,i) in svytitleList" :key="i" style="margin-left:12pt;margin-top:12pt">
+ <a style="color:#000080;font-size:11pt">{{item.svyname}}({{item.version}})</a>
+ <div>{{item.description}}</div>
+ </div>
+ </div>
</div>
</template>
<style>
--
Gitblit v1.9.3