| | |
| | | <el-table-column label="价值(金额)" prop="price" sortable width="140" align="center" > |
| | | <template slot-scope="scope">{{scope.row.price? scope.row.price: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="价值范围" prop="valueRange" sortable width="120" align="center" > |
| | | <template slot-scope="scope">{{scope.row.valueRange? scope.row.valueRange: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="期限" prop="timeLimit" sortable width="110" align="center"> |
| | | <template slot-scope="scope">{{scope.row.timeLimit? scope.row.timeLimit: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="变更/注销" prop="isChange" sortable width="140" align="center"> |
| | | <el-table-column label="变更/注销/购买" prop="isChange" sortable width="140" align="center"> |
| | | <template slot-scope="scope">{{scope.row.isChange? scope.row.isChange: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="产权" prop="propertyRight" sortable width="110" align="center"> |
| | |
| | | <el-table-column label="备注" prop="remark" sortable align="center"> |
| | | <template slot-scope="scope">{{scope.row.remark? scope.row.remark: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" width="220" class-name="small-padding fixed-width" v-if="userId != 2"> |
| | | <el-table-column fixed="right" label="操作" align="center" width="220" class-name="small-padding fixed-width" v-if="userId != 2"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | | <div class="button-container"> |
| | | <el-button |
| | |
| | | /> |
| | | |
| | | <!-- 添加收藏与荣誉信息配置对话框 --> |
| | | <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body @click.native="handleDialogClick"> |
| | | <el-form ref="elForm" :model="formDat" :rules="rules" size="medium" label-width="100px"> |
| | | <el-dialog :title="title" :visible.sync="open" width="840px" append-to-body @click.native="handleDialogClick"> |
| | | <el-form ref="elForm" :model="formDat" :rules="rules" size="medium" label-width="120px"> |
| | | <!-- <el-form-item label="获得时间" prop="happenTime">--> |
| | | <!-- <el-input v-model="formDat.happenTime" placeholder="请输入获得时间" clearable :style="{width: '100%'}" ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | |
| | | <el-form-item label="财产类别" prop="type"> |
| | | <el-input v-model="formDat.type" placeholder="请输入财产类别" clearable :style="{width: '100%'}" > |
| | | </el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="价值范围" prop="valueRange"> |
| | | <el-radio-group v-model="formDat.valueRange" :style="{width: '100%'}"> |
| | | <el-radio v-for="(item, index) in valueRangeOptions" :key="index" :label="item.value">{{ item.label }}</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="财产名称" prop="incomeName"> |
| | | <el-input v-model="formDat.incomeName" placeholder="请输入财产名称" clearable :style="{width: '100%'}" > |
| | |
| | | <el-input v-model="formDat.propertyRight" placeholder="请输入产权" clearable :style="{width: '100%'}" > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="变更/注销" prop="isChange"> |
| | | <el-select ref="multiSelect" v-model="formDat.isChange" placeholder="请选择变更/注销" clearable :style="{width: '100%'}" > |
| | | <el-form-item label="变更/注销/购买" prop="isChange"> |
| | | <el-select ref="multiSelect" v-model="formDat.isChange" placeholder="请选择变更/注销/购买" clearable :style="{width: '100%'}" > |
| | | <el-option v-for="(item, index) in typeOptions1" :key="index" :label="item.label" :value="item.value" |
| | | ></el-option> |
| | | </el-select> |
| | |
| | | </div> |
| | | |
| | | |
| | | </el-upload> |
| | | </el-upload> |
| | | |
| | | </el-form> |
| | |
| | | <el-table-column label="期限" prop="timeLimit" sortable width="110" align="center"> |
| | | <template slot-scope="scope">{{scope.row.timeLimit? scope.row.timeLimit: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="变更/注销" prop="isChange" sortable width="140" align="center"> |
| | | <el-table-column label="变更/注销/购买" prop="isChange" sortable width="140" align="center"> |
| | | <template slot-scope="scope">{{scope.row.isChange? scope.row.isChange: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="产权" prop="propertyRight" sortable width="110" align="center"> |
| | |
| | | dateRange: [], |
| | | // 数据范围选项 |
| | | // 数据范围选项 |
| | | fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx', |
| | | '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.m4a'], |
| | | fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx','HEIC', |
| | | '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.m4a','.M4A'], |
| | | |
| | | fileList:[ |
| | | ], |
| | |
| | | location:undefined, |
| | | remark:undefined, |
| | | url: "", |
| | | valueRange: undefined, |
| | | |
| | | }, |
| | | // 菜单列表 |
| | |
| | | message: '请输入财产类别', |
| | | trigger: 'blur' |
| | | }], |
| | | valueRange: [{ |
| | | required: true, |
| | | message: '请选择价值范围', |
| | | trigger: 'change' |
| | | }], |
| | | happenTime: [{ |
| | | required: true, |
| | | message: '请选择时间', |
| | |
| | | }], |
| | | isChange: [{ |
| | | required: true, |
| | | message: '请输入变更/注销', |
| | | message: '请输入变更/注销/购买', |
| | | trigger: 'blur' |
| | | }], |
| | | price: [{ |
| | |
| | | value: '购买', |
| | | label: '购买', |
| | | }, |
| | | ], |
| | | valueRangeOptions: [ |
| | | {label: '10000以下', value: '10000以下'}, |
| | | {label: '1w到10w', value: '1w到10w'}, |
| | | {label: '10w到100w', value: '10w到100w'}, |
| | | {label: '100w-1000w', value: '100w-1000w'}, |
| | | {label: '1000w以上', value: '1000w以上'}, |
| | | ], |
| | | }; |
| | | }, |
| | |
| | | this.loading1 = true; |
| | | let userId = this.$store.state.user.userId |
| | | // alert(userId) |
| | | |
| | | |
| | | showShareUser(userId, 2026).then(response=>{ |
| | | console.log("===========ddddddddddddd") |
| | | console.log(response.data) |
| | |
| | | // // alert(this.$store.state.user.clanId) |
| | | // this.listRoot = [] |
| | | let clanId = this.$store.state.user.clanId |
| | | if(clanId!=null){ |
| | | getAllInfo(clanId).then(response => { |
| | | this.listRoot = response.data; |
| | | const kon = {} |
| | |
| | | this.loading1 = false; |
| | | } |
| | | ); |
| | | } |
| | | }, |
| | | // 确认分享 |
| | | subShare(row) { |
| | |
| | | }).then(() => { |
| | | |
| | | this.getList(); |
| | | this.getList1(); |
| | | this.$modal.msgSuccess("分享成功"); |
| | | this.id1 = undefined |
| | | this.open1 = false; |
| | |
| | | /** 查看详细信息 */ |
| | | handleCheck(row){ |
| | | const id = row.id; |
| | | this.open2 = false; |
| | | this.open2 = false; |
| | | this.$router.push("/self/selfeconomy/selfeconomyInfo/" + id); |
| | | }, |
| | | /** 修改按钮操作 */ |
| | |
| | | |
| | | addSelfEconomy(this.formDat).then(response => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.open = false; |
| | | // this.open = false; |
| | | // 清空formDat对象的数据 |
| | | Object.keys(this.formDat).forEach(key => { |
| | | this.formDat[key] = ''; |
| | | }); |
| | | var fl = this.fileList.length |
| | | for(let i = 0; i < fl; i++) |
| | | { |
| | | this.handleRemove(this.fileList[0]); |
| | | } |
| | | var gh = this.fileListOther.length |
| | | for(let i = 0; i < gh; i++){ |
| | | this.handleRemoveFile(this.fileListOther[0]); |
| | | } |
| | | // alert(123) |
| | | this.getList(); |
| | | }); |
| | | } |
| | | }); |
| | | // 清空formDat对象的数据 |
| | | Object.keys(this.formDat).forEach(key => { |
| | | this.formDat[key] = ''; |
| | | }); |
| | | for(let i = 0; i <= this.fileList.length; i++) |
| | | { |
| | | this.handleRemove(this.fileList[0]); |
| | | } |
| | | for(let i = 0; i < this.fileListOther.length; i++){ |
| | | this.handleRemoveFile(this.fileListOther[0]); |
| | | } |
| | | |
| | | }, |
| | | handleChange(file, fileList1) { |
| | | //定义一个全局数组uploadFileList来做存储 |