|
@@ -159,6 +159,9 @@
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
<el-button type="primary" :plain="nhyki" icon="el-icon-view" size="mini" @click="chajnds" >查看户籍人口信息</el-button>
|
|
|
+ </el-col>\
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button type="primary" :disabled="multiple" :plain="nhyki" icon="el-icon-view" size="mini" @click="hsxx" >批量修改全员核酸信息</el-button>
|
|
|
</el-col>
|
|
|
|
|
|
|
|
@@ -686,6 +689,45 @@
|
|
|
<el-button type="primary" @click="submitFileForm">确 定</el-button>
|
|
|
<el-button @click="nske">取 消</el-button>
|
|
|
</div>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
+ <!-- 全员核酸 -->
|
|
|
+ <el-dialog
|
|
|
+ title="修改是否5天一次是否全员核酸"
|
|
|
+ :visible.sync="qyhss"
|
|
|
+ width="40%"
|
|
|
+ style="padding-bottom: 20px;"
|
|
|
+ >
|
|
|
+ <el-form ref="formhs" :model="formhs" :rules="ruleshs" label-width="100px">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <!-- <el-col :span="12">
|
|
|
+ <el-form-item label="来宜号码" prop="hi_phone">
|
|
|
+ <el-input :disabled="true" v-model="form.hi_phone" type="input" placeholder="来宜号码" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col> -->
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="全员核酸" prop="isNucleicAcidFive">
|
|
|
+ <el-select :disabled="isNucleicflag" v-model="formhs.isNucleicAcidFive" placeholder="是否参加5天一次全员核酸" clearable style="width: 100%;">
|
|
|
+ <el-option v-for="dict in qyhs" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="submitFormhs">确 定</el-button>
|
|
|
+ <el-button @click="cancelhs">取 消</el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- </el-col>
|
|
|
+ <el-col :span="1.5"> -->
|
|
|
+ <!-- :disabled="queryParams.queryType == 'cz'" -->
|
|
|
+
|
|
|
+
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
@@ -693,7 +735,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listInfo, listInfos, listInfosls, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,listInfotj,listRoleergth,listInfotjxz,listInfotjjs,listInfotjjsfaml,listRoleergthwg,listInfotjjssbule,listInfotjjssquer,treeselectdeptst,listInfotjjsfamlwrl } from '@/api/system/residentss';
|
|
|
+import { listInfo, listInfos, listInfosls, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,listInfotj,listRoleergth,listInfotjxz,listInfotjjs,listInfotjjsfaml,listRoleergthwg,listInfotjjssbule,listInfotjjssquer,treeselectdeptst,listInfotjjsfamlwrl,updateInfohsxx } from '@/api/system/residentss';
|
|
|
// import { treeselect } from '@/api/system/dept';
|
|
|
import { treeselect } from "@/api/system/dept";
|
|
|
import Treeselect from '@riophae/vue-treeselect';
|
|
@@ -731,7 +773,8 @@ export default {
|
|
|
totalfr:0,
|
|
|
// 是否显示弹出层
|
|
|
opens: false,
|
|
|
- process: process.env.VUE_APP_BASE_API,
|
|
|
+ process: process.env.VUE_APP_BASE_API,
|
|
|
+ qyhss:false,//全员核酸
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
@@ -764,7 +807,10 @@ export default {
|
|
|
configther:[],
|
|
|
configfor:[],
|
|
|
optionsListwg:[],
|
|
|
- nhduesw:0,
|
|
|
+ nhduesw:0,
|
|
|
+ formhs:{
|
|
|
+ isNucleicAcidFive:null
|
|
|
+ },
|
|
|
// 表单参数
|
|
|
form: {
|
|
|
nowIn: '',
|
|
@@ -837,6 +883,9 @@ export default {
|
|
|
yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
|
|
|
isNucleicAcidFive:[{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
|
},
|
|
|
+ ruleshs:{
|
|
|
+ isNucleicAcidFive:[{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
|
+ },
|
|
|
// yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
|
|
|
selected: [],
|
|
|
selectedtwo: [],
|
|
@@ -3343,6 +3392,37 @@ let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|
|
|
|
console.log(345)
|
|
|
this.upload.open = false;
|
|
|
},
|
|
|
+ // 全员核酸
|
|
|
+ hsxx(){
|
|
|
+ this.qyhss= true
|
|
|
+ this.formhs.isNucleicAcidFive
|
|
|
+ },
|
|
|
+ submitFormhs(){
|
|
|
+ this.$refs['formhs'].validate(valid => {
|
|
|
+ let nhuesf = {}
|
|
|
+ nhuesf.isNucleicAcidFive = this.formhs.isNucleicAcidFive
|
|
|
+ nhuesf.idCardList = this.ids.join(',')
|
|
|
+ updateInfohsxx(nhuesf).then(response => {
|
|
|
+ console.log(response)
|
|
|
+ if(response.code == 200){
|
|
|
+ this.msgSuccess('操作成功');
|
|
|
+ this.qyhss = false;
|
|
|
+ if(this.queryParams.queryType == 'hj'){
|
|
|
+ this.getList();
|
|
|
+ }else if(this.queryParams.queryType == 'cz'){
|
|
|
+ this.getListjuzhu();
|
|
|
+ }
|
|
|
+ // this.getTreeselectjuetj()
|
|
|
+ return false
|
|
|
+ }else{
|
|
|
+ this.qyhss = false
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ },
|
|
|
+ cancelhs(){
|
|
|
+ this.qyhss = false
|
|
|
+ }
|
|
|
// }
|
|
|
}
|
|
|
};
|