|
@@ -23,558 +23,112 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="企业类型" prop="industry"
|
|
|
+ <el-form-item label="属地" prop="des1"
|
|
|
:rules="[
|
|
|
- {required: true, message:'企业类型不能为空', trigger:'blur'}
|
|
|
+ {required: true, message:'属地不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-select v-model="inputForm.industry" placeholder="请选择" style="width: 100%;" multiple>
|
|
|
- <el-option
|
|
|
- v-for="item in $dictUtils.getDictList('industrial_type')"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
+ <el-input v-model="inputForm.des1" placeholder="请填写属地" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="所属楼宇" prop="des1"
|
|
|
+ <el-form-item label="所属行业" prop="industry"
|
|
|
:rules="[
|
|
|
- {required: true, message:'所属楼宇不能为空', trigger:'blur'}
|
|
|
+ {required: true, message:'所属行业不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <!-- <SelectTree
|
|
|
- ref="des1"
|
|
|
- :props="{
|
|
|
- value: 'id', // ID字段名
|
|
|
- label: 'name', // 显示名称
|
|
|
- children: 'children' // 子级字段名
|
|
|
- }"
|
|
|
-
|
|
|
- :url="`/sys/office/treeData2?type=2`"
|
|
|
- :value="inputForm.des1"
|
|
|
- :clearable="true"
|
|
|
- :accordion="true"
|
|
|
- @getValue="(value) => {inputForm.des1=value}"/> -->
|
|
|
-
|
|
|
- <GridSelect
|
|
|
- title="选择所属楼宇"
|
|
|
- labelName = 'buildingName'
|
|
|
- labelValue = 'id'
|
|
|
- :value = "inputForm.des1"
|
|
|
- :limit="1"
|
|
|
- @getValue='(value) => {inputForm.des1=value}'
|
|
|
- :columns="[
|
|
|
- {
|
|
|
- prop: 'buildingName',
|
|
|
- label: '楼宇名称'
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'placeSelectName',
|
|
|
- label: '地点'
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'buildingContacts',
|
|
|
- label: '楼宇联系人'
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'buildingArea',
|
|
|
- label: '楼宇总面积'
|
|
|
- }
|
|
|
- ]"
|
|
|
- :searchs="[
|
|
|
- {
|
|
|
- prop: 'buildingName',
|
|
|
- label: '楼宇名称'
|
|
|
- }
|
|
|
- ]"
|
|
|
- dataListUrl="/buildinginfo/buildingManagement/list"
|
|
|
- queryEntityUrl="/buildinginfo/buildingManagement/queryById">
|
|
|
- </GridSelect>
|
|
|
-
|
|
|
+ <el-input v-model="inputForm.industry" placeholder="请填写所属行业" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
-
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="入驻时间" prop="entryTime"
|
|
|
+ <el-form-item label="销售规模" prop="des3"
|
|
|
:rules="[
|
|
|
- {required: true, message:'入驻时间不能为空', trigger:'blur'}
|
|
|
+ {required: true, message:'销售规模不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-date-picker
|
|
|
- style="width: 100%;"
|
|
|
- v-model="inputForm.entryTime"
|
|
|
- type="datetime"
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
- placeholder="选择日期时间">
|
|
|
- </el-date-picker>
|
|
|
+ <el-input v-model="inputForm.des3" placeholder="请填写销售规模" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="撤场时间" prop="des5"
|
|
|
+ <el-form-item label="主导产品一" prop="bz1"
|
|
|
:rules="[
|
|
|
+ {required: true, message:'主导产品一不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-date-picker
|
|
|
- style="width: 100%;"
|
|
|
- v-model="inputForm.des5"
|
|
|
- type="datetime"
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
- placeholder="选择日期时间">
|
|
|
- </el-date-picker>
|
|
|
+ <el-input v-model="inputForm.bz1" placeholder="请填写主导产品一" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="办公面积(平)" prop="officeArea"
|
|
|
+ <el-form-item label="产业链上下游" prop="bz2"
|
|
|
:rules="[
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.officeArea" placeholder="请填写办公面积" ></el-input>
|
|
|
+ <el-input v-model="inputForm.bz2" placeholder="请填写产业链上下游" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <!-- <el-col :span="8">
|
|
|
- <el-form-item label="年租金(元)" prop="annualRent"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input v-model="inputForm.annualRent" placeholder="请填写年租金" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col> -->
|
|
|
+
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="楼层(F)" prop="floor"
|
|
|
+ <el-form-item label="主导产品二" prop="bz3"
|
|
|
:rules="[
|
|
|
- {required: true, message:'楼层不能为空', trigger:'blur'}
|
|
|
+
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.floor" placeholder="请填写楼层" ></el-input>
|
|
|
+ <el-input v-model="inputForm.bz3" placeholder="请填写主导产品二" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="房间号" prop="des3"
|
|
|
+ <el-form-item label="产业链上下游" prop="bz4"
|
|
|
:rules="[
|
|
|
- {required: true, message:'房间号不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.des3" placeholder="请填写房间号" ></el-input>
|
|
|
+ <el-input v-model="inputForm.bz4" placeholder="请填写产业链上下游" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="联系人" prop="lxr"
|
|
|
+ <el-form-item label="工信局联系人" prop="bz5"
|
|
|
:rules="[
|
|
|
- {required: true, message:'联系人不能为空', trigger:'blur'}
|
|
|
+ {required: true, message:'工信局联系人不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.lxr" placeholder="请填写联系人" ></el-input>
|
|
|
+ <el-input v-model="inputForm.bz5" placeholder="请填写工信局联系人" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="联系人手机" prop="phone"
|
|
|
+ <el-form-item label="联系人手机" prop="bz6"
|
|
|
:rules="[
|
|
|
{required: true, message:'联系人手机不能为空', trigger:'blur'},
|
|
|
{validator: validator.isMobile, trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.phone" placeholder="请填写联系人手机" ></el-input>
|
|
|
+ <el-input v-model="inputForm.bz6" placeholder="请填写联系人手机" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="合约起始时间" prop="htStime"
|
|
|
- :rules="[
|
|
|
- {required: true, message:'合约起始时间不能为空', trigger:'blur'}
|
|
|
- ]">
|
|
|
- <el-date-picker
|
|
|
- style="width: 100%;"
|
|
|
- v-model="inputForm.htStime"
|
|
|
- type="datetime"
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
- placeholder="选择日期时间">
|
|
|
- </el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="合约到期时间" prop="htEtime"
|
|
|
- :rules="[
|
|
|
- {required: true, message:'合约到期时间不能为空', trigger:'blur'}
|
|
|
- ]">
|
|
|
- <el-date-picker
|
|
|
- style="width: 100%;"
|
|
|
- v-model="inputForm.htEtime"
|
|
|
- type="datetime"
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
- placeholder="选择日期时间">
|
|
|
- </el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="主营内容" prop="businessContent"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input v-model="inputForm.businessContent" placeholder="请填写主营内容" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="用工总数" prop="totalNumber"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.totalNumber" placeholder="请填写用工总数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="社保人数" prop="securityNumber"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.securityNumber" placeholder="请填写社保人数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="男生人数" prop="des7"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.des7" placeholder="请填写男生人数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="女生人数" prop="des8"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.des8" placeholder="请填写女生人数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="党员人数" prop="des9"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.des9" placeholder="请填写党员人数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="本科以下人数" prop="belowUndergraduate"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.belowUndergraduate" placeholder="请填写本科以下人数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="本科人数" prop="undergraduate"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.undergraduate" placeholder="请填写本科人数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="硕士生人数" prop="postgraduate"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.postgraduate" placeholder="请填写硕士生人数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="博士生人数" prop="doctoralStudent"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.doctoralStudent" placeholder="请填写博士生人数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="实用新型专利授权数" prop="num2"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.num2" placeholder="请填写实用新型专利授权数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="发明专利授权数" prop="num3"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.num3" placeholder="请填写发明专利授权数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="软著数" prop="softWritingNumbers"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.softWritingNumbers" placeholder="请填写软著数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="消防器材数" prop="des10"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input-number v-model="inputForm.des10" placeholder="请填写消防器材数" style="width: 100%;"></el-input-number>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="消防器材是否过期" prop="des11"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-select v-model="inputForm.des11" placeholder="请选择" style="width: 100%;">
|
|
|
- <el-option
|
|
|
- v-for="item in $dictUtils.getDictList('yes_no')"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="今年准备申报项目明细" prop="bz1"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input v-model="inputForm.bz1" placeholder="请填写今年准备申报项目明细" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="今年项目认定明细" prop="bz2"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input v-model="inputForm.bz2" placeholder="请填写今年项目认定明细" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="是否是国家高企" prop="bz3"
|
|
|
+ <el-form-item label="企业联系人" prop="lxr"
|
|
|
:rules="[
|
|
|
+ {required: true, message:'企业联系人不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-select v-model="inputForm.bz3" placeholder="请选择" style="width: 100%;">
|
|
|
- <el-option
|
|
|
- v-for="item in $dictUtils.getDictList('yes_no')"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
+ <el-input v-model="inputForm.lxr" placeholder="请填写企业联系人" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="意向哪年申报国家高企" prop="bz4"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input v-model="inputForm.bz4" placeholder="请填写意向哪年申报国家高企" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="是否是规上企业" prop="bz5"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-select v-model="inputForm.bz5" placeholder="请选择" style="width: 100%;">
|
|
|
- <el-option
|
|
|
- v-for="item in $dictUtils.getDictList('yes_no')"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="什么时候能达到规上企业标准" prop="bz6"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input v-model="inputForm.bz6" placeholder="请填写什么时候能达到规上企业标准" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="企业简介" prop="qyDes"
|
|
|
+ <el-form-item label="联系人手机" prop="phone"
|
|
|
:rules="[
|
|
|
+ {required: true, message:'联系人手机不能为空', trigger:'blur'},
|
|
|
+ {validator: validator.isMobile, trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input type="textarea" v-model="inputForm.qyDes" placeholder="请填写企业简介" ></el-input>
|
|
|
+ <el-input v-model="inputForm.phone" placeholder="请填写联系人手机" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
- <div style=" padding-left: 80px;padding-top: 20px;"> 提示:创建企业基本信息会自动创建企业账号,企业账号的用户名和密码均为联系人手机号码。</div>
|
|
|
+ <div style=" padding-left: 80px;padding-top: 20px;"> </div>
|
|
|
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
- <el-tab-pane label="电费信息" name="df"><!-- 电费信息列表 -->
|
|
|
- <span slot="label"><i class="el-icon-tickets" style="font-size: 16px;"></i> <span style="font-size: 16px;font-weight: 600;">电费信息</span></span>
|
|
|
-
|
|
|
- <div style="height: 680px;margin-bottom: 20px;">
|
|
|
- <vxe-table border="inner" auto-resize resizable height="auto" :loading="loading" size="small"
|
|
|
- ref="enterpriseElectricityTable" show-header-overflow show-overflow highlight-hover-row :menu-config="{}"
|
|
|
- :print-config="{}" :import-config="{}" :export-config="{}" @sort-change="warnsortChangeHandle"
|
|
|
- :sort-config="{remote:true}" :data="electdataList" :checkbox-config="{}">
|
|
|
- <vxe-column type="seq" width="40"></vxe-column>
|
|
|
- <vxe-column type="checkbox" width="40px"></vxe-column>
|
|
|
-
|
|
|
-
|
|
|
- <vxe-column
|
|
|
- field="stime"
|
|
|
- sortable
|
|
|
- title="开始时间">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="etime"
|
|
|
- sortable
|
|
|
- title="结束时间">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="amount"
|
|
|
- sortable
|
|
|
- title="金额(元)">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="degrees"
|
|
|
- sortable
|
|
|
- title="用电量">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="isPay"
|
|
|
- sortable
|
|
|
- title="是否缴费">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ $dictUtils.getDictLabel("yes_no", scope.row.isPay, '-') }}
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
-
|
|
|
- <vxe-column
|
|
|
- fixed="right"
|
|
|
- align="center"
|
|
|
- width="200"
|
|
|
- title="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:view')" type="text" icon="el-icon-view" size="small" @click="viewWarn(scope.row.id)">查看</el-button>
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:edit')" type="text" icon="el-icon-edit" size="small" @click="editWarn(scope.row.id)">修改</el-button>
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:del')" type="text" icon="el-icon-delete" size="small" @click="delWarn(scope.row.id)">删除</el-button>
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
-
|
|
|
- </vxe-table>
|
|
|
- <vxe-pager background size="small" :current-page="warntablePage.currentPage" :page-size="warntablePage.pageSize"
|
|
|
- :total="warntablePage.total" :page-sizes="[10, 20, 100, 1000, {label: '全量数据', value: 1000000}]"
|
|
|
- :layouts="['PrevPage', 'JumpNumber', 'NextPage', 'FullJump', 'Sizes', 'Total']"
|
|
|
- @page-change="warncurrentChangeHandle">
|
|
|
- </vxe-pager>
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
- </el-tab-pane><!-- 电费信息列表 -->
|
|
|
-
|
|
|
- <el-tab-pane label="水费信息" name="sf">
|
|
|
- <span slot="label"><i class="el-icon-tickets" style="font-size: 16px;"></i> <span style="font-size: 16px;font-weight: 600;">水费信息</span></span>
|
|
|
-
|
|
|
- <!-- 水费信息列表 -->
|
|
|
- <div style="height: 680px;margin-bottom: 20px;">
|
|
|
- <vxe-table border="inner" auto-resize resizable height="auto" :loading="loading" size="small"
|
|
|
- ref="enterpriseWaterTable" show-header-overflow show-overflow highlight-hover-row :menu-config="{}"
|
|
|
- :print-config="{}" :import-config="{}" :export-config="{}" @sort-change="sfsortChangeHandle"
|
|
|
- :sort-config="{remote:true}" :data="sfdataList" :checkbox-config="{}">
|
|
|
- <vxe-column type="seq" width="40"></vxe-column>
|
|
|
- <vxe-column type="checkbox" width="40px"></vxe-column>
|
|
|
-
|
|
|
-
|
|
|
- <vxe-column
|
|
|
- field="stime"
|
|
|
- sortable
|
|
|
- title="开始时间">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="etime"
|
|
|
- sortable
|
|
|
- title="结束时间">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="amount"
|
|
|
- sortable
|
|
|
- title="金额(元)">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="isPay"
|
|
|
- sortable
|
|
|
- title="是否缴费">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ $dictUtils.getDictLabel("yes_no", scope.row.isPay, '-') }}
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
-
|
|
|
- <vxe-column
|
|
|
- fixed="right"
|
|
|
- align="center"
|
|
|
- width="200"
|
|
|
- title="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:view')" type="text" icon="el-icon-view" size="small" @click="viewsf(scope.row.id)">查看</el-button>
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:edit')" type="text" icon="el-icon-edit" size="small" @click="editsf(scope.row.id)">修改</el-button>
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:del')" type="text" icon="el-icon-delete" size="small" @click="delsf(scope.row.id)">删除</el-button>
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
-
|
|
|
- </vxe-table>
|
|
|
- <vxe-pager background size="small" :current-page="sftablePage.currentPage" :page-size="sftablePage.pageSize"
|
|
|
- :total="sftablePage.total" :page-sizes="[10, 20, 100, 1000, {label: '全量数据', value: 1000000}]"
|
|
|
- :layouts="['PrevPage', 'JumpNumber', 'NextPage', 'FullJump', 'Sizes', 'Total']"
|
|
|
- @page-change="sfcurrentChangeHandle">
|
|
|
- </vxe-pager>
|
|
|
- </div>
|
|
|
- <!-- 水费信息列表 -->
|
|
|
-
|
|
|
- </el-tab-pane>
|
|
|
|
|
|
|
|
|
- <el-tab-pane label="物业费信息" name="wyf">
|
|
|
- <span slot="label"><i class="el-icon-tickets" style="font-size: 16px;"></i> <span style="font-size: 16px;font-weight: 600;">物业费信息</span></span>
|
|
|
-
|
|
|
- <!-- 物业费信息 -->
|
|
|
- <div style="height: 680px;margin-bottom: 20px;">
|
|
|
- <vxe-table border="inner" auto-resize resizable height="auto" :loading="loading" size="small"
|
|
|
- ref="enterprisePropertyTable" show-header-overflow show-overflow highlight-hover-row :menu-config="{}"
|
|
|
- :print-config="{}" :import-config="{}" :export-config="{}" @sort-change="wyfsortChangeHandle"
|
|
|
- :sort-config="{remote:true}" :data="wyfdataList" :checkbox-config="{}">
|
|
|
- <vxe-column type="seq" width="40"></vxe-column>
|
|
|
- <vxe-column type="checkbox" width="40px"></vxe-column>
|
|
|
-
|
|
|
-
|
|
|
- <vxe-column
|
|
|
- field="des2"
|
|
|
- sortable
|
|
|
- title="缴费时间">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="stime"
|
|
|
- sortable
|
|
|
- title="开始时间">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="etime"
|
|
|
- sortable
|
|
|
- title="结束时间">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="amount"
|
|
|
- sortable
|
|
|
- title="金额(元)">
|
|
|
- </vxe-column>
|
|
|
- <vxe-column
|
|
|
- field="isPay"
|
|
|
- sortable
|
|
|
- title="是否缴费">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ $dictUtils.getDictLabel("yes_no", scope.row.isPay, '-') }}
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
-
|
|
|
- <vxe-column
|
|
|
- fixed="right"
|
|
|
- align="center"
|
|
|
- width="200"
|
|
|
- title="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:view')" type="text" icon="el-icon-view" size="small" @click="viewwyf(scope.row.id)">查看</el-button>
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:edit')" type="text" icon="el-icon-edit" size="small" @click="editwyf(scope.row.id)">修改</el-button>
|
|
|
- <el-button v-if="hasPermission('enterpriseelectricity:enterpriseElectricity:del')" type="text" icon="el-icon-delete" size="small" @click="delwyf(scope.row.id)">删除</el-button>
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
-
|
|
|
- </vxe-table>
|
|
|
- <vxe-pager background size="small" :current-page="wyftablePage.currentPage" :page-size="wyftablePage.pageSize"
|
|
|
- :total="wyftablePage.total" :page-sizes="[10, 20, 100, 1000, {label: '全量数据', value: 1000000}]"
|
|
|
- :layouts="['PrevPage', 'JumpNumber', 'NextPage', 'FullJump', 'Sizes', 'Total']"
|
|
|
- @page-change="wyfcurrentChangeHandle">
|
|
|
- </vxe-pager>
|
|
|
- </div>
|
|
|
- <!-- 物业费信息 -->
|
|
|
-
|
|
|
- </el-tab-pane>
|
|
|
-
|
|
|
</el-tabs>
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -715,238 +269,28 @@
|
|
|
this.inputForm.industry = this.inputForm.industry.split(',')
|
|
|
this.loading = false
|
|
|
})
|
|
|
- this.warnrefreshList();
|
|
|
- this.sfrefreshList();
|
|
|
- this.wyfrefreshList();
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
- // -------电费----------
|
|
|
- // 当前页
|
|
|
- warncurrentChangeHandle({
|
|
|
- currentPage,
|
|
|
- pageSize
|
|
|
- }) {
|
|
|
- this.warntablePage.currentPage = currentPage
|
|
|
- this.warntablePage.pageSize = pageSize
|
|
|
- this.warnrefreshList()
|
|
|
- },
|
|
|
- // 排序
|
|
|
- warnsortChangeHandle(column) {
|
|
|
- this.warntablePage.orders = []
|
|
|
- if (column.order != null) {
|
|
|
- this.warntablePage.orders.push({
|
|
|
- column: this.$utils.toLine(column.property),
|
|
|
- asc: column.order === 'asc'
|
|
|
- })
|
|
|
- }
|
|
|
- this.warnrefreshList()
|
|
|
- },
|
|
|
- warnrefreshList() {
|
|
|
-
|
|
|
- this.loading = true
|
|
|
- enterpriseElectricityService.list({
|
|
|
- 'current': this.warntablePage.currentPage,
|
|
|
- 'size': this.warntablePage.pageSize,
|
|
|
- 'orders': this.warntablePage.orders,
|
|
|
- 'qyId':this.inputForm.id
|
|
|
- }).then(({data}) => {
|
|
|
- this.electdataList = data.records
|
|
|
- this.warntablePage.total = data.total
|
|
|
- this.loading = false
|
|
|
- })
|
|
|
-
|
|
|
- },
|
|
|
- // 修改
|
|
|
- editWarn (id) {
|
|
|
- id = id || this.$refs.enterpriseElectricityTable.getCheckboxRecords().map(item => {
|
|
|
- return item.id
|
|
|
- })[0]
|
|
|
- this.$refs.enterpriseElectricityForm.init('edit', id)
|
|
|
- },
|
|
|
- // 查看
|
|
|
- viewWarn (id) {
|
|
|
- this.$refs.enterpriseElectricityForm.init('view', id)
|
|
|
- },
|
|
|
- // 删除
|
|
|
- delWarn (id) {
|
|
|
- let ids = id || this.$refs.enterpriseElectricityTable.getCheckboxRecords().map(item => {
|
|
|
- return item.id
|
|
|
- }).join(',')
|
|
|
- this.$confirm(`确定删除所选项吗?`, '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- }).then(() => {
|
|
|
- this.loading = true
|
|
|
- enterpriseElectricityService.delete(ids).then(({data}) => {
|
|
|
- this.$message.success(data)
|
|
|
- this.warnrefreshList()
|
|
|
- this.loading = false
|
|
|
- })
|
|
|
- })
|
|
|
- },
|
|
|
|
|
|
- // -------电费----------
|
|
|
-
|
|
|
- // -------水费----------
|
|
|
- // 当前页
|
|
|
- sfcurrentChangeHandle({
|
|
|
- currentPage,
|
|
|
- pageSize
|
|
|
- }) {
|
|
|
- this.sftablePage.currentPage = currentPage
|
|
|
- this.sftablePage.pageSize = pageSize
|
|
|
- this.sfrefreshList()
|
|
|
- },
|
|
|
- // 排序
|
|
|
- sfsortChangeHandle(column) {
|
|
|
- this.sftablePage.orders = []
|
|
|
- if (column.order != null) {
|
|
|
- this.sftablePage.orders.push({
|
|
|
- column: this.$utils.toLine(column.property),
|
|
|
- asc: column.order === 'asc'
|
|
|
- })
|
|
|
- }
|
|
|
- this.sfrefreshList()
|
|
|
- },
|
|
|
- sfrefreshList() {
|
|
|
-
|
|
|
- this.loading = true
|
|
|
- enterpriseWaterService.list({
|
|
|
- 'current': this.sftablePage.currentPage,
|
|
|
- 'size': this.sftablePage.pageSize,
|
|
|
- 'orders': this.sftablePage.orders,
|
|
|
- 'qyId':this.inputForm.id
|
|
|
- }).then(({data}) => {
|
|
|
- this.sfdataList = data.records
|
|
|
- this.sftablePage.total = data.total
|
|
|
- this.loading = false
|
|
|
- })
|
|
|
-
|
|
|
- },
|
|
|
- // 修改
|
|
|
- editsf (id) {
|
|
|
- id = id || this.$refs.enterpriseWaterTable.getCheckboxRecords().map(item => {
|
|
|
- return item.id
|
|
|
- })[0]
|
|
|
- this.$refs.enterpriseWaterForm.init('edit', id)
|
|
|
- },
|
|
|
- // 查看
|
|
|
- viewsf (id) {
|
|
|
- this.$refs.enterpriseWaterForm.init('view', id)
|
|
|
- },
|
|
|
- // 删除
|
|
|
- delsf (id) {
|
|
|
- let ids = id || this.$refs.enterpriseWaterTable.getCheckboxRecords().map(item => {
|
|
|
- return item.id
|
|
|
- }).join(',')
|
|
|
- this.$confirm(`确定删除所选项吗?`, '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- }).then(() => {
|
|
|
- this.loading = true
|
|
|
- enterpriseWaterService.delete(ids).then(({data}) => {
|
|
|
- this.$message.success(data)
|
|
|
- this.sfrefreshList()
|
|
|
- this.loading = false
|
|
|
- })
|
|
|
- })
|
|
|
- },
|
|
|
-
|
|
|
- // -------水费----------
|
|
|
-
|
|
|
-
|
|
|
- // -------物业费----------
|
|
|
- // 当前页
|
|
|
- wyfcurrentChangeHandle({
|
|
|
- currentPage,
|
|
|
- pageSize
|
|
|
- }) {
|
|
|
- this.wyftablePage.currentPage = currentPage
|
|
|
- this.wyftablePage.pageSize = pageSize
|
|
|
- this.wyfrefreshList()
|
|
|
- },
|
|
|
- // 排序
|
|
|
- wyfsortChangeHandle(column) {
|
|
|
- this.wyftablePage.orders = []
|
|
|
- if (column.order != null) {
|
|
|
- this.wyftablePage.orders.push({
|
|
|
- column: this.$utils.toLine(column.property),
|
|
|
- asc: column.order === 'asc'
|
|
|
- })
|
|
|
- }
|
|
|
- this.wyfrefreshList()
|
|
|
- },
|
|
|
- wyfrefreshList() {
|
|
|
-
|
|
|
- this.loading = true
|
|
|
- enterprisePropertyService.list({
|
|
|
- 'current': this.wyftablePage.currentPage,
|
|
|
- 'size': this.wyftablePage.pageSize,
|
|
|
- 'orders': this.wyftablePage.orders,
|
|
|
- 'qyId':this.inputForm.id
|
|
|
- }).then(({data}) => {
|
|
|
- this.wyfdataList = data.records
|
|
|
- this.wyftablePage.total = data.total
|
|
|
- this.loading = false
|
|
|
- })
|
|
|
-
|
|
|
- },
|
|
|
- // 修改
|
|
|
- editwyf (id) {
|
|
|
- id = id || this.$refs.enterprisePropertyTable.getCheckboxRecords().map(item => {
|
|
|
- return item.id
|
|
|
- })[0]
|
|
|
- this.$refs.enterprisePropertyForm.init('edit', id)
|
|
|
- },
|
|
|
- // 查看
|
|
|
- viewwyf (id) {
|
|
|
- this.$refs.enterprisePropertyForm.init('view', id)
|
|
|
- },
|
|
|
- // 删除
|
|
|
- delwyf (id) {
|
|
|
- let ids = id || this.$refs.enterprisePropertyTable.getCheckboxRecords().map(item => {
|
|
|
- return item.id
|
|
|
- }).join(',')
|
|
|
- this.$confirm(`确定删除所选项吗?`, '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- }).then(() => {
|
|
|
- this.loading = true
|
|
|
- enterpriseWaterService.delete(ids).then(({data}) => {
|
|
|
- this.$message.success(data)
|
|
|
- this.wyfrefreshList()
|
|
|
- this.loading = false
|
|
|
- })
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- // -------物业费----------
|
|
|
|
|
|
// 表单提交
|
|
|
doSubmit () {
|
|
|
this.$refs['inputForm'].validate((valid) => {
|
|
|
if (valid) {
|
|
|
|
|
|
- if(this.inputForm.totalNumber!=this.inputForm.des7+this.inputForm.des8){
|
|
|
- this.$message.success('用工总数应等于男生人数加女生人数,请核对!')
|
|
|
- }else if(this.inputForm.totalNumber!=this.inputForm.belowUndergraduate+this.inputForm.undergraduate+this.inputForm.postgraduate+this.inputForm.doctoralStudent){
|
|
|
- this.$message.success('用工总数应等于各学历数的人员总数,请核对!')
|
|
|
- }else{
|
|
|
- this.inputForm.industry = this.inputForm.industry.toString()
|
|
|
- this.loading = true
|
|
|
- enterpriseInfoService.save(this.inputForm).then(({data}) => {
|
|
|
- this.visible = false
|
|
|
- this.$message.success(data)
|
|
|
- this.$emit('refreshDataList')
|
|
|
- this.loading = false
|
|
|
- }).catch(() => {
|
|
|
- this.loading = false
|
|
|
- })
|
|
|
- }
|
|
|
+ this.inputForm.industry = this.inputForm.industry.toString()
|
|
|
+ this.loading = true
|
|
|
+ enterpriseInfoService.save(this.inputForm).then(({data}) => {
|
|
|
+ this.visible = false
|
|
|
+ this.$message.success(data)
|
|
|
+ this.$emit('refreshDataList')
|
|
|
+ this.loading = false
|
|
|
+ }).catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+
|
|
|
|
|
|
}
|
|
|
})
|