Browse Source

dialog被限制在列表页中修改

lrf 1 day ago
parent
commit
2eb6219f2c
34 changed files with 715 additions and 728 deletions
  1. 21 21
      src/views/exam/parts/company.vue
  2. 18 18
      src/views/exam/parts/contact.vue
  3. 32 32
      src/views/information/parts/news/news.vue
  4. 32 32
      src/views/information/parts/news/policy.vue
  5. 32 32
      src/views/information/parts/news/trends.vue
  6. 47 47
      src/views/information/parts/platform/achievement.vue
  7. 38 38
      src/views/information/parts/platform/demand.vue
  8. 37 37
      src/views/information/parts/platform/footplate.vue
  9. 2 2
      src/views/information/parts/platform/match.vue
  10. 47 47
      src/views/information/parts/platform/project.vue
  11. 38 38
      src/views/information/parts/platform/supply.vue
  12. 32 32
      src/views/information/parts/platform/support.vue
  13. 24 24
      src/views/information/parts/role/association.vue
  14. 31 31
      src/views/information/parts/role/company.vue
  15. 27 27
      src/views/information/parts/role/competition.vue
  16. 20 20
      src/views/information/parts/role/expert.vue
  17. 20 20
      src/views/information/parts/role/incubator.vue
  18. 30 30
      src/views/information/parts/role/investment.vue
  19. 24 24
      src/views/information/parts/role/school.vue
  20. 24 24
      src/views/information/parts/role/state.vue
  21. 24 24
      src/views/information/parts/role/unit.vue
  22. 6 6
      src/views/platform/parts/dept.vue
  23. 7 7
      src/views/platform/parts/import.vue
  24. 3 3
      src/views/platform/parts/role.vue
  25. 2 2
      src/views/platform/parts/sector.vue
  26. 11 11
      src/views/platform/parts/tags.vue
  27. 3 3
      src/views/system/parts/admin-menus.vue
  28. 14 14
      src/views/system/parts/dict.vue
  29. 1 1
      src/views/system/parts/dict/dict-data.vue
  30. 12 25
      src/views/system/parts/region.vue
  31. 1 1
      src/views/system/parts/system-func.vue
  32. 3 3
      src/views/system/parts/user-menus.vue
  33. 13 13
      src/views/user/parts/admin.vue
  34. 39 39
      src/views/user/parts/user.vue

+ 21 - 21
src/views/exam/parts/company.vue

@@ -7,28 +7,28 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #file>
-              <custom-upload model="file" :list="form.file" :limit="1" listType="picture-card" url="/files/web/cxyy_applyCompany/upload" @change="onUpload"></custom-upload>
-            </template>
-            <template #card>
-              <custom-upload model="card" :list="form.card" :limit="2" listType="picture-card" url="/files/web/cxyy_applyCompany/upload" @change="onUpload"></custom-upload>
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #file>
+            <custom-upload model="file" :list="form.file" :limit="1" listType="picture-card" url="/files/web/cxyy_applyCompany/upload" @change="onUpload"></custom-upload>
+          </template>
+          <template #card>
+            <custom-upload model="card" :list="form.card" :limit="2" listType="picture-card" url="/files/web/cxyy_applyCompany/upload" @change="onUpload"></custom-upload>
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 18 - 18
src/views/exam/parts/contact.vue

@@ -15,25 +15,25 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <custom-form v-if="form.source === 'sector'" v-model="contactsForm" :fields="contactsFields" :rules="contactsRules" style="margin: 10px 0" :useSave="false"></custom-form>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')" :disabled="getAgreeDisabled">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <template v-if="dialog.type == '2'">
+      <el-row>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
+        </el-col>
+      </el-row>
+      <custom-form v-if="form.source === 'sector'" v-model="contactsForm" :fields="contactsFields" :rules="contactsRules" style="margin: 10px 0" :useSave="false"></custom-form>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')" :disabled="getAgreeDisabled">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 32 - 32
src/views/information/parts/news/news.vue

