Commit ed5c95b7 authored by TZW's avatar TZW

1215

parent bec6748f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: Li Hanlin * @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56 * @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin * @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-14 15:00:29 * @Last Modified time: 2022-12-15 09:49:39
*/ */
import * as React from 'react'; import * as React from 'react';
...@@ -868,7 +868,7 @@ function Model(props) { ...@@ -868,7 +868,7 @@ function Model(props) {
key: 'productLineName', key: 'productLineName',
align: 'center', align: 'center',
options: { options: {
path: 'auth/sysProductionLine/getAllProductLineSelectionByShop', path: '/auth/sysProductionLine/getAllProductLineSelectionByShop',
linkParams: { linkParams: {
shopId: '', shopId: '',
}, },
...@@ -970,7 +970,7 @@ function Model(props) { ...@@ -970,7 +970,7 @@ function Model(props) {
key: 'productLineName', key: 'productLineName',
align: 'center', align: 'center',
options: { options: {
path: 'auth/sysProductionLine/getAllProductLineSelectionByShop', path: '/auth/sysProductionLine/getAllProductLineSelectionByShop',
linkParams: { linkParams: {
shopId: '', shopId: '',
}, },
...@@ -1231,7 +1231,7 @@ function Model(props) { ...@@ -1231,7 +1231,7 @@ function Model(props) {
key: 'productLineName', key: 'productLineName',
align: 'center', align: 'center',
options: { options: {
path: 'auth/sysProductionLine/getAllProductLineSelectionByShop', path: '/auth/sysProductionLine/getAllProductLineSelectionByShop',
linkParams: { linkParams: {
shopId: '', shopId: '',
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: Li Hanlin * @Author: Li Hanlin
* @Date: 2022-11-09 14:44:44 * @Date: 2022-11-09 14:44:44
* @Last Modified by: Li Hanlin * @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-14 09:56:26 * @Last Modified time: 2022-12-15 09:46:05
*/ */
import * as React from 'react'; import * as React from 'react';
...@@ -137,20 +137,20 @@ function Role(props) { ...@@ -137,20 +137,20 @@ function Role(props) {
// }); // });
// //console.log(data); // //console.log(data);
//console.log(row); //console.log(row);
setdrawer((s) => ({ setDrawer((s) => ({
...s, ...s,
authorityOpen: true, authorityOpen: true,
item: row, item: row,
onFinish: async (vals) => { onFinish: async (vals) => {
//console.log(vals); //console.log(vals);
let res = await doFetch({ let res = await doFetch({
url: '/sysEnterprise/save', url: '/auth/sysPermission/queryAll',
params: { ...vals }, params: { ...vals },
}); });
//console.log(res); //console.log(res);
if (res.code === '0000') { if (res.code === '0000') {
message.success('修改成功!'); message.success('修改成功!');
setdrawer((s) => ({ setDrawer((s) => ({
...s, ...s,
visible: false, visible: false,
})); }));
...@@ -236,6 +236,7 @@ function Role(props) { ...@@ -236,6 +236,7 @@ function Role(props) {
valueType: 'option', valueType: 'option',
width: 150, width: 150,
render: (text, row, _, action) => [ render: (text, row, _, action) => [
authority(text, row, _, action),
edit(text, row, _, action), edit(text, row, _, action),
remove(text, row, _, action), remove(text, row, _, action),
detailPerson(text, row, _, action), detailPerson(text, row, _, action),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment