| | |
| | | "element-plus": "^2.4.3", |
| | | "pinia": "^2.0.26", |
| | | "vue": "^3.2.45", |
| | | "vue-i18n": "^9.8.0", |
| | | "vue-router": "^4.1.6" |
| | | }, |
| | | "devDependencies": { |
| | |
| | | "dev": true, |
| | | "license": "BSD-3-Clause" |
| | | }, |
| | | "node_modules/@intlify/core-base": { |
| | | "version": "9.8.0", |
| | | "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.8.0.tgz", |
| | | "integrity": "sha512-UxaSZVZ1DwqC/CltUZrWZNaWNhfmKtfyV4BJSt/Zt4Or/fZs1iFj0B+OekYk1+MRHfIOe3+x00uXGQI4PbO/9g==", |
| | | "dependencies": { |
| | | "@intlify/message-compiler": "9.8.0", |
| | | "@intlify/shared": "9.8.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 16" |
| | | } |
| | | }, |
| | | "node_modules/@intlify/message-compiler": { |
| | | "version": "9.8.0", |
| | | "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.8.0.tgz", |
| | | "integrity": "sha512-McnYWhcoYmDJvssVu6QGR0shqlkJuL1HHdi5lK7fNqvQqRYaQ4lSLjYmZxwc8tRNMdIe9/KUKfyPxU9M6yCtNQ==", |
| | | "dependencies": { |
| | | "@intlify/shared": "9.8.0", |
| | | "source-map-js": "^1.0.2" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 16" |
| | | } |
| | | }, |
| | | "node_modules/@intlify/shared": { |
| | | "version": "9.8.0", |
| | | "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-9.8.0.tgz", |
| | | "integrity": "sha512-TmgR0RCLjzrSo+W3wT0ALf9851iFMlVI9EYNGeWvZFUQTAJx0bvfsMlPdgVtV1tDNRiAfhkFsMKu6jtUY1ZLKQ==", |
| | | "engines": { |
| | | "node": ">= 16" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/gen-mapping": { |
| | | "version": "0.3.2", |
| | | "dev": true, |
| | |
| | | } |
| | | }, |
| | | "node_modules/@vue/devtools-api": { |
| | | "version": "6.4.5", |
| | | "license": "MIT" |
| | | "version": "6.5.1", |
| | | "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.5.1.tgz", |
| | | "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==" |
| | | }, |
| | | "node_modules/@vue/reactivity": { |
| | | "version": "3.2.45", |
| | |
| | | "eslint": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/vue-i18n": { |
| | | "version": "9.8.0", |
| | | "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.8.0.tgz", |
| | | "integrity": "sha512-Izho+6PYjejsTq2mzjcRdBZ5VLRQoSuuexvR8029h5CpN03FYqiqBrShMyf2I1DKkN6kw/xmujcbvC+4QybpsQ==", |
| | | "dependencies": { |
| | | "@intlify/core-base": "9.8.0", |
| | | "@intlify/shared": "9.8.0", |
| | | "@vue/devtools-api": "^6.5.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 16" |
| | | }, |
| | | "peerDependencies": { |
| | | "vue": "^3.0.0" |
| | | } |
| | | }, |
| | | "node_modules/vue-router": { |
| | | "version": "4.1.6", |
| | | "license": "MIT", |
| | |
| | | "version": "1.2.1", |
| | | "dev": true |
| | | }, |
| | | "@intlify/core-base": { |
| | | "version": "9.8.0", |
| | | "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.8.0.tgz", |
| | | "integrity": "sha512-UxaSZVZ1DwqC/CltUZrWZNaWNhfmKtfyV4BJSt/Zt4Or/fZs1iFj0B+OekYk1+MRHfIOe3+x00uXGQI4PbO/9g==", |
| | | "requires": { |
| | | "@intlify/message-compiler": "9.8.0", |
| | | "@intlify/shared": "9.8.0" |
| | | } |
| | | }, |
| | | "@intlify/message-compiler": { |
| | | "version": "9.8.0", |
| | | "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.8.0.tgz", |
| | | "integrity": "sha512-McnYWhcoYmDJvssVu6QGR0shqlkJuL1HHdi5lK7fNqvQqRYaQ4lSLjYmZxwc8tRNMdIe9/KUKfyPxU9M6yCtNQ==", |
| | | "requires": { |
| | | "@intlify/shared": "9.8.0", |
| | | "source-map-js": "^1.0.2" |
| | | } |
| | | }, |
| | | "@intlify/shared": { |
| | | "version": "9.8.0", |
| | | "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-9.8.0.tgz", |
| | | "integrity": "sha512-TmgR0RCLjzrSo+W3wT0ALf9851iFMlVI9EYNGeWvZFUQTAJx0bvfsMlPdgVtV1tDNRiAfhkFsMKu6jtUY1ZLKQ==" |
| | | }, |
| | | "@jridgewell/gen-mapping": { |
| | | "version": "0.3.2", |
| | | "dev": true, |
| | |
| | | } |
| | | }, |
| | | "@vue/devtools-api": { |
| | | "version": "6.4.5" |
| | | "version": "6.5.1", |
| | | "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.5.1.tgz", |
| | | "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==" |
| | | }, |
| | | "@vue/reactivity": { |
| | | "version": "3.2.45", |
| | |
| | | "semver": "^7.3.6" |
| | | } |
| | | }, |
| | | "vue-i18n": { |
| | | "version": "9.8.0", |
| | | "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.8.0.tgz", |
| | | "integrity": "sha512-Izho+6PYjejsTq2mzjcRdBZ5VLRQoSuuexvR8029h5CpN03FYqiqBrShMyf2I1DKkN6kw/xmujcbvC+4QybpsQ==", |
| | | "requires": { |
| | | "@intlify/core-base": "9.8.0", |
| | | "@intlify/shared": "9.8.0", |
| | | "@vue/devtools-api": "^6.5.0" |
| | | } |
| | | }, |
| | | "vue-router": { |
| | | "version": "4.1.6", |
| | | "requires": { |
| | |
| | | "element-plus": "^2.4.3", |
| | | "pinia": "^2.0.26", |
| | | "vue": "^3.2.45", |
| | | "vue-i18n": "^9.8.0", |
| | | "vue-router": "^4.1.6" |
| | | }, |
| | | "devDependencies": { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import { $fytz } from '../index'; |
| | | |
| | | /** |
| | | * ä¿¡ç¨è¯ä¼°APIæ¥å£ |
| | | */ |
| | | export default { |
| | | /** |
| | | * ä¸è½½ç¨æ·ç¯ä¿¡ç |
| | | * @param {*} userId |
| | | */ |
| | | downloadCode(userId) { |
| | | return $fytz |
| | | .get(`credit/ecCode/download?userId=${userId}`, { responseType: 'blob' }) |
| | | .then((res) => { |
| | | const url = window.URL.createObjectURL(new Blob([res.data])); |
| | | const link = document.createElement('a'); |
| | | link.href = url; |
| | | link.setAttribute('download', 'creditCode.png'); |
| | | document.body.appendChild(link); |
| | | link.click(); |
| | | document.body.removeChild(link); |
| | | window.URL.revokeObjectURL(url); |
| | | }); |
| | | } |
| | | }; |
| | |
| | | //é£ç¾½ç管 |
| | | const $fysp = axios.create({ |
| | | baseURL: ip1, |
| | | timeout: 10000 |
| | | timeout: 20000 |
| | | }); |
| | | $fysp.imgUrl = `${ip1_file}images/`; |
| | | $fysp.downloadUrl = `${ip1_file}files/`; |
| | |
| | | //é£ç¾½ç¯å¢ |
| | | const $fytz = axios.create({ |
| | | baseURL: ip2, |
| | | timeout: 10000 |
| | | timeout: 20000 |
| | | }); |
| | | $fytz.imgUrl = `${ip2_file}images/`; |
| | | |
| | |
| | | ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem'] |
| | | ElDivider: typeof import('element-plus/es')['ElDivider'] |
| | | ElDrawer: typeof import('element-plus/es')['ElDrawer'] |
| | | ElDropdown: typeof import('element-plus/es')['ElDropdown'] |
| | | ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] |
| | | ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] |
| | | ElEmpty: typeof import('element-plus/es')['ElEmpty'] |
| | | ElForm: typeof import('element-plus/es')['ElForm'] |
| | | ElFormItem: typeof import('element-plus/es')['ElFormItem'] |
| | |
| | | } |
| | | |
| | | const allRules = computed(()=>{ |
| | | return {...baseRules.value, ...props.rules} |
| | | return {...baseRules, ...props.rules} |
| | | }) |
| | | |
| | | //çå¬è¡¨ååå§æ°æ®ä¼ å
¥ |
| | |
| | | :options="locations" |
| | | :placeholder="placeholder" |
| | | :props="optionProps" |
| | | style="width: 280px" |
| | | style="width: 320px" |
| | | /> |
| | | </el-form-item> |
| | | </template> |
| | |
| | | }, |
| | | computed: { |
| | | placeholder() { |
| | | const list = 'ç/å¸/åº/é'.split('/'); |
| | | const list = 'ç/å¸/åº/é/é/ç©'.split('/'); |
| | | const p = []; |
| | | for (let i = 0; i < this.level; i++) { |
| | | p.push(list[i]); |
| | |
| | | dCode: null, |
| | | dName: null, |
| | | tCode: null, |
| | | tName: null |
| | | tName: null, |
| | | aCode: null, |
| | | aName: null, |
| | | mCode: null, |
| | | mName: null, |
| | | }; |
| | | if (val.length > 0) { |
| | | res.pCode = val[0][0]; |
| | |
| | | res.tCode = val[3][0]; |
| | | res.tName = val[3][1]; |
| | | } |
| | | if (val.length > 4) { |
| | | res.aCode = val[4][0]; |
| | | res.aName = val[4][1]; |
| | | } |
| | | if (val.length > 5) { |
| | | res.mCode = val[5][0]; |
| | | res.mName = val[5][1]; |
| | | } |
| | | return res; |
| | | }, |
| | | optionFormatReverse(val) { |
| | |
| | | if (val.tName) { |
| | | res.push([val.tCode, val.tName]); |
| | | } |
| | | if (val.aName) { |
| | | res.push([val.aCode, val.aName]); |
| | | } |
| | | if (val.mName) { |
| | | res.push([val.mCode, val.mName]); |
| | | } |
| | | } |
| | | return res; |
| | | } |
| | |
| | | { label: '髿°åº', value: ['310116503', '髿°åº'] }, |
| | | { label: 'éå±±å«é', value: ['310116109', 'éå±±å«é'] }, |
| | | { label: 'æ¼æ³¾é', value: ['310116112', 'æ¼æ³¾é'] }, |
| | | { label: 'å±±é³é', value: ['310116113', 'å±±é³é'] }, |
| | | { label: 'å±±é³é', value: ['310116113', 'å±±é³é'] , children:[ |
| | | { |
| | | label: 'ä¸è¾¾å¹¿åº', |
| | | value: ['31011611301', 'ä¸è¾¾å¹¿åº'], |
| | | }, |
| | | ]}, |
| | | { label: 'ç³åè¡é', value: ['310116001', 'ç³åè¡é'] }, |
| | | { label: 'æ±æ³¾é', value: ['310116101', 'æ±æ³¾é'] }, |
| | | { label: 'æ«æ³¾é', value: ['310116102', 'æ«æ³¾é'] }, |
| | |
| | | { label: 'æ«æè·¯è¡é', value: ['310104008', 'æ«æè·¯è¡é'] }, |
| | | { label: 'æåè·¯è¡é', value: ['310104007', 'æåè·¯è¡é'] }, |
| | | { label: 'é¿æ¡¥è¡é', value: ['310104010', 'é¿æ¡¥è¡é'] }, |
| | | { label: 'ç°æè¡é', value: ['310104011', 'ç°æè¡é'] }, |
| | | { label: 'ç°æè¡é', value: ['310104011', 'ç°æè¡é'] , children:[ |
| | | { |
| | | label: 'ç°å°å', |
| | | value: ['31010401101', 'ç°å°å'], |
| | | }, |
| | | ]}, |
| | | { label: 'åº·å¥æ°æè¡é', value: ['310104013', 'åº·å¥æ°æè¡é'] }, |
| | | { label: 'å¾å®¶æ±è¡é', value: ['310104014', 'å¾å®¶æ±è¡é'] }, |
| | | { label: 'å¾å®¶æ±è¡é', value: ['310104014', 'å¾å®¶æ±è¡é'] , children:[ |
| | | { |
| | | label: '天饿¡¥', |
| | | value: ['31010401401', '天饿¡¥'], |
| | | }, |
| | | ]}, |
| | | { label: 'åäºè·¯è¡é', value: ['310104015', 'åäºè·¯è¡é'] }, |
| | | { label: 'é¾åè¡é', value: ['310104016', 'é¾åè¡é'] }, |
| | | { label: 'æ¼æ²³æ³¾è¡é', value: ['310104017', 'æ¼æ²³æ³¾è¡é'] }, |
| | |
| | | label: 'éå®åº', |
| | | value: ['310106', 'éå®åº'], |
| | | children: [ |
| | | { label: '大å®è·¯è¡é', value: ['310106019', '大å®è·¯è¡é'] }, |
| | | { label: '大å®è·¯è¡é', value: ['310106019', '大å®è·¯è¡é'] , children:[ |
| | | { |
| | | label: 'ä¹
å
ä¸å¿', |
| | | value: ['31010601901', 'ä¹
å
ä¸å¿'], |
| | | }, |
| | | ]}, |
| | | { label: '彿µ¦æ°æè¡é', value: ['310106020', '彿µ¦æ°æè¡é'] }, |
| | | { label: '临汾路è¡é', value: ['310106021', '临汾路è¡é'] }, |
| | | { label: 'è·æ±è¥¿è·¯è¡é', value: ['310106022', 'è·æ±è¥¿è·¯è¡é'] }, |
| | | { label: '彿µ¦é', value: ['310106101', '彿µ¦é'] }, |
| | | { label: '彿µ¦é', value: ['310106101', '彿µ¦é'] , children:[ |
| | | { |
| | | label: '大èå', |
| | | value: ['31010610101', '大èå'], |
| | | }, |
| | | ]}, |
| | | { label: 'æ±å®è·¯è¡é', value: ['310106006', 'æ±å®è·¯è¡é'] }, |
| | | { label: 'ç³é¨äºè·¯è¡é', value: ['310106011', 'ç³é¨äºè·¯è¡é'] }, |
| | | { label: 'å京西路è¡é', value: ['310106012', 'å京西路è¡é'] }, |
| | | { label: 'å京西路è¡é', value: ['310106012', 'å京西路è¡é'] , children:[ |
| | | { |
| | | label: 'X88', |
| | | value: ['31010601201', 'X88'], |
| | | }, |
| | | ]}, |
| | | { label: 'éå®å¯ºè¡é', value: ['310106013', 'éå®å¯ºè¡é'] }, |
| | | { label: 'æ¹å®¶æ¸¡è¡é', value: ['310106014', 'æ¹å®¶æ¸¡è¡é'] }, |
| | | { label: 'æ¹å®¶æ¸¡è¡é', value: ['310106014', 'æ¹å®¶æ¸¡è¡é'] , children:[ |
| | | { |
| | | label: '889', |
| | | value: ['31010601401', '889'], |
| | | }, |
| | | ]}, |
| | | { label: '天ç®è¥¿è·¯è¡é', value: ['310106015', '天ç®è¥¿è·¯è¡é'] }, |
| | | { label: 'åç«è¡é', value: ['310106016', 'åç«è¡é'] }, |
| | | { label: 'åç«è¡é', value: ['310106016', 'åç«è¡é'] , children:[ |
| | | { |
| | | label: '大æ¦å', |
| | | value: ['31010601601', '大æ¦å'], |
| | | }, |
| | | ]}, |
| | | { label: 'å®å±±è·¯è¡é', value: ['310106017', 'å®å±±è·¯è¡é'] }, |
| | | { label: 'å
±åæ°è·¯è¡é', value: ['310106018', 'å
±åæ°è·¯è¡é'] }, |
| | | ], |
| | |
| | | <template #options> |
| | | <FYOptionLocation |
| | | :allOption="true" |
| | | :level="4" |
| | | :level="5" |
| | | v-model:value="formSearch._locations" |
| | | ></FYOptionLocation> |
| | | <FYOptionText |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="userInfo.acountname" label="è´¦å·" width="110" /> |
| | | <el-table-column prop="sceneTypeName" label="ç±»å" width="130" /> |
| | | <el-table-column prop="biProvinceName" label="ç" width="90" /> |
| | | <el-table-column prop="biCityName" label="å¸" width="90" /> |
| | | <el-table-column prop="sceneTypeName" label="ç±»å" width="100" /> |
| | | <el-table-column prop="biProvinceName" label="ç" width="80" /> |
| | | <el-table-column prop="biCityName" label="å¸" width="80" /> |
| | | <!-- <el-table-column prop="districtname" label="åºå¿" width="90" /> --> |
| | | <el-table-column prop="userInfo.extension1" label="åºå¿" width="90" /> |
| | | <el-table-column prop="userInfo.extension1" label="åºå¿" width="80" /> |
| | | <el-table-column prop="biTownName" label="è¡é" width="110" /> |
| | | <el-table-column prop="biArea" label="éä¸åº" width="110" /> |
| | | <el-table-column prop="biManagementCompany" label="ç©ä¸" min-width="110" /> |
| | | <el-table-column prop="userInfo.isenable" label="ç¶æ" width="90"> |
| | | <template #default="scope"> |
| | | {{ scope.row.userInfo.isenable ? 'ä¸çº¿ä¸' : 'å·²ä¸çº¿' }} |
| | | <template #default="{ row }"> |
| | | {{ row.userInfo.isenable ? 'ä¸çº¿ä¸' : 'å·²ä¸çº¿' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="userInfo.usertype" label="ç¨æ·ç±»å" width="90" /> |
| | | <el-table-column fixed="right" align="right" label="æä½" width="160"> |
| | | <el-table-column fixed="right" align="right" label="æä½" width="190"> |
| | | <template #header> |
| | | <el-button icon="DocumentAdd" size="default" type="success" @click="drawer = true" |
| | | >æ°å¢ç¨æ·</el-button |
| | | > |
| | | </template> |
| | | <template #default="scope"> |
| | | <el-button |
| | | :loading="scope.row.loading1" |
| | | type="primary" |
| | | size="small" |
| | | @click="editRow(scope)" |
| | | >æ¥ç</el-button |
| | | > |
| | | <el-button |
| | | :loading="scope.row.loading2" |
| | | :type="scope.row.userInfo.isenable != '0' ? 'danger' : 'primary'" |
| | | size="small" |
| | | @click="itemActive(scope)" |
| | | >{{ scope.row.userInfo.isenable != '0' ? 'ä¸çº¿' : 'ä¸çº¿' }}</el-button |
| | | > |
| | | <template #default="{ row }"> |
| | | <el-space> |
| | | <!-- <el-button :loading="row.loading1" type="primary" size="small" @click="editRow(row)" |
| | | >æ¥ç</el-button |
| | | > --> |
| | | <el-button |
| | | :loading="row.loading2" |
| | | :type="row.userInfo.isenable != '0' ? 'danger' : 'primary'" |
| | | size="small" |
| | | @click="itemActive(row)" |
| | | >{{ row.userInfo.isenable != '0' ? 'ä¸çº¿' : 'ä¸çº¿' }}</el-button |
| | | > |
| | | <el-dropdown |
| | | split-button |
| | | :loading="row.loading1" |
| | | size="small" |
| | | type="primary" |
| | | @click="editRow(row)" |
| | | @command="handleCommand" |
| | | trigger="click" |
| | | > |
| | | æ¥ç |
| | | <template #dropdown> |
| | | <el-dropdown-menu> |
| | | <el-dropdown-item icon="Download" :command="{ c: 1, p: row }" |
| | | >ä¸è½½ç¯ä¿¡ç </el-dropdown-item |
| | | > |
| | | </el-dropdown-menu> |
| | | </template> |
| | | </el-dropdown> |
| | | </el-space> |
| | | </template> |
| | | </el-table-column> |
| | | </template> |
| | |
| | | |
| | | <script> |
| | | import userApi from '@/api/fytz/userApi'; |
| | | import creditApi from '@/api/fytz/creditApi'; |
| | | import { useLoadingStore } from '@/stores/loadingStore'; |
| | | import { mapStores } from 'pinia'; |
| | | import { useMessageBoxTip } from '@/composables/messageBox'; |
| | |
| | | } |
| | | }); |
| | | }, |
| | | editRow(scope) { |
| | | scope.row.loading1 = true; |
| | | this.loadingStore.pushLoading(() => (scope.row.loading1 = false)); |
| | | this.$router.push(`userEdit/${scope.row.userInfo.guid}`); |
| | | editRow(row) { |
| | | row.loading1 = true; |
| | | this.loadingStore.pushLoading(() => (row.loading1 = false)); |
| | | this.$router.push(`userEdit/${row.userInfo.guid}`); |
| | | }, |
| | | itemActive(scope) { |
| | | itemActive(row) { |
| | | const param = { |
| | | guid: scope.row.userInfo.guid, |
| | | isenable: !scope.row.userInfo.isenable |
| | | guid: row.userInfo.guid, |
| | | isenable: !row.userInfo.isenable |
| | | }; |
| | | const msg = scope.row.userInfo.isenable ? 'ä¸çº¿' : 'ä¸çº¿'; |
| | | const msg = row.userInfo.isenable ? 'ä¸çº¿' : 'ä¸çº¿'; |
| | | useMessageBoxTip({ |
| | | confirmMsg: `确认${msg}è¯¥åºæ¯ï¼`, |
| | | confirmTitle: msg, |
| | | onConfirm: async () => { |
| | | scope.row.loading2 = true; |
| | | row.loading2 = true; |
| | | return userApi |
| | | .updateUserInfo(param) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | scope.row.userInfo.isenable = param.isenable; |
| | | row.userInfo.isenable = param.isenable; |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | scope.row.loading2 = false; |
| | | row.loading2 = false; |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | tableRowClassName({ row }) { |
| | | return row.userInfo.isenable ? 'online-row' : 'offline-row'; |
| | | }, |
| | | handleCommand(e){ |
| | | const userId = e.p.userInfo.guid |
| | | switch (e.c) { |
| | | // ä¸è½½ç¯ä¿¡ç |
| | | case 1: |
| | | creditApi.downloadCode(userId) |
| | | break; |
| | | |
| | | default: |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | }; |
| | |
| | | v-if="create" |
| | | prop="_locations" |
| | | :allOption="false" |
| | | :level="4" |
| | | :checkStrictly="false" |
| | | :level="5" |
| | | :checkStrictly="true" |
| | | :initValue="false" |
| | | v-model:value="formObj._locations" |
| | | ></FYOptionLocation> |
| | |
| | | function parseUserInfoReverse(formObj) { |
| | | // è¡æ¿åºåä¿¡æ¯å¡«å
|
| | | const a = formObj.value._locations; |
| | | formObj.value.provincecode = a.pCode; |
| | | formObj.value.provincename = a.pName; |
| | | formObj.value.citycode = a.cCode; |
| | | formObj.value.cityname = a.cName; |
| | | formObj.value.districtcode = a.dCode; |
| | | formObj.value.extension1 = a.dName; |
| | | formObj.value.towncode = a.tCode; |
| | | formObj.value.townname = a.tName; |
| | | // ç¨æ·ç±»åä¿¡æ¯å¡«å
|
| | | const b = formObj.value._usertype; |
| | | formObj.value.usertypeid = b.value; |
| | |
| | | } |
| | | |
| | | function createUser(formObj, success, fail) { |
| | | const l = formObj.value._locations; |
| | | const params = { |
| | | userInfo: formObj.value, |
| | | baseInfo: { |
| | | biProvinceCode: formObj.value.provincecode, |
| | | biProvinceName: formObj.value.provincename, |
| | | biCityCode: formObj.value.citycode, |
| | | biCityName: formObj.value.cityname, |
| | | biDistrictCode: formObj.value.districtcode, |
| | | biDistrictName: formObj.value.extension1, |
| | | biTownCode: formObj.value.towncode, |
| | | biTownName: formObj.value.townname |
| | | // biAreaCode |
| | | // biArea |
| | | // biManagementCompanyId |
| | | // biManagementCompany |
| | | biProvinceCode: l.pCode, |
| | | biProvinceName: l.pName, |
| | | biCityCode: l.cCode, |
| | | biCityName: l.cName, |
| | | biDistrictCode: l.dCode, |
| | | biDistrictName: l.dName, |
| | | biTownCode: l.tCode, |
| | | biTownName: l.tName, |
| | | biAreaCode: l.aCode, |
| | | biArea: l.aName, |
| | | // biManagementCompanyId: |
| | | // biManagementCompany: |
| | | // biContact |
| | | // biTelephone |
| | | // biAddress |