@@ -8,39 +8,39 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">{{ $t('common.is_use_disabled') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #logo>
-              <custom-upload model="logo" :list="form.logo" :limit="1" url="/files/web/cxyy_news/upload" @change="onUpload" listType="picture-card"></custom-upload>
-            </template>
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-            <template #content>
-              <WangEditor v-model="form.content" />
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #logo>
+            <custom-upload model="logo" :list="form.logo" :limit="1" url="/files/web/cxyy_news/upload" @change="onUpload" listType="picture-card"></custom-upload>
+          </template>
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+          <template #content>
+            <WangEditor v-model="form.content" />
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 32 - 32
src/views/information/parts/news/policy.vue

@@ -8,39 +8,39 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">{{ $t('common.is_use_disabled') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #logo>
-              <custom-upload model="logo" :list="form.logo" :limit="1" url="/files/web/cxyy_news/upload" @change="onUpload" listType="picture-card"></custom-upload>
-            </template>
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-            <template #content>
-              <WangEditor v-model="form.content" />
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #logo>
+            <custom-upload model="logo" :list="form.logo" :limit="1" url="/files/web/cxyy_news/upload" @change="onUpload" listType="picture-card"></custom-upload>
+          </template>
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+          <template #content>
+            <WangEditor v-model="form.content" />
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 32 - 32
src/views/information/parts/news/trends.vue

@@ -8,39 +8,39 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">{{ $t('common.is_use_disabled') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #logo>
-              <custom-upload model="logo" :list="form.logo" :limit="1" url="/files/web/cxyy_news/upload" @change="onUpload" listType="picture-card"></custom-upload>
-            </template>
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-            <template #content>
-              <WangEditor v-model="form.content" />
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #logo>
+            <custom-upload model="logo" :list="form.logo" :limit="1" url="/files/web/cxyy_news/upload" @change="onUpload" listType="picture-card"></custom-upload>
+          </template>
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+          <template #content>
+            <WangEditor v-model="form.content" />
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 47 - 47
src/views/information/parts/platform/achievement.vue

@@ -21,54 +21,54 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #field>
-              <el-option v-for="i in fieldList" :key="i.id" :label="i.label" :value="i.label"></el-option>
-            </template>
-            <template #attribute>
-              <el-option v-for="i in attributeList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #mature>
-              <el-option v-for="i in matureList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #sell>
-              <el-option v-for="i in sellList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #technology>
-              <el-option v-for="i in technologyList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #area>
-              <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
-            </template>
-            <template #file>
-              <custom-upload model="file" :list="form.file" :limit="1" url="/files/web/cxyy_achievement/upload" @change="onUpload"></custom-upload>
-            </template>
-            <template #industry>
-              <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
-            </template>
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #field>
+            <el-option v-for="i in fieldList" :key="i.id" :label="i.label" :value="i.label"></el-option>
+          </template>
+          <template #attribute>
+            <el-option v-for="i in attributeList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #mature>
+            <el-option v-for="i in matureList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #sell>
+            <el-option v-for="i in sellList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #technology>
+            <el-option v-for="i in technologyList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #area>
+            <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
+          </template>
+          <template #file>
+            <custom-upload model="file" :list="form.file" :limit="1" url="/files/web/cxyy_achievement/upload" @change="onUpload"></custom-upload>
+          </template>
+          <template #industry>
+            <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
+          </template>
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 38 - 38
src/views/information/parts/platform/demand.vue

@@ -21,45 +21,45 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #field>
-              <el-option v-for="i in fieldList" :key="i.id" :label="i.label" :value="i.label"></el-option>
-            </template>
-            <template #industry>
-              <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
-            </template>
-            <template #urgent>
-              <el-option v-for="i in urgentList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #method>
-              <el-option v-for="i in methodList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #area>
-              <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
-            </template>
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #field>
+            <el-option v-for="i in fieldList" :key="i.id" :label="i.label" :value="i.label"></el-option>
+          </template>
+          <template #industry>
+            <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
+          </template>
+          <template #urgent>
+            <el-option v-for="i in urgentList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #method>
+            <el-option v-for="i in methodList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #area>
+            <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
+          </template>
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 37 - 37
src/views/information/parts/platform/footplate.vue

