|  | @@ -21,12 +21,18 @@
 | 
	
		
			
				|  |  |        :curObj="curObj"
 | 
	
		
			
				|  |  |        @close="closePopup"
 | 
	
		
			
				|  |  |      />
 | 
	
		
			
				|  |  | +    <pwd-reset
 | 
	
		
			
				|  |  | +      :isShow="isPrShow"
 | 
	
		
			
				|  |  | +      :curObj="curObj"
 | 
	
		
			
				|  |  | +      @close="closePrPopup"
 | 
	
		
			
				|  |  | +    />
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |  import { arrToObj } from '@/utils'
 | 
	
		
			
				|  |  |  import SearchForm from './components/searchForm/Index'
 | 
	
		
			
				|  |  |  import PopupEdit from './components/popup/IndexEdit'
 | 
	
		
			
				|  |  | +import PwdReset from './components/popup/PwdReset'
 | 
	
		
			
				|  |  |  import baseTable from '_m/baseTable.js'
 | 
	
		
			
				|  |  |  import xData from './mixin'
 | 
	
		
			
				|  |  |  export default {
 | 
	
	
		
			
				|  | @@ -34,6 +40,7 @@ export default {
 | 
	
		
			
				|  |  |    components: {
 | 
	
		
			
				|  |  |      SearchForm,
 | 
	
		
			
				|  |  |      PopupEdit,
 | 
	
		
			
				|  |  | +    PwdReset,
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    provide() {
 | 
	
		
			
				|  |  |      return {
 | 
	
	
		
			
				|  | @@ -46,6 +53,7 @@ export default {
 | 
	
		
			
				|  |  |        apiStr: 'user.admadminlist',
 | 
	
		
			
				|  |  |        searchForm: null,
 | 
	
		
			
				|  |  |        isDtlShow: false,
 | 
	
		
			
				|  |  | +      isPrShow: false,
 | 
	
		
			
				|  |  |        curObj: {},
 | 
	
		
			
				|  |  |        ...xData
 | 
	
		
			
				|  |  |      }
 | 
	
	
		
			
				|  | @@ -73,6 +81,7 @@ export default {
 | 
	
		
			
				|  |  |          { label: '操作', width: 200, type: 'handle2', operations:
 | 
	
		
			
				|  |  |            [
 | 
	
		
			
				|  |  |              { label: '编辑', func: this.openPopup, btnType: 'primary' },
 | 
	
		
			
				|  |  | +            { label: '重置密码', func: this.openPrPopup, btnType: 'success' },
 | 
	
		
			
				|  |  |              { label: '删除', func: this.delHandle, btnType: 'danger' },
 | 
	
		
			
				|  |  |            ]
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -113,6 +122,20 @@ export default {
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          this.isDtlShow = false
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    openPrPopup(row) {
 | 
	
		
			
				|  |  | +      if (row && row.id) {
 | 
	
		
			
				|  |  | +        this.curObj = row
 | 
	
		
			
				|  |  | +      } else {
 | 
	
		
			
				|  |  | +        this.curObj = {}
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      this.isPrShow = true
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    closePrPopup(obj) {
 | 
	
		
			
				|  |  | +      this.isPrShow = false
 | 
	
		
			
				|  |  | +      if (obj) {
 | 
	
		
			
				|  |  | +        this.fetchData()
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 |