diff --git a/src/views/administrative/appointment.vue b/src/views/administrative/appointment.vue
index 80f394f..fd819e8 100644
--- a/src/views/administrative/appointment.vue
+++ b/src/views/administrative/appointment.vue
@@ -43,15 +43,17 @@
required
label="检查事项"
:rules="[{ required: true, message: '必填项' }]"
- @click="data.showGA = true"
+ @click="data.showItem = true"
/>
+
-->
-
+
+
+
+
@@ -126,7 +134,7 @@ import { reactive, ref } from "vue";
import { getDict } from "../../api/Home";
import {uploadFile} from "../../util/fileUpload";
//用户筛选弹窗
-import Popup from './userFilter.vue';
+import UserPopup from './userFilter.vue';
const { useMy, useCommon, useShopCard } = $globalStore;
const router = useRouter();
@@ -137,8 +145,11 @@ const data = reactive({
popupVisible: false,
popupContent: '',
showGA:false,
+ showItem:false,
checkItemText:"",
+ checkRequireText: "",
ga_columns: [],
+ item_columns: [],
});
//保存参数
const submitData = reactive({
@@ -197,21 +208,29 @@ const showPopup = () =>{
const closePopup = () =>{
data.popupVisible = false;
}
-const reciveData = (item) =>{
+const reciveVisible = (item) =>{
submitData.lawEnforcerTwo = item.userName;
submitData.lawEnforcerIdTwo = item.userId;
}
/* 检查要求 start */
const gaConfirm = ({ selectedOptions }) => {
+ data.checkRequireText = selectedOptions[0].text;
+ submitData.checkRequire = selectedOptions[0].value;
+ data.showGA = false;
+ data.showItem = false;
+};
+
+/* 检查要求 start */
+const itemConfirm = ({ selectedOptions }) => {
data.checkItemText = selectedOptions[0].text;
submitData.checkItem = selectedOptions[0].value;
data.showGA = false;
-};
-const gaChange = ({ selectedValues }) => {
+ data.showItem = false;
};
const gaCancel = () => {
data.showGA = false;
+ data.showItem = false;
}
/* 检查要求 end */
@@ -252,6 +271,13 @@ onMounted(() =>{
data.ga_columns.push({ text: success.data[i].dictLabel, value: success.data[i].dictValue })
}
},error=>{});
+
+ // 查询检查要求字典信息
+ getDict({"dictType": "checkItem"}, success => {
+ for(var i=0; i{});
})
const reciveData = (item) =>{