@@ -12,42 +12,42 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #file>
-              <custom-upload model="file" :list="form.file" :limit="3" listType="picture-card" url="/files/web/cxyy_footplate/upload" @change="onUpload"></custom-upload>
-            </template>
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #industry>
-              <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
-            </template>
-            <template #area>
-              <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
-            </template>
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-            <template #brief>
-              <WangEditor v-model="form.brief" />
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #file>
+            <custom-upload model="file" :list="form.file" :limit="3" listType="picture-card" url="/files/web/cxyy_footplate/upload" @change="onUpload"></custom-upload>
+          </template>
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #industry>
+            <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
+          </template>
+          <template #area>
+            <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
+          </template>
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+          <template #brief>
+            <WangEditor v-model="form.brief" />
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>
@@ -73,8 +73,8 @@ const fields = [
   { label: t('pages.footplate.tags'), model: 'tags', isSearch: true, format: (i) => getDict(i, 'tags') },
   { label: t('pages.footplate.build'), model: 'build', isSearch: true },
   { label: t('pages.footplate.operate'), model: 'operate', isSearch: true },
-  { label: t('pages.footplate.contacts'), model: 'contacts', isSearch: true },
-  { label: t('pages.footplate.phone'), model: 'phone', isSearch: true },
+  { label: t('pages.footplate.contacts'), model: 'contacts' },
+  { label: t('pages.footplate.phone'), model: 'phone' },
   { label: t('pages.footplate.is_use'), model: 'is_use', custom: true, format: (i) => getDict(i, 'is_use') },
   { label: t('pages.footplate.status'), model: 'status', format: (i) => getDict(i, 'status') }
 ]

+ 2 - 2
src/views/information/parts/platform/match.vue

@@ -15,7 +15,8 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
       <el-row>
         <el-col :span="24" v-if="dialog.type == '1'">
           <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
@@ -150,7 +151,6 @@
         </el-col>
       </el-row>
     </el-dialog>
-  </div>
 </template>
 
 <script setup>

+ 47 - 47
src/views/information/parts/platform/project.vue

@@ -27,54 +27,54 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-            <template #industry>
-              <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
-            </template>
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #field>
-              <el-option v-for="i in fieldList" :key="i.id" :label="i.label" :value="i.label"></el-option>
-            </template>
-            <template #type>
-              <el-option v-for="i in typeList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #maturity>
-              <el-option v-for="i in maturityList" :key="i.id" :label="i.label" :value="i.label"></el-option>
-            </template>
-            <template #skill>
-              <el-option v-for="i in skillList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #file>
-              <custom-upload model="file" :list="form.file" :limit="1" url="/files/web/cxyy_project/upload" @change="onUpload"></custom-upload>
-            </template>
-            <template #cooperate>
-              <el-option v-for="i in cooperateList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #area>
-              <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+          <template #industry>
+            <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
+          </template>
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #field>
+            <el-option v-for="i in fieldList" :key="i.id" :label="i.label" :value="i.label"></el-option>
+          </template>
+          <template #type>
+            <el-option v-for="i in typeList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #maturity>
+            <el-option v-for="i in maturityList" :key="i.id" :label="i.label" :value="i.label"></el-option>
+          </template>
+          <template #skill>
+            <el-option v-for="i in skillList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #file>
+            <custom-upload model="file" :list="form.file" :limit="1" url="/files/web/cxyy_project/upload" @change="onUpload"></custom-upload>
+          </template>
+          <template #cooperate>
+            <el-option v-for="i in cooperateList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #area>
+            <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 38 - 38
src/views/information/parts/platform/supply.vue

@@ -21,45 +21,45 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #field>
-              <el-option v-for="i in fieldList" :key="i.id" :label="i.label" :value="i.label"></el-option>
-            </template>
-            <template #urgent>
-              <el-option v-for="i in urgentList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #method>
-              <el-option v-for="i in methodList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #industry>
-              <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
-            </template>
-            <template #area>
-              <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
-            </template>
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #field>
+            <el-option v-for="i in fieldList" :key="i.id" :label="i.label" :value="i.label"></el-option>
+          </template>
+          <template #urgent>
+            <el-option v-for="i in urgentList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #method>
+            <el-option v-for="i in methodList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #industry>
+            <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
+          </template>
+          <template #area>
+            <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
+          </template>
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 32 - 32
src/views/information/parts/platform/support.vue

