2 lines
5.6 KiB
JavaScript
2 lines
5.6 KiB
JavaScript
|
import{B as N,C as T,w as q,D as K,H as j,I as H,J,K as M}from"./element-plus.c4a2af8a.js";import{_ as z}from"./index.vue_vue_type_script_setup_true_lang.2a46e71f.js";import{u as G}from"./usePaging.160b82b8.js";import{k as C,f as O}from"./index.7b0058f7.js";import{u as Q}from"./useDictOptions.6d454027.js";import{_ as W,a as X,b as Y}from"./edit.vue_vue_type_script_setup_true_name_landEdit_lang.9f80aed9.js";import"./lodash.ec5da75f.js";import{d as B,s as Z,r as E,$ as ee,a4 as te,af as oe,o as r,c as ae,U as e,L as t,M as f,u,K as d,R as le,a as k,k as ue,S as m,n as ne}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.ff93117e.js";import"./axios.eb055ccc.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.31dc130b.js";import"./color.b6d632a4.js";import"./clone.7a47b02c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.3a33898e.js";import"./ms.a9ae1d6d.js";import"./nprogress.fa64f2fc.js";import"./vue-clipboard3.be0dfeee.js";import"./clipboard.824ba320.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.3c28be6f.js";const se=m("\u67E5\u8BE2"),re=m("\u91CD\u7F6E"),ie={class:"mt-4"},pe=m(" \u7F16\u8F91 "),de=m(" \u79CD\u690D\u4FE1\u606F "),me=m(" \u4EA7\u54C1\u4FE1\u606F "),_e=m(" \u5220\u9664 "),ce={class:"flex mt-4 justify-end"},fe=B({name:"landLists"}),ot=B({...fe,setup(Fe){const h=Z(),v=E(!1),l=ee({user_id:"",title:"",master_name:"",master_phone:""}),V=E([]),y=i=>{V.value=i.map(({id:o})=>o)},{dictData:g}=Q("land_status"),{pager:_,getLists:F,resetParams:x,resetPage:A}=G({fetchFun:X,params:l}),I=async i=>{var o,s;v.value=!0,await ne(),(o=h.value)==null||o.open("edit"),(s=h.value)==null||s.setFormData(i)},L=async i=>{await O.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await Y({id:i}),F()};return F(),(i,o)=>{const s=N,c=T,p=q,R=K,b=j,n=H,w=te("router-link"),U=J,$=z,D=oe("perms"),P=M;return r(),ae("div",null,[e(b,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[e(R,{class:"mb-[-16px]",model:l,inline:""},{default:t(()=>[e(c,{label:"\u7528\u6237ID",prop:"user_id"},{default:t(()=>[e(s,{class:"w-[280px]",modelValue:l.user_id,"onUpdate:modelValue":o[0]||(o[0]=a=>l.user_id=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237ID"},null,8,["modelValue"])]),_:1}),e(c,{label:"\u571F\u5730\u540D\u79F0",prop:"title"},{default:t(()=>[e(s,{class:"w-[280px]",modelValue:l.title,"onUpdate:modelValue":o[1]||(o[1]=a=>l.title=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u571F\u5730\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(c,{label:"\u571F\u5730\u8D1F\u8D23\u4EBA",prop:"master_name"},{default:t(()=>[e(s,{class:"w-[280px]",modelValue:l.master_name,"onUpdate:modelValue":o[2]||(o[2]=a=>l.master_name=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u571F\u5730\u8D1F\u8D23\u4EBA"},null,8,["modelValue"])]),_:1}),e(c,{label:"\u8D1F\u8D23\u4EBA\u7535\u8BDD",prop:"master_phone"},{default:t(()=>[e(s,{class:"w-[280px]",modelValue:l.master_phone,"onUpdate:modelValue":o[3]||(o[3]=a=>l.master_phone=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8D1F\u8D23\u4EBA\u7535\u8BDD"},null,8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(p,{type:"primary",onClick:u(A)},{default:t(()=>[se]),_:1},8,["onClick"]),e(p,{onClick:u(x)},{default:t(()=>[re]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),f((r(),d(b,{class:"!border-none",shadow:"never"},{default:t(()=>[k("div",ie,[e(U,{data:u(_).lists,onSelectionChange:y},{default:t(()=>[e(n,{type:"selection",width:"55"}),e(n,{label:"ID",prop:"id","show-overflow-tooltip":""}),e(n,{label:"\u7528\u6237ID",prop:"user_id","show-overfl
|