@@ -12,39 +12,39 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #file>
-              <custom-upload model="file" :list="form.file" :limit="3" listType="picture-card" url="/files/web/cxyy_support/upload" @change="onUpload"></custom-upload>
-            </template>
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #industry>
-              <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
-            </template>
-            <template #area>
-              <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
-            </template>
-            <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
-                <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
-              </el-select>
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #file>
+            <custom-upload model="file" :list="form.file" :limit="3" listType="picture-card" url="/files/web/cxyy_support/upload" @change="onUpload"></custom-upload>
+          </template>
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #industry>
+            <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
+          </template>
+          <template #area>
+            <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
+          </template>
+          <template #tags>
+            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
+            </el-select>
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 24 - 24
src/views/information/parts/role/association.vue

@@ -15,33 +15,33 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-          </custom-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
-  </div>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 31 - 31
src/views/information/parts/role/company.vue

@@ -15,42 +15,42 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <company-form></company-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <company-form></company-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-      <template v-if="dialog.type == '3'">
-        <el-col :span="24" class="one">
-          <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox>
-        </el-col>
-        <el-col :span="24" class="two">
-          <el-checkbox-group v-model="checkedExport" @change="checkedExportChange">
-            <el-checkbox v-for="i in formFields" :label="i" :key="i.model">{{ i.label }}</el-checkbox>
-          </el-checkbox-group>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
         </el-col>
-        <el-col :span="24" class="btn">
-          <el-button type="primary" size="mini" @click="toFile()">确定导出</el-button>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
         </el-col>
-      </template>
-    </el-dialog>
-  </div>
+      </el-row>
+    </template>
+    <template v-if="dialog.type == '3'">
+      <el-col :span="24" class="one">
+        <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox>
+      </el-col>
+      <el-col :span="24" class="two">
+        <el-checkbox-group v-model="checkedExport" @change="checkedExportChange">
+          <el-checkbox v-for="i in formFields" :label="i" :key="i.model">{{ i.label }}</el-checkbox>
+        </el-checkbox-group>
+      </el-col>
+      <el-col :span="24" class="btn">
+        <el-button type="primary" size="mini" @click="toFile()">确定导出</el-button>
+      </el-col>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 27 - 27
src/views/information/parts/role/competition.vue

@@ -15,36 +15,36 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+          <template #mode>
+            <el-radio v-for="i in modeList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-            <template #mode>
-              <el-radio v-for="i in modeList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-          </custom-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
-  </div>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 20 - 20
src/views/information/parts/role/expert.vue

@@ -15,29 +15,29 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <expert-form></expert-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <expert-form></expert-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
-  </div>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 20 - 20
src/views/information/parts/role/incubator.vue

@@ -15,29 +15,29 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <incubator-form></incubator-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <incubator-form></incubator-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
-  </div>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 30 - 30
src/views/information/parts/role/investment.vue

@@ -18,39 +18,39 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #cardType>
+            <el-option v-for="i in cardTypeList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #type>
+            <el-option v-for="i in contributionList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #cardType>
-              <el-option v-for="i in cardTypeList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #type>
-              <el-option v-for="i in contributionList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-          </custom-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
-  </div>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 24 - 24
src/views/information/parts/role/school.vue

@@ -15,33 +15,33 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-          </custom-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
-  </div>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 24 - 24
src/views/information/parts/role/state.vue

@@ -15,33 +15,33 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-          </custom-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
-  </div>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 24 - 24
src/views/information/parts/role/unit.vue

@@ -15,33 +15,33 @@
         <el-tag v-else-if="row.status == '-1'" type="danger">{{ getDict(row.status, 'status') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_show>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+    <template v-if="dialog.type == '2'">
       <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_show>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-          </custom-form>
+        <el-col :span="24">
+          <custom-desc v-model="form" :fields="statusFields"></custom-desc>
         </el-col>
       </el-row>
-      <template v-if="dialog.type == '2'">
-        <el-row>
-          <el-col :span="24">
-            <custom-desc v-model="form" :fields="statusFields"></custom-desc>
-          </el-col>
-        </el-row>
-        <el-row style="text-align: center; padding-top: 20px" justify="center">
-          <el-col :span="6" style="">
-            <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
-          </el-col>
-          <el-col :span="6" style="text-align: center">
-            <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
-          </el-col>
-        </el-row>
-      </template>
-    </el-dialog>
-  </div>
+      <el-row style="text-align: center; padding-top: 20px" justify="center">
+        <el-col :span="6" style="">
+          <el-button type="success" @click="exam('1')">{{ $t('common.agree') }}</el-button>
+        </el-col>
+        <el-col :span="6" style="text-align: center">
+          <el-button type="danger" @click="exam('-1')">{{ $t('common.refuse') }}</el-button>
+        </el-col>
+      </el-row>
+    </template>
+  </el-dialog>
 </template>
 
 <script setup>

+ 6 - 6
src/views/platform/parts/dept.vue

@@ -9,13 +9,13 @@
         <right-view></right-view>
       </el-col>
     </el-row>
-    <el-dialog v-model="dialog" :title="$t('pages.dept.dialogTitle')" :destroy-on-close="true" @close="toClose">
-      <right-form></right-form>
-    </el-dialog>
-    <el-dialog v-model="rDialog" :title="$t('pages.dept.rDialogTitle')" :destroy-on-close="true" @close="toClose">
-      <resource></resource>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog" :title="$t('pages.dept.dialogTitle')" :destroy-on-close="true" @close="toClose">
+    <right-form></right-form>
+  </el-dialog>
+  <el-dialog v-model="rDialog" :title="$t('pages.dept.rDialogTitle')" :destroy-on-close="true" @close="toClose">
+    <resource></resource>
+  </el-dialog>
 </template>
 
 <script setup>

+ 7 - 7
src/views/platform/parts/import.vue

@@ -22,14 +22,14 @@
         </el-table>
       </el-col>
     </el-row>
-    <c-dialog :dialog="dialog" @toClose="toClose">
-      <template v-slot:info>
-        <el-col :span="24" class="dialog_one" v-if="dialog.type == '1'">
-          {{ errorList }}
-        </el-col>
-      </template>
-    </c-dialog>
   </div>
+  <c-dialog :dialog="dialog" @toClose="toClose">
+    <template v-slot:info>
+      <el-col :span="24" class="dialog_one" v-if="dialog.type == '1'">
+        {{ errorList }}
+      </el-col>
+    </template>
+  </c-dialog>
 </template>
 
 <script setup>

+ 3 - 3
src/views/platform/parts/role.vue

@@ -13,10 +13,10 @@
     <el-row justify="end" style="margin-top: 10px; height: 5vh">
       <el-pagination background layout="total, prev, pager, next" :page-size="limit" :total="total" v-model:current-page="currentPage" @current-change="changePage" />
     </el-row>
-    <el-dialog v-model="dialog" :title="$t('pages.role.dialogTitle')" :destroy-on-close="true" @close="toClose">
-      <role-form></role-form>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog" :title="$t('pages.role.dialogTitle')" :destroy-on-close="true" @close="toClose">
+    <role-form></role-form>
+  </el-dialog>
 </template>
 
 <script setup>

+ 2 - 2
src/views/platform/parts/sector.vue

@@ -8,7 +8,8 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose" :top="dialog.top">
+  </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose" :top="dialog.top">
       <el-row>
         <el-col :span="24" v-if="dialog.type == '1'">
           <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
@@ -66,7 +67,6 @@
         </el-col>
       </el-row>
     </el-dialog>
-  </div>
 </template>
 
 <script setup>

+ 11 - 11
src/views/platform/parts/tags.vue

@@ -8,18 +8,18 @@
         <el-tag v-else type="info" @click="toUse(row, '0')">禁用</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose" :top="dialog.top">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose" :top="dialog.top">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 3 - 3
src/views/system/parts/admin-menus.vue

@@ -8,10 +8,10 @@
         <menu-table></menu-table>
       </el-col>
     </el-row>
-    <el-dialog v-model="dialog" :title="$t('pages.menus.dialogTitle')" :destroy-on-close="false" @close="toClose">
-      <menu-info></menu-info>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog" :title="$t('pages.menus.dialogTitle')" :destroy-on-close="false" @close="toClose">
+    <menu-info></menu-info>
+  </el-dialog>
 </template>
 
 <script setup>

+ 14 - 14
src/views/system/parts/dict.vue

@@ -8,21 +8,21 @@
         <el-tag v-else type="info">{{ $t('common.is_use_disabled') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose" :top="dialog.top">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-            <template #is_use>
-              <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <dictData></dictData>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose" :top="dialog.top">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+          <template #is_use>
+            <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <dictData></dictData>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>

+ 1 - 1
src/views/system/parts/dict/dict-data.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="main animate__animated animate__backInRight" v-loading="loading">
+  <div v-loading="loading">
     <custom-search-bar :fields="fields.filter((f) => f.isSearch)" v-model="searchForm" @search="search" @reset="toReset"></custom-search-bar>
     <custom-button-bar :fields="buttonFields" @create="toAdd"></custom-button-bar>
     <custom-table :data="data" :fields="fields" @query="search" :total="total" :opera="opera" @update="toEdit" @delete="toDelete">

+ 12 - 25
src/views/system/parts/region.vue

@@ -1,7 +1,7 @@
 <template>
-  <div id="index">
+  <div class="main animate__animated animate__backInRight" v-loading="loading">
     <el-row>
-      <el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
+      <el-col :span="24">
         <el-col :span="24" style="text-align: right; padding: 10px">
           <el-button type="primary" @click="toAdd()">{{ $t('common.create') }}</el-button>
         </el-col>
@@ -29,32 +29,19 @@
             </el-table-column>
           </el-table>
         </el-col>
-        <el-col :span="24" style="display: flex; justify-content: flex-end; padding: 10px">
-          <el-pagination
-            background
-            layout="total, prev, pager, next"
-            :page-sizes="[10, 20, 50, 100, 200]"
-            :total="total"
-            :page-size="limit"
-            v-model:current-page="currentPage"
-            @current-change="changePage"
-            @size-change="sizeChange"
-          >
-          </el-pagination>
-        </el-col>
       </el-col>
     </el-row>
-    <el-dialog v-model="dialog" :title="$t('pages.region.dialogTitle')" :destroy-on-close="false" @close="toClose">
-      <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
-        <template #is_use>
-          <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-        </template>
-        <template #level>
-          <el-option v-for="i in levelList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-        </template>
-      </custom-form>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog" :title="$t('pages.region.dialogTitle')" :destroy-on-close="false" @close="toClose">
+    <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave">
+      <template #is_use>
+        <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+      </template>
+      <template #level>
+        <el-option v-for="i in levelList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+      </template>
+    </custom-form>
+  </el-dialog>
 </template>
 
 <script setup>

+ 1 - 1
src/views/system/parts/system-func.vue

@@ -49,7 +49,7 @@ const toMethod = async (method) => {
     default:
       break
   }
-  $checkRes(res)
+  $checkRes(res, true, res.errmsg)
 }
 </script>
 <style scoped></style>

+ 3 - 3
src/views/system/parts/user-menus.vue

@@ -8,10 +8,10 @@
         <menu-table></menu-table>
       </el-col>
     </el-row>
-    <el-dialog v-model="dialog" :title="$t('pages.menus.dialogTitle')" :destroy-on-close="false" @close="toClose">
-      <menu-info></menu-info>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog" :title="$t('pages.menus.dialogTitle')" :destroy-on-close="false" @close="toClose">
+    <menu-info></menu-info>
+  </el-dialog>
 </template>
 
 <script setup>

+ 13 - 13
src/views/user/parts/admin.vue

@@ -8,20 +8,20 @@
         <el-tag v-else type="info">{{ $t('common.is_use_disabled') }}</el-tag>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog" :title="$t('pages.admin.dialogTitle')" :destroy-on-close="false" @close="toClose">
-      <custom-form v-model="form" :fields="formFields" @save="toSave">
-        <template #is_use>
-          <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
-        </template>
-        <template #role>
-          <el-option v-for="i in roleList" :key="i.id" :label="i.name" :value="i.code"></el-option>
-        </template>
-        <template #dept>
-          <el-tree-select :props="defaultProps" node-key="id" accordion v-model="form.dept" :data="deptList" check-strictly :render-after-expand="false" />
-        </template>
-      </custom-form>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog" :title="$t('pages.admin.dialogTitle')" :destroy-on-close="false" @close="toClose">
+    <custom-form v-model="form" :fields="formFields" @save="toSave">
+      <template #is_use>
+        <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
+      </template>
+      <template #role>
+        <el-option v-for="i in roleList" :key="i.id" :label="i.name" :value="i.code"></el-option>
+      </template>
+      <template #dept>
+        <el-tree-select :props="defaultProps" node-key="id" accordion v-model="form.dept" :data="deptList" check-strictly :render-after-expand="false" />
+      </template>
+    </custom-form>
+  </el-dialog>
 </template>
 
 <script setup>

+ 39 - 39
src/views/user/parts/user.vue

@@ -19,46 +19,46 @@
         <div v-else>已通过</div>
       </template>
     </custom-table>
-    <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
-      <el-row>
-        <el-col :span="24" v-if="dialog.type == '1'">
-          <el-tabs v-model="type" type="card" @tab-change="toChang">
-            <el-tab-pane v-for="(item, index) in role" :key="index" :label="getRole(item)" :name="item"></el-tab-pane>
-          </el-tabs>
-          <user v-if="type == 'User'"></user>
-          <expert v-if="type == 'Expert'"></expert>
-          <company v-if="type == 'Company'"></company>
-          <incubator v-if="type == 'Incubator'"></incubator>
-          <competition v-if="type == 'Competition'"></competition>
-          <investment v-if="type == 'Investment'"></investment>
-          <association v-if="type == 'Association'"></association>
-          <school v-if="type == 'School'"></school>
-          <state v-if="type == 'State'"></state>
-          <unit v-if="type == 'Unit'"></unit>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '2'">
-          <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-        <el-col :span="24" v-if="dialog.type == '3'">
-          <custom-form v-model="form" :fields="formFields" @save="toSave">
-            <template #role>
-              <el-checkbox v-for="i in roleList" :key="i.code" :label="i.name" :value="i.code" />
-            </template>
-            <template #industry>
-              <el-checkbox v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title" />
-            </template>
-            <template #gender>
-              <el-option v-for="i in genderList" :key="i.id" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </custom-form>
-        </el-col>
-      </el-row>
-    </el-dialog>
   </div>
+  <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
+    <el-row>
+      <el-col :span="24" v-if="dialog.type == '1'">
+        <el-tabs v-model="type" type="card" @tab-change="toChang">
+          <el-tab-pane v-for="(item, index) in role" :key="index" :label="getRole(item)" :name="item"></el-tab-pane>
+        </el-tabs>
+        <user v-if="type == 'User'"></user>
+        <expert v-if="type == 'Expert'"></expert>
+        <company v-if="type == 'Company'"></company>
+        <incubator v-if="type == 'Incubator'"></incubator>
+        <competition v-if="type == 'Competition'"></competition>
+        <investment v-if="type == 'Investment'"></investment>
+        <association v-if="type == 'Association'"></association>
+        <school v-if="type == 'School'"></school>
+        <state v-if="type == 'State'"></state>
+        <unit v-if="type == 'Unit'"></unit>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '2'">
+        <custom-form v-model="examForm" :fields="examFormFields" :rules="examRules" @save="toExamSave">
+          <template #status>
+            <el-option v-for="i in statusList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+      <el-col :span="24" v-if="dialog.type == '3'">
+        <custom-form v-model="form" :fields="formFields" @save="toSave">
+          <template #role>
+            <el-checkbox v-for="i in roleList" :key="i.code" :label="i.name" :value="i.code" />
+          </template>
+          <template #industry>
+            <el-checkbox v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title" />
+          </template>
+          <template #gender>
+            <el-option v-for="i in genderList" :key="i.id" :label="i.label" :value="i.value"></el-option>
+          </template>
+        </custom-form>
+      </el-col>
+    </el-row>
+  </el-dialog>
 </template>
 
 <script